power_wind_dfig_avg.mdl
资源名称:DFIGFarm.rar [点击查看]
上传用户:sdgangguan
上传日期:2017-10-18
资源大小:179k
文件大小:328k
源码类别:
能源行业(电力石油煤炭)
开发平台:
Matlab
- BlockType Product
- Name "Product5"
- Ports [2, 1]
- Position [520, 594, 535, 656]
- ShowName off
- InputSameDT off
- RndMeth "Floor"
- }
- Block {
- BlockType Product
- Name "Product6"
- Ports [2, 1]
- Position [520, 114, 535, 176]
- ShowName off
- InputSameDT off
- RndMeth "Floor"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [295, 255, 325, 285]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- Port {
- PortNumber 1
- Name "w-wr"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Sum
- Name "Sum2"
- Ports [3, 1]
- Position [615, 236, 630, 294]
- ShowName off
- Inputs "+--"
- }
- Block {
- BlockType Sum
- Name "Sum3"
- Ports [2, 1]
- Position [325, 575, 355, 605]
- ShowName off
- IconShape "round"
- Inputs "-+|"
- }
- Block {
- BlockType Sum
- Name "Sum4"
- Ports [2, 1]
- Position [325, 350, 355, 380]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- }
- Block {
- BlockType Sum
- Name "Sum5"
- Ports [2, 1]
- Position [700, 336, 715, 374]
- ShowName off
- }
- Block {
- BlockType Sum
- Name "Sum6"
- Ports [3, 1]
- Position [615, 466, 630, 524]
- ShowName off
- Inputs "+++"
- }
- Block {
- BlockType Sum
- Name "Sum7"
- Ports [2, 1]
- Position [700, 387, 715, 423]
- ShowName off
- }
- Block {
- BlockType Outport
- Name "Vdq*"
- Position [825, 378, 855, 392]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Idq_r"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Sum4"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 1
- }
- Line {
- SrcBlock "Sum3"
- SrcPort 1
- Points [60, 0; 0, -195]
- DstBlock "Mux1"
- DstPort 2
- }
- Line {
- Name "Idr*"
- Labels [1, 0]
- SrcBlock "Demux1"
- SrcPort 1
- Points [55, 0]
- Branch {
- DstBlock "Sum4"
- DstPort 1
- }
- Branch {
- Points [0, -30]
- DstBlock "Goto3"
- DstPort 1
- }
- }
- Line {
- Name "Iqr*"
- SrcBlock "Demux1"
- SrcPort 2
- Points [35, 0; 0, 205; 20, 0]
- Branch {
- Labels [1, 0]
- DstBlock "Sum3"
- DstPort 2
- }
- Branch {
- Points [0, 30]
- DstBlock "Goto2"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "DiscretenPI Controller"
- DstPort 1
- }
- Line {
- SrcBlock "Idq_s"
- SrcPort 1
- DstBlock "Demux2"
- DstPort 1
- }
- Line {
- SrcBlock "Divide3"
- SrcPort 1
- DstBlock "Sum1"
- DstPort 1
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- Points [35, 0]
- DstBlock "Sum1"
- DstPort 2
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 1
- DstBlock "Goto4"
- DstPort 1
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 2
- DstBlock "Goto5"
- DstPort 1
- }
- Line {
- Name "w-wr"
- Labels [0, 0]
- SrcBlock "Sum1"
- SrcPort 1
- DstBlock "Goto1"
- DstPort 1
- }
- Line {
- SrcBlock "From2"
- SrcPort 1
- DstBlock "Product2"
- DstPort 1
- }
- Line {
- SrcBlock "Llr+Lm1"
- SrcPort 1
- DstBlock "Product2"
- DstPort 2
- }
- Line {
- SrcBlock "From3"
- SrcPort 1
- DstBlock "Product1"
- DstPort 3
- }
- Line {
- SrcBlock "From4"
- SrcPort 1
- DstBlock "Product1"
- DstPort 1
- }
- Line {
- SrcBlock "Lm1"
- SrcPort 1
- DstBlock "Product1"
- DstPort 2
- }
- Line {
- SrcBlock "From6"
- SrcPort 1
- DstBlock "Product3"
- DstPort 1
- }
- Line {
- SrcBlock "Llr+Lm2"
- SrcPort 1
- DstBlock "Product3"
- DstPort 2
- }
- Line {
- SrcBlock "From7"
- SrcPort 1
- DstBlock "Product4"
- DstPort 3
- }
- Line {
- SrcBlock "From8"
- SrcPort 1
- DstBlock "Product4"
- DstPort 1
- }
- Line {
- SrcBlock "Lm2"
- SrcPort 1
- DstBlock "Product4"
- DstPort 2
- }
- Line {
- SrcBlock "Sum7"
- SrcPort 1
- Points [45, 0; 0, -10]
- DstBlock "Mux2"
- DstPort 2
- }
- Line {
- SrcBlock "Mux2"
- SrcPort 1
- DstBlock "Vdq*"
- DstPort 1
- }
- Line {
- SrcBlock "Product4"
- SrcPort 1
- Points [25, 0; 0, -55]
- DstBlock "Sum6"
- DstPort 2
- }
- Line {
- SrcBlock "Lm3"
- SrcPort 1
- DstBlock "Product5"
- DstPort 1
- }
- Line {
- SrcBlock "Lm4"
- SrcPort 1
- DstBlock "Product6"
- DstPort 1
- }
- Line {
- SrcBlock "Product1"
- SrcPort 1
- DstBlock "Sum2"
- DstPort 3
- }
- Line {
- SrcBlock "DiscretenPI Controller"
- SrcPort 1
- DstBlock "Demux3"
- DstPort 1
- }
- Line {
- SrcBlock "Idqr_ref"
- SrcPort 1
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- Name "Idr"
- Labels [0, 0]
- SrcBlock "Demux"
- SrcPort 1
- Points [100, 0]
- DstBlock "Sum4"
- DstPort 2
- }
- Line {
- Name "Iqr"
- Labels [0, 0]
- SrcBlock "Demux"
- SrcPort 2
- Points [100, 0]
- DstBlock "Sum3"
- DstPort 1
- }
- Line {
- SrcBlock "From10"
- SrcPort 1
- DstBlock "Product6"
- DstPort 2
- }
- Line {
- SrcBlock "From1"
- SrcPort 1
- DstBlock "Product2"
- DstPort 3
- }
- Line {
- SrcBlock "From9"
- SrcPort 1
- DstBlock "Product5"
- DstPort 2
- }
- Line {
- SrcBlock "From5"
- SrcPort 1
- DstBlock "Product3"
- DstPort 3
- }
- Line {
- SrcBlock "Product6"
- SrcPort 1
- Points [60, 0]
- DstBlock "Sum2"
- DstPort 1
- }
- Line {
- SrcBlock "Product2"
- SrcPort 1
- Points [30, 0; 0, 50]
- DstBlock "Sum2"
- DstPort 2
- }
- Line {
- SrcBlock "Product3"
- SrcPort 1
- DstBlock "Sum6"
- DstPort 1
- }
- Line {
- SrcBlock "Product5"
- SrcPort 1
- Points [60, 0]
- DstBlock "Sum6"
- DstPort 3
- }
- Line {
- SrcBlock "Sum2"
- SrcPort 1
- Points [50, 0]
- DstBlock "Sum5"
- DstPort 1
- }
- Line {
- SrcBlock "Sum5"
- SrcPort 1
- Points [45, 0; 0, 15]
- DstBlock "Mux2"
- DstPort 1
- }
- Line {
- SrcBlock "Freq"
- SrcPort 1
- DstBlock "Divide3"
- DstPort 1
- }
- Line {
- SrcBlock "Fnom"
- SrcPort 1
- Points [10, 0; 0, -25]
- DstBlock "Divide3"
- DstPort 2
- }
- Line {
- Name "vd'"
- Labels [0, 0]
- SrcBlock "Demux3"
- SrcPort 1
- DstBlock "Sum5"
- DstPort 2
- }
- Line {
- Name "vq'"
- Labels [0, 0]
- SrcBlock "Demux3"
- SrcPort 2
- DstBlock "Sum7"
- DstPort 1
- }
- Line {
- SrcBlock "Sum6"
- SrcPort 1
- Points [50, 0]
- DstBlock "Sum7"
- DstPort 2
- }
- Annotation {
- Name "Current regulator"
- Position [507, 26]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 14
- FontWeight "bold"
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "IdqnMutual fluxnReference frame"
- Ports [3, 2]
- Position [450, 394, 540, 466]
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "IdqnMutual fluxnReference frame"
- Location [189, 110, 702, 405]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "angle_phim"
- Position [165, 123, 195, 137]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Idq_r"
- Position [15, 58, 45, 72]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Idq_s"
- Position [15, 188, 45, 202]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType ComplexToMagnitudeAngle
- Name "Complex tonMagnitude-Angle"
- Ports [1, 2]
- Position [160, 48, 190, 77]
- ShowName off
- Output "Magnitude and angle"
- }
- Block {
- BlockType ComplexToMagnitudeAngle
- Name "Complex tonMagnitude-Angle1"
- Ports [1, 2]
- Position [160, 178, 190, 207]
- ShowName off
- Output "Magnitude and angle"
- }
- Block {
- BlockType ComplexToRealImag
- Name "Complex tonReal-Imag"
- Ports [1, 2]
- Position [325, 48, 355, 77]
- ShowName off
- Output "Real and imag"
- }
- Block {
- BlockType ComplexToRealImag
- Name "Complex tonReal-Imag1"
- Ports [1, 2]
- Position [325, 178, 355, 207]
- ShowName off
- Output "Real and imag"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 2]
- Position [70, 46, 75, 79]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType Demux
- Name "Demux1"
- Ports [1, 2]
- Position [70, 176, 75, 209]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType MagnitudeAngleToComplex
- Name "Magnitude-Anglento Complex"
- Ports [2, 1]
- Position [275, 47, 305, 78]
- ShowName off
- Input "Magnitude and angle"
- }
- Block {
- BlockType MagnitudeAngleToComplex
- Name "Magnitude-Anglento Complex1"
- Ports [2, 1]
- Position [275, 177, 305, 208]
- ShowName off
- Input "Magnitude and angle"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [385, 46, 390, 79]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [2, 1]
- Position [385, 176, 390, 209]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType RealImagToComplex
- Name "Real-Imag tonComplex"
- Ports [2, 1]
- Position [100, 48, 130, 77]
- ShowName off
- }
- Block {
- BlockType RealImagToComplex
- Name "Real-Imag tonComplex1"
- Ports [2, 1]
- Position [100, 178, 130, 207]
- ShowName off
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [230, 75, 250, 95]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [230, 205, 250, 225]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Outport
- Name "Idq_r "
- Position [420, 58, 450, 72]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Idq_s "
- Position [420, 188, 450, 202]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Real-Imag tonComplex1"
- SrcPort 1
- DstBlock "Complex tonMagnitude-Angle1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 2
- DstBlock "Real-Imag tonComplex1"
- DstPort 2
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 1
- DstBlock "Real-Imag tonComplex1"
- DstPort 1
- }
- Line {
- SrcBlock "Idq_s"
- SrcPort 1
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- SrcBlock "Magnitude-Anglento Complex1"
- SrcPort 1
- DstBlock "Complex tonReal-Imag1"
- DstPort 1
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- Points [0, -15]
- DstBlock "Magnitude-Anglento Complex1"
- DstPort 2
- }
- Line {
- SrcBlock "Complex tonMagnitude-Angle1"
- SrcPort 1
- DstBlock "Magnitude-Anglento Complex1"
- DstPort 1
- }
- Line {
- SrcBlock "Complex tonMagnitude-Angle1"
- SrcPort 2
- Points [0, 15]
- DstBlock "Sum1"
- DstPort 1
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "Idq_s "
- DstPort 1
- }
- Line {
- SrcBlock "Complex tonReal-Imag1"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 1
- }
- Line {
- SrcBlock "Complex tonReal-Imag1"
- SrcPort 2
- DstBlock "Mux1"
- DstPort 2
- }
- Line {
- SrcBlock "Real-Imag tonComplex"
- SrcPort 1
- DstBlock "Complex tonMagnitude-Angle"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Real-Imag tonComplex"
- DstPort 2
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- DstBlock "Real-Imag tonComplex"
- DstPort 1
- }
- Line {
- SrcBlock "Idq_r"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Magnitude-Anglento Complex"
- SrcPort 1
- DstBlock "Complex tonReal-Imag"
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [0, -15]
- DstBlock "Magnitude-Anglento Complex"
- DstPort 2
- }
- Line {
- SrcBlock "Complex tonMagnitude-Angle"
- SrcPort 1
- DstBlock "Magnitude-Anglento Complex"
- DstPort 1
- }
- Line {
- SrcBlock "angle_phim"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [0, 115; 30, 0]
- DstBlock "Sum1"
- DstPort 2
- }
- Branch {
- Points [30, 0]
- DstBlock "Sum"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Complex tonMagnitude-Angle"
- SrcPort 2
- Points [0, 15]
- DstBlock "Sum"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Idq_r "
- DstPort 1
- }
- Line {
- SrcBlock "Complex tonReal-Imag"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "Complex tonReal-Imag"
- SrcPort 2
- DstBlock "Mux"
- DstPort 2
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Mutual flux"
- Ports [2, 2]
- Position [320, 300, 410, 380]
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Mutual flux"
- Location [74, 582, 789, 812]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Idq_r"
- Position [30, 143, 60, 157]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Idq_s"
- Position [30, 68, 60, 82]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Saturate
- Name "0.5 inf"
- Position [485, 75, 515, 105]
- UpperLimit "inf"
- LowerLimit "0.5"
- }
- Block {
- BlockType Reference
- Name "Cartesian tonPolar"
- Ports [2, 2]
- Position [365, 73, 400, 142]
- SourceBlock "simulink_extras/Transformations/C"
- "artesian tonPolar"
- SourceType "Cart2Polar"
- ShowPortLabels on
- Port {
- PortNumber 1
- Name "magn_phim"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 2
- Name "angle_phim"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [205, 32, 230, 48]
- ShowName off
- Value "Lm"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 2]
- Position [85, 131, 90, 169]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType Demux
- Name "Demux1"
- Ports [1, 2]
- Position [85, 56, 90, 94]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType Product
- Name "Product1"
- Ports [2, 1]
- Position [265, 50, 285, 90]
- ShowName off
- RndMeth "Floor"
- Port {
- PortNumber 1
- Name "phidm"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Product
- Name "Product5"
- Ports [2, 1]
- Position [265, 120, 285, 160]
- ShowName off
- RndMeth "Floor"
- Port {
- PortNumber 1
- Name "phiqm"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [165, 51, 190, 104]
- ShowName off
- Port {
- PortNumber 1
- Name "idm"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Sum
- Name "Sum2"
- Ports [2, 1]
- Position [165, 121, 190, 174]
- ShowName off
- Port {
- PortNumber 1
- Name "iqm"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Outport
- Name "magn_phim"
- Position [545, 83, 575, 97]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "angle_phim"
- Position [545, 118, 575, 132]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- Name "magn_phim"
- Labels [0, 0]
- SrcBlock "Cartesian tonPolar"
- SrcPort 1
- DstBlock "0.5 inf"
- DstPort 1
- }
- Line {
- Name "phiqm"
- Labels [0, 0]
- SrcBlock "Product5"
- SrcPort 1
- Points [40, 0; 0, -15]
- DstBlock "Cartesian tonPolar"
- DstPort 2
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 1
- DstBlock "Sum1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [25, 0; 0, -50]
- DstBlock "Sum1"
- DstPort 2
- }
- Line {
- Name "idm"
- Labels [0, 0]
- SrcBlock "Sum1"
- SrcPort 1
- DstBlock "Product1"
- DstPort 2
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 2
- Points [50, 0; 0, 50]
- DstBlock "Sum2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Sum2"
- DstPort 2
- }
- Line {
- Name "iqm"
- Labels [0, 0]
- SrcBlock "Sum2"
- SrcPort 1
- DstBlock "Product5"
- DstPort 2
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- Points [10, 0; 0, 20]
- Branch {
- Points [0, 0]
- DstBlock "Product1"
- DstPort 1
- }
- Branch {
- Points [0, 70]
- DstBlock "Product5"
- DstPort 1
- }
- }
- Line {
- Name "phidm"
- Labels [0, 0]
- SrcBlock "Product1"
- SrcPort 1
- Points [40, 0; 0, 20]
- DstBlock "Cartesian tonPolar"
- DstPort 1
- }
- Line {
- SrcBlock "Idq_s"
- SrcPort 1
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- SrcBlock "Idq_r"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- Name "angle_phim"
- Labels [0, 0]
- SrcBlock "Cartesian tonPolar"
- SrcPort 2
- DstBlock "angle_phim"
- DstPort 1
- }
- Line {
- SrcBlock "0.5 inf"
- SrcPort 1
- DstBlock "magn_phim"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Mux
- Name "Mux3"
- Ports [2, 1]
- Position [815, 68, 820, 117]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType SubSystem
- Name "Priority Idr"
- Ports [1, 1]
- Position [840, 63, 920, 127]
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Priority Idr"
- Location [222, 127, 827, 563]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Idqr*"
- Position [25, 298, 55, 312]
- IconDisplay "Port number"
- }
- Block {
- BlockType Reference
- Name "Cartesian tonPolar"
- Ports [2, 2]
- Position [195, 265, 230, 345]
- SourceBlock "simulink_extras/Transformations/C"
- "artesian tonPolar"
- SourceType "Cart2Polar"
- ShowPortLabels on
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 2]
- Position [80, 267, 85, 343]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType Constant
- Name "Irotor_max^2"
- Position [150, 121, 185, 139]
- }
- Block {
- BlockType Math
- Name "MathnFunction"
- Ports [1, 1]
- Position [190, 189, 210, 211]
- ShowName off
- Operator "square"
- }
- Block {
- BlockType Math
- Name "MathnFunction1"
- Ports [1, 1]
- Position [265, 119, 285, 141]
- ShowName off
- Operator "sqrt"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [370, 371, 375, 409]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [2, 1]
- Position [370, 191, 375, 229]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [315, 106, 330, 124]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType RateLimiter
- Name "Rate Limiter"
- Position [475, 270, 505, 300]
- RisingSlewLimit "current_slew_rate"
- FallingSlewLimit "-current_slew_rate"
- }
- Block {
- BlockType Signum
- Name "Sign"
- Position [190, 86, 210, 104]
- ZeroCross off
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [225, 120, 245, 140]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [415, 270, 445, 300]
- Threshold "1"
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [250, 317, 260, 333]
- ShowName off
- }
- Block {
- BlockType Outport
- Name "Idqr_ref"
- Position [530, 278, 560, 292]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Idqr*"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Rate Limiter"
- SrcPort 1
- DstBlock "Idqr_ref"
- DstPort 1
- }
- Line {
- SrcBlock "Sign"
- SrcPort 1
- Points [85, 0]
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "MathnFunction1"
- SrcPort 1
- Points [10, 0]
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- DstBlock "Rate Limiter"
- DstPort 1
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- Points [10, 0; 0, 65]
- DstBlock "Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "MathnFunction1"
- DstPort 1
- }
- Line {
- SrcBlock "MathnFunction"
- SrcPort 1
- Points [20, 0]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "Irotor_max^2"
- SrcPort 1
- DstBlock "Sum"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- Points [10, 0; 0, -95]
- DstBlock "Switch"
- DstPort 3
- }
- Line {
- SrcBlock "Cartesian tonPolar"
- SrcPort 1
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "Cartesian tonPolar"
- SrcPort 2
- DstBlock "Terminator"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [0, 0; 60, 0]
- Branch {
- Points [20, 0]
- Branch {
- Points [0, 95]
- DstBlock "Mux"
- DstPort 1
- }
- Branch {
- DstBlock "Cartesian tonPolar"
- DstPort 1
- }
- }
- Branch {
- Points [0, -60]
- Branch {
- Points [0, -25]
- DstBlock "MathnFunction"
- DstPort 1
- }
- Branch {
- Points [135, 0; 0, -25]
- DstBlock "Mux1"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- Points [0, 0; 30, 0]
- Branch {
- Points [0, -230]
- DstBlock "Sign"
- DstPort 1
- }
- Branch {
- Points [40, 0]
- Branch {
- Points [0, 75]
- DstBlock "Mux"
- DstPort 2
- }
- Branch {
- DstBlock "Cartesian tonPolar"
- DstPort 2
- }
- }
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- Points [10, 0; 0, 105]
- DstBlock "Mux1"
- DstPort 2
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Q Regulator"
- Ports [2, 1]
- Position [685, 39, 780, 121]
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Q Regulator"
- Location [68, 699, 508, 862]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Q_ref"
- Position [15, 28, 45, 42]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Q_B1"
- Position [15, 88, 45, 102]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Reference
- Name "DiscretenPI Controller"
- Ports [1, 1]
- Position [200, 20, 230, 50]
- BackgroundColor "lightBlue"
- ShowName off
- SourceBlock "powerlib_extras/Discrete nContro"
- "l Blocks/DiscretenPI Controller"
- SourceType "Discrete PI Controller"
- ShowPortLabels on
- Kp "Kp_Q"
- Ki "Ki_Q"
- Par_Limits "[1 -1]"
- Init "0"
- Ts "Ts_Control"
- }
- Block {
- BlockType RateLimiter
- Name "Rate Limiter"
- Position [270, 24, 290, 46]
- RisingSlewLimit "current_slew_rate"
- FallingSlewLimit "-current_slew_rate"
- }
- Block {
- BlockType RateLimiter
- Name "Rate Limiter "
- Position [90, 25, 110, 45]
- RisingSlewLimit "Q_slew_rate"
- FallingSlewLimit "-Q_slew_rate"
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [150, 25, 170, 45]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- }
- Block {
- BlockType Outport
- Name "Idr*"
- Position [320, 28, 350, 42]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Rate Limiter "
- SrcPort 1
- DstBlock "Sum"
- DstPort 1
- }
- Line {
- SrcBlock "Rate Limiter"
- SrcPort 1
- Points [0, 0]
- DstBlock "Idr*"
- DstPort 1
- }
- Line {
- SrcBlock "Q_ref"
- SrcPort 1
- DstBlock "Rate Limiter "
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "DiscretenPI Controller"
- DstPort 1
- }
- Line {
- SrcBlock "Q_B1"
- SrcPort 1
- Points [110, 0]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "DiscretenPI Controller"
- SrcPort 1
- DstBlock "Rate Limiter"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [495, 520, 515, 540]
- ShowName off
- IconShape "round"
- Inputs "|++"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType SubSystem
- Name "Torque control"
- Ports [6, 1]
- Position [685, 205, 780, 335]
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Torque control"
- Location [46, 92, 762, 365]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "wr"
- Position [25, 48, 55, 62]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idqr"
- Position [25, 108, 55, 122]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idqs"
- Position [25, 78, 55, 92]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idq_grid_conv"
- Position [25, 138, 55, 152]
- Port "4"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Freq"
- Position [25, 168, 55, 182]
- Port "5"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "magn_phim"
- Position [310, 173, 340, 187]
- Port "6"
- IconDisplay "Port number"
- }
- Block {
- BlockType Product
- Name "Divide"
- Ports [2, 1]
- Position [385, 107, 415, 138]
- Inputs "*/"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- OutScaling "2^-10"
- RndMeth "Floor"
- SaturateOnIntegerOverflow off
- }
- Block {
- BlockType RateLimiter
- Name "Rate Limiter"
- Position [315, 100, 335, 130]
- RisingSlewLimit "torque_slew_rate"
- FallingSlewLimit "-torque_slew_rate"
- }
- Block {
- BlockType RateLimiter
- Name "Rate Limiter "
- Position [530, 110, 560, 140]
- RisingSlewLimit "current_slew_rate"
- FallingSlewLimit "-current_slew_rate"
- }
- Block {
- BlockType Saturate
- Name "Saturation"
- Position [455, 110, 485, 140]
- UpperLimit "1"
- LowerLimit "0"
- }
- Block {
- BlockType SubSystem
- Name "Subsystem"
- Ports [5, 1]
- Position [180, 34, 255, 196]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Subsystem"
- Location [7, 81, 1185, 654]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "wr"
- Position [35, 178, 65, 192]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idqs"
- Position [170, 438, 200, 452]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idqr"
- Position [170, 498, 200, 512]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idq_grid_conv"
- Position [170, 468, 200, 482]
- Port "4"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Freq"
- Position [170, 528, 200, 542]
- Port "5"
- IconDisplay "Port number"
- }
- Block {
- BlockType Saturate
- Name "0-1"
- Position [625, 125, 655, 155]
- UpperLimit "1"
- LowerLimit "0"
- }
- Block {
- BlockType Saturate
- Name "0-inf"
- Position [155, 80, 185, 110]
- UpperLimit "inf"
- LowerLimit "0"
- }
- Block {
- BlockType Saturate
- Name "0-inf "
- Position [840, 125, 870, 155]
- UpperLimit "inf"
- LowerLimit "0"
- }
- Block {
- BlockType Saturate
- Name "0-power_C"
- Position [400, 170, 430, 200]
- UpperLimit "power_C"
- LowerLimit "0"
- }
- Block {
- BlockType Saturate
- Name "1e-6-inf"
- Position [920, 245, 950, 275]
- Orientation "up"
- UpperLimit "inf"
- LowerLimit "1e-6"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [35, 80, 85, 110]
- Value "speed_C"
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [190, 325, 240, 355]
- Value "speed_A"
- }
- Block {
- BlockType Gain
- Name "Gain "
- Position [290, 169, 370, 201]
- Gain "power_C"
- }
- Block {
- BlockType SubSystem
- Name "Looses"
- Ports [5, 1]
- Position [255, 393, 370, 557]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Looses"
- Location [175, 268, 810, 533]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "wr"
- Position [30, 43, 60, 57]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idqs"
- Position [180, 88, 210, 102]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idq_grid_conv"
- Position [35, 208, 65, 222]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "idqr"
- Position [35, 153, 65, 167]
- Port "4"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Freq"
- Position [410, 23, 440, 37]
- Port "5"
- IconDisplay "Port number"
- }
- Block {
- BlockType Constant
- Name "Constant3"
- Position [125, 187, 165, 203]
- ShowName off
- Value "R_RL"
- }
- Block {
- BlockType SubSystem
- Name "DiscretenVariable FrequencynMea"
- "n value"
- Ports [3, 1]
- Position [480, 56, 540, 114]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "Discrete Variable-Frequency Mean "
- "Value"
- MaskDescription "This discrete block computes the "
- "mean value of the input signal (port In) over a running window of one cycle o"
- "f a specified frequency (port Freq). nnFor the first cycle of simulation (s"
- "pecified by the parameter "Initial frequency"), the ouput is held to the va"
- "lue of the "Initial input" parameter. nnThe value of the parameter "Min"
- "imum frequency" is used to determine the buffer size of the "Variable Trans"
- "port Delay" block found inside this subsystem.n"
- MaskPromptString "Initial frequency (Hz):|Minimum f"
- "requency (Hz):|Sample time:"
- MaskStyleString "edit,edit,edit"
- MaskTunableValueString "on,on,on"
- MaskCallbackString "||"
- MaskEnableString "on,on,on"
- MaskVisibilityString "on,on,on"
- MaskToolTipString "on,on,on"
- MaskVarAliasString ",,"
- MaskVariables "Finit=@1;Fmin=@2;Ts=@3;"
- MaskInitialization "MaxDelay=1/Fmin+Ts;"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "Fnom|45|Ts_Control"
- MaskTabNameString ",,"
- System {
- Name "DiscretenVariable FrequencynMea"
- "n value"
- Location [84, 160, 847, 680]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Freq"
- Position [20, 218, 50, 232]
- IconDisplay "Port number"
- PortDimensions "1"
- Port {
- PortNumber 1
- Name "Freq"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Inport
- Name "In"
- Position [15, 143, 45, 157]
- Port "2"
- IconDisplay "Port number"
- PortDimensions "1"
- Port {
- PortNumber 1
- Name "In"
- PropagatedSignals "Looses"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Inport
- Name "Init"
- Position [595, 253, 625, 267]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Reference
- Name "Correctionnsubsystem"
- Ports [3, 1]
- Position [370, 368, 410, 432]
- DropShadow on
- SourceBlock "powerlib_extras/DiscretenMeasure"
- "ments/DiscretenVariable FrequencynMean value/Correctionnsubsystem"
- SourceType "SubSystem"
- ShowPortLabels on
- }
- Block {
- BlockType Reference
- Name "Discrete VariablenTransport Dela"
- "y"
- Ports [2, 1]
- Position [210, 138, 250, 182]
- NamePlacement "alternate"
- SourceBlock "powerlib_extras/Discrete nContro"
- "l Blocks/Discrete VariablenTransport Delay"
- SourceType "Discrete variable transport delay"
- ShowPortLabels on
- MaxDelay "MaxDelay"
- InitialValue "0"
- Ts "Ts"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [345, 301, 380, 339]
- ShowName off
- Gain "Ts"
- Port {
- PortNumber 1
- Name "Delay"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType DiscreteIntegrator
- Name "Integ4"
- Ports [1, 1]
- Position [95, 132, 140, 168]
- ShowName off
- IntegratorMethod "Integration: Trapezoidal"
- ExternalReset "none"
- InitialConditionSource "internal"
- SampleTime "Ts"
- IgnoreLimit off
- ICPrevOutput "DiscIntNeverNeededParam"
- ICPrevScaledInput "DiscIntNeverNeededParam"
- }
- Block {
- BlockType Fcn
- Name "Number of samplesnper cycle"
- Position [150, 307, 205, 333]
- Expr "1/u[1]/Ts"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [335, 158, 370, 247]
- ShowName off
- RndMeth "Floor"
- Port {
- PortNumber 1
- Name "Mean value"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Rounding
- Name "RoundingnFunction"
- Position [260, 306, 295, 334]
- NamePlacement "alternate"
- ShowName off
- Operator "ceil"
- }
- Block {
- BlockType Step
- Name "Step"
- Position [600, 163, 620, 187]
- Time "1/Finit"
- SampleTime "Ts"
- }
- Block {
- BlockType Sum
- Name "Sum5"
- Ports [2, 1]
- Position [550, 188, 575, 252]
- ShowName off
- }
- Block {
- BlockType Sum
- Name "Sum7"
- Ports [2, 1]
- Position [285, 140, 310, 220]
- ShowName off
- Inputs "-+"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [655, 209, 675, 271]
- ShowName off
- Threshold "0.5"
- SaturateOnIntegerOverflow off
- }
- Block {
- BlockType Saturate
- Name "To avoidndivision by zero"
- Position [82, 265, 108, 285]
- Orientation "down"
- UpperLimit "1e6"
- LowerLimit "1e-6"
- Port {
- PortNumber 1
- Name "Freq"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Outport
- Name "Mean"
- Position [705, 233, 735, 247]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Step"
- SrcPort 1
- Points [10, 0; 0, 65]
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "Correctionnsubsystem"
- SrcPort 1
- Points [100, 0; 0, -165]
- DstBlock "Sum5"
- DstPort 2
- }
- Line {
- Name "Freq"
- Labels [2, 0]
- SrcBlock "To avoidndivision by zero"
- SrcPort 1
- Points [0, 30]
- DstBlock "Number of samplesnper cycle"
- DstPort 1
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- DstBlock "Mean"
- DstPort 1
- }
- Line {
- SrcBlock "Init"
- SrcPort 1
- DstBlock "Switch"
- DstPort 3
- }
- Line {
- SrcBlock "Sum5"
- SrcPort 1
- DstBlock "Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Number of samplesnper cycle"
- SrcPort 1
- Points [15, 0]
- Branch {
- Points [0, 60]
- DstBlock "Correctionnsubsystem"
- DstPort 1
- }
- Branch {
- DstBlock "RoundingnFunction"
- DstPort 1
- }
- }
- Line {
- SrcBlock "RoundingnFunction"
- SrcPort 1
- Points [0, 0; 15, 0]
- Branch {
- Points [0, 80]
- DstBlock "Correctionnsubsystem"
- DstPort 2
- }
- Branch {
- DstBlock "Gain"
- DstPort 1
- }
- }
- Line {
- Name "Delay"
- Labels [1, 0]
- SrcBlock "Gain"
- SrcPort 1
- Points [95, 0; 0, -220; -305, 0; 0, 70]
- DstBlock "Discrete VariablenTransport Dela"
- "y"
- DstPort 2
- }
- Line {
- Name "Freq"
- SrcBlock "Freq"
- SrcPort 1
- Points [40, 0]
- Branch {
- DstBlock "To avoidndivision by zero"
- DstPort 1
- }
- Branch {
- DstBlock "Product"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Integ4"
- SrcPort 1
- Points [15, 0]
- Branch {
- Points [0, 50]
- DstBlock "Sum7"
- DstPort 2
- }
- Branch {
- DstBlock "Discrete VariablenTransport Dela"
- "y"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Sum7"
- SrcPort 1
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete VariablenTransport Dela"
- "y"
- SrcPort 1
- DstBlock "Sum7"
- DstPort 1
- }
- Line {
- Name "Mean value"
- Labels [0, 0]
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Sum5"
- DstPort 1
- }
- Line {
- Name "In"
- SrcBlock "In"
- SrcPort 1
- Points [15, 0]
- Branch {
- Points [0, 270]
- DstBlock "Correctionnsubsystem"
- DstPort 3
- }
- Branch {
- DstBlock "Integ4"
- DstPort 1
- }
- }
- Annotation {
- Position [136, 13]
- UseDisplayTextAsClickCallback off
- FontSize 12
- FontWeight "bold"
- }
- Annotation {
- Position [122, 46]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "Variable frequency - Discrete Mea"
- "n Value"
- Position [161, 23]
- UseDisplayTextAsClickCallback off
- FontSize 12
- FontWeight "bold"
- }
- Annotation {
- Name "Pierre Giroux, Gilbert Sybille, R"
- "ichard GagnonnPower System Simulation LaboratorynIREQ, Hydro-Quebc"
- Position [147, 56]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "link disabled"
- Position [227, 191]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- }
- }
- }
- Block {
- BlockType Gain
- Name "FrictionnFactor"
- Position [130, 35, 160, 65]
- Gain "F"
- Port {
- PortNumber 1
- Name "T_Friction"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Product
- Name "Product1"
- Ports [2, 1]
- Position [190, 188, 200, 217]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType Product
- Name "Product2"
- Ports [2, 1]
- Position [220, 28, 230, 57]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType Product
- Name "Product3"
- Ports [2, 1]
- Position [335, 68, 345, 97]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType Product
- Name "Product4"
- Ports [2, 1]
- Position [190, 133, 200, 162]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType Constant
- Name "Rr"
- Position [130, 133, 165, 147]
- ShowName off
- Value "Rr"
- }
- Block {
- BlockType Constant
- Name "Rs"
- Position [275, 68, 310, 82]
- ShowName off
- Value "Rs"
- }
- Block {
- BlockType Sum
- Name "Sum2"
- Ports [3, 1]
- Position [380, 25, 395, 145]
- ShowName off
- Inputs "+++"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- Port {
- PortNumber 1
- Name "Looses"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Sum
- Name "Sum5"
- Ports [2, 1]
- Position [225, 140, 245, 160]
- ShowName off
- IconShape "round"
- Inputs "|++"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Fcn
- Name "id^2+iq^2"
- Position [235, 89, 310, 101]
- Expr "u(1)^2+u(2)^2"
- }
- Block {
- BlockType Fcn
- Name "id^2+iq^2 "
- Position [90, 153, 165, 167]
- Expr "u(1)^2+u(2)^2"
- }
- Block {
- BlockType Fcn
- Name "id^2+iq^2 "
- Position [90, 208, 165, 222]
- Expr "u(1)^2+u(2)^2"
- }
- Block {
- BlockType Outport
- Name "P_looses"
- Position [580, 78, 610, 92]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "idqr"
- SrcPort 1
- DstBlock "id^2+iq^2 "
- DstPort 1
- }
- Line {
- SrcBlock "idqs"
- SrcPort 1
- DstBlock "id^2+iq^2"
- DstPort 1
- }
- Line {
- SrcBlock "DiscretenVariable FrequencynMea"
- "n value"
- SrcPort 1
- DstBlock "P_looses"
- DstPort 1
- }
- Line {
- SrcBlock "Sum5"
- SrcPort 1
- Points [105, 0; 0, -25]
- DstBlock "Sum2"
- DstPort 3
- }
- Line {
- SrcBlock "Product1"
- SrcPort 1
- Points [30, 0]
- DstBlock "Sum5"
- DstPort 2
- }
- Line {
- SrcBlock "Product4"
- SrcPort 1
- DstBlock "Sum5"
- DstPort 1
- }
- Line {
- SrcBlock "idq_grid_conv"
- SrcPort 1
- DstBlock "id^2+iq^2 "
- DstPort 1
- }
- Line {
- SrcBlock "id^2+iq^2 "
- SrcPort 1
- Points [5, 0]
- DstBlock "Product1"
- DstPort 2
- }
- Line {
- SrcBlock "Constant3"
- SrcPort 1
- DstBlock "Product1"
- DstPort 1
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- Points [40, 0]
- Branch {
- Points [0, -20; 100, 0]
- DstBlock "Product2"
- DstPort 1
- }
- Branch {
- DstBlock "FrictionnFactor"
- DstPort 1
- }
- }
- Line {
- Name "Looses"
- Labels [0, 0]
- SrcBlock "Sum2"
- SrcPort 1
- Points [55, 0]
- Branch {
- DstBlock "DiscretenVariable FrequencynMea"
- "n value"
- DstPort 2
- }
- Branch {
- Points [0, 20]
- DstBlock "DiscretenVariable FrequencynMea"
- "n value"
- DstPort 3
- }
- }
- Line {
- SrcBlock "Product2"
- SrcPort 1
- DstBlock "Sum2"
- DstPort 1
- }
- Line {
- SrcBlock "Product3"
- SrcPort 1
- DstBlock "Sum2"
- DstPort 2
- }
- Line {
- SrcBlock "id^2+iq^2 "
- SrcPort 1
- Points [5, 0]
- DstBlock "Product4"
- DstPort 2
- }
- Line {
- SrcBlock "Rr"
- SrcPort 1
- DstBlock "Product4"
- DstPort 1
- }
- Line {
- SrcBlock "id^2+iq^2"
- SrcPort 1
- Points [0, -5]
- DstBlock "Product3"
- DstPort 2
- }
- Line {
- SrcBlock "Rs"
- SrcPort 1
- DstBlock "Product3"
- DstPort 1
- }
- Line {
- Name "T_Friction"
- Labels [0, 0]
- SrcBlock "FrictionnFactor"
- SrcPort 1
- DstBlock "Product2"
- DstPort 2
- }
- Line {
- SrcBlock "Freq"
- SrcPort 1
- Points [10, 0; 0, 35]
- DstBlock "DiscretenVariable FrequencynMea"
- "n value"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Product
- Name "Product1"
- Ports [2, 1]
- Position [315, 71, 360, 104]
- InputSameDT off
- RndMeth "Floor"
- }
- Block {
- BlockType Product
- Name "Product2"
- Ports [2, 1]
- Position [950, 131, 995, 164]
- Inputs "*/"
- InputSameDT off
- RndMeth "Floor"
- }
- Block {
- BlockType Product
- Name "Product3"
- Ports [2, 1]
- Position [385, 261, 430, 294]
- InputSameDT off
- RndMeth "Floor"
- }
- Block {
- BlockType SubSystem
- Name "Slope_B_A"
- Ports [0, 1]
- Position [290, 276, 345, 294]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Slope_B_A"
- Location [347, 591, 637, 798]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Constant
- Name "Constant6"
- Position [25, 25, 75, 55]
- ShowName off
- Value "power_B"
- }
- Block {
- BlockType Constant
- Name "Constant7"
- Position [25, 60, 75, 90]
- ShowName off
- Value "power_A"
- }
- Block {
- BlockType Constant
- Name "Constant8"
- Position [25, 115, 75, 145]
- ShowName off
- Value "speed_B"
- }
- Block {
- BlockType Constant
- Name "Constant9"
- Position [25, 150, 75, 180]
- ShowName off
- Value "speed_A"
- }
- Block {
- BlockType Product
- Name "Product2"
- Ports [2, 1]
- Position [165, 31, 210, 64]
- Inputs "*/"
- InputSameDT off
- RndMeth "Floor"
- }
- Block {
- BlockType Sum
- Name "Sum8"
- Ports [2, 1]
- Position [105, 30, 125, 50]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Sum
- Name "Sum9"
- Ports [2, 1]
- Position [105, 120, 125, 140]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Outport
- Name "Slope"
- Position [235, 43, 265, 57]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Constant6"
- SrcPort 1
- DstBlock "Sum8"
- DstPort 1
- }
- Line {
- SrcBlock "Constant7"
- SrcPort 1
- Points [35, 0]
- DstBlock "Sum8"
- DstPort 2
- }
- Line {
- SrcBlock "Constant8"
- SrcPort 1
- DstBlock "Sum9"
- DstPort 1
- }
- Line {
- SrcBlock "Constant9"
- SrcPort 1
- Points [35, 0]
- DstBlock "Sum9"
- DstPort 2
- }
- Line {
- SrcBlock "Sum8"
- SrcPort 1
- DstBlock "Product2"
- DstPort 1
- }
- Line {
- SrcBlock "Sum9"
- SrcPort 1
- Points [15, 0; 0, -75]
- DstBlock "Product2"
- DstPort 2
- }
- Line {
- SrcBlock "Product2"
- SrcPort 1
- DstBlock "Slope"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Slope_D_C"
- Ports [0, 1]
- Position [230, 56, 275, 74]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Slope_D_C"
- Location [52, 171, 342, 378]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Constant
- Name "Constant2"
- Position [25, 25, 75, 55]
- ShowName off
- Value "power_D"
- }
- Block {
- BlockType Constant
- Name "Constant3"
- Position [25, 60, 75, 90]
- ShowName off
- Value "power_C"
- }
- Block {
- BlockType Constant
- Name "Constant4"
- Position [25, 115, 75, 145]
- ShowName off
- Value "speed_D"
- }
- Block {
- BlockType Constant
- Name "Constant5"
- Position [25, 150, 75, 180]
- ShowName off
- Value "speed_C"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [165, 31, 210, 64]
- Inputs "*/"
- InputSameDT off
- RndMeth "Floor"
- }
- Block {
- BlockType Sum
- Name "Sum6"
- Ports [2, 1]
- Position [105, 30, 125, 50]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Sum
- Name "Sum7"
- Ports [2, 1]
- Position [105, 120, 125, 140]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Outport
- Name "Slope"
- Position [235, 43, 265, 57]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Constant2"
- SrcPort 1
- DstBlock "Sum6"
- DstPort 1
- }
- Line {
- SrcBlock "Constant3"
- SrcPort 1
- Points [35, 0]
- DstBlock "Sum6"
- DstPort 2
- }
- Line {
- SrcBlock "Constant4"
- SrcPort 1
- DstBlock "Sum7"
- DstPort 1
- }
- Line {
- SrcBlock "Constant5"
- SrcPort 1
- Points [35, 0]
- DstBlock "Sum7"
- DstPort 2
- }
- Line {
- SrcBlock "Sum6"
- SrcPort 1
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "Sum7"
- SrcPort 1
- Points [15, 0; 0, -75]
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Slope"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Sum
- Name "Sum2"
- Ports [2, 1]
- Position [115, 85, 135, 105]
- ShowName off
- IconShape "round"
- Inputs "|-+"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Sum
- Name "Sum3"
- Ports [2, 1]
- Position [510, 130, 530, 150]
- ShowName off
- IconShape "round"
- Inputs "|++"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Sum
- Name "Sum4"
- Ports [2, 1]
- Position [745, 130, 765, 150]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- Port {
- PortNumber 1
- Name "Pelec_ref"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Sum
- Name "Sum5"
- Ports [2, 1]
- Position [255, 260, 275, 280]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [475, 210, 505, 240]
- Threshold "speed_B"
- InputSameDT off
- }
- Block {
- BlockType Gain
- Name "pu->pu "
- Position [155, 170, 185, 200]
- Gain "1/speed_C"
- }
- Block {
- BlockType Gain
- Name "pu->pu "
- Position [680, 125, 710, 155]
- Gain "Pmec/Pnom"
- }
- Block {
- BlockType Saturate
- Name "speed_A-speed_B"
- Position [160, 255, 190, 285]
- UpperLimit "speed_B"
- LowerLimit "speed_A"
- }
- Block {
- BlockType Fcn
- Name "wm^3"
- Position [210, 170, 270, 200]
- Expr "u(1)^3"
- }
- Block {
- BlockType Outport
- Name "Torque_cmd"
- Position [1060, 143, 1090, 157]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Product1"
- SrcPort 1
- Points [125, 0; 0, 50]
- DstBlock "Sum3"
- DstPort 1
- }
- Line {
- SrcBlock "0-inf"
- SrcPort 1
- DstBlock "Product1"
- DstPort 2
- }
- Line {
- SrcBlock "Sum2"
- SrcPort 1
- DstBlock "0-inf"
- DstPort 1
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- DstBlock "Sum2"
- DstPort 1
- }
- Line {
- SrcBlock "Gain "
- SrcPort 1
- DstBlock "0-power_C"
- DstPort 1
- }
- Line {
- SrcBlock "idq_grid_conv"
- SrcPort 1
- DstBlock "Looses"
- DstPort 3
- }
- Line {
- SrcBlock "idqr"
- SrcPort 1
- DstBlock "Looses"
- DstPort 4
- }
- Line {
- SrcBlock "idqs"
- SrcPort 1
- DstBlock "Looses"
- DstPort 2
- }
- Line {
- Name "Pelec_ref"
- Labels [0, 0]
- SrcBlock "Sum4"
- SrcPort 1
- DstBlock "0-inf "
- DstPort 1
- }
- Line {
- SrcBlock "wm^3"
- SrcPort 1
- DstBlock "Gain "
- DstPort 1
- }
- Line {
- SrcBlock "pu->pu "
- SrcPort 1
- DstBlock "wm^3"
- DstPort 1
- }
- Line {
- SrcBlock "Sum3"
- SrcPort 1
- DstBlock "0-1"
- DstPort 1
- }
- Line {
- SrcBlock "pu->pu "
- SrcPort 1
- DstBlock "Sum4"
- DstPort 1
- }
- Line {
- SrcBlock "0-1"
- SrcPort 1
- DstBlock "pu->pu "
- DstPort 1
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- Points [0, 0; 20, 0]
- Branch {
- Points [35, 0]
- Branch {
- DstBlock "pu->pu "
- DstPort 1
- }
- Branch {
- DstBlock "Sum2"
- DstPort 2
- }
- Branch {
- Points [0, 40]
- Branch {
- Points [0, 45]
- Branch {
- DstBlock "speed_A-speed_B"
- DstPort 1
- }
- Branch {
- Points [0, 145]
- DstBlock "Looses"
- DstPort 1
- }
- }
- Branch {
- Points [20, 0]
- DstBlock "Switch"
- DstPort 2
- }
- }
- }
- Branch {
- Points [0, 195; 845, 0]
- DstBlock "1e-6-inf"
- DstPort 1
- }
- }
- Line {
- SrcBlock "0-power_C"
- SrcPort 1
- Points [10, 0; 0, 30]
- DstBlock "Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Product3"
- SrcPort 1
- Points [10, 0; 0, -45]
- DstBlock "Switch"
- DstPort 3
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- Points [20, 0]
- DstBlock "Sum5"
- DstPort 2
- }
- Line {
- SrcBlock "speed_A-speed_B"
- SrcPort 1
- DstBlock "Sum5"
- DstPort 1
- }
- Line {
- SrcBlock "Sum5"
- SrcPort 1
- DstBlock "Product3"
- DstPort 1
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- Points [10, 0]
- DstBlock "Sum3"
- DstPort 2
- }
- Line {
- SrcBlock "Slope_D_C"
- SrcPort 1
- Points [10, 0; 0, 15]
- DstBlock "Product1"
- DstPort 1
- }
- Line {
- SrcBlock "Slope_B_A"
- SrcPort 1
- DstBlock "Product3"
- DstPort 2
- }
- Line {
- SrcBlock "0-inf "
- SrcPort 1
- DstBlock "Product2"
- DstPort 1
- }
- Line {
- SrcBlock "1e-6-inf"
- SrcPort 1
- DstBlock "Product2"
- DstPort 2
- }
- Line {
- SrcBlock "Product2"
- SrcPort 1
- DstBlock "Torque_cmd"
- DstPort 1
- }
- Line {
- SrcBlock "Looses"
- SrcPort 1
- Points [380, 0]
- DstBlock "Sum4"
- DstPort 2
- }
- Line {
- SrcBlock "Freq"
- SrcPort 1
- DstBlock "Looses"
- DstPort 5
- }
- }
- }
- Block {
- BlockType Outport
- Name "Iqr*"
- Position [615, 118, 645, 132]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "idq_grid_conv"
- SrcPort 1
- DstBlock "Subsystem"
- DstPort 4
- }
- Line {
- SrcBlock "idqr"
- SrcPort 1
- DstBlock "Subsystem"
- DstPort 3
- }
- Line {
- SrcBlock "idqs"
- SrcPort 1
- DstBlock "Subsystem"
- DstPort 2
- }
- Line {
- SrcBlock "Subsystem"
- SrcPort 1
- DstBlock "Rate Limiter"
- DstPort 1
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- DstBlock "Subsystem"
- DstPort 1
- }
- Line {
- SrcBlock "Freq"
- SrcPort 1
- DstBlock "Subsystem"
- DstPort 5
- }
- Line {
- SrcBlock "Saturation"
- SrcPort 1
- DstBlock "Rate Limiter "
- DstPort 1
- }
- Line {
- Labels [0, 0]
- SrcBlock "Rate Limiter "
- SrcPort 1
- DstBlock "Iqr*"
- DstPort 1
- }
- Line {
- SrcBlock "magn_phim"
- SrcPort 1
- Points [25, 0]
- DstBlock "Divide"
- DstPort 2
- }
- Line {
- SrcBlock "Divide"
- SrcPort 1
- DstBlock "Saturation"
- DstPort 1
- }
- Line {
- SrcBlock "Rate Limiter"
- SrcPort 1
- DstBlock "Divide"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- Ports [5, 4]
- Position [95, 296, 250, 464]
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- Location [226, 313, 994, 782]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Theta"
- Position [125, 218, 155, 232]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iabc_r"
- Position [420, 258, 450, 272]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iabc_s"
- Position [430, 148, 460, 162]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iabc_grid_conv"
- Position [430, 38, 460, 52]
- Port "4"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "angle_rotor"
- Position [35, 253, 65, 267]
- Port "5"
- IconDisplay "Port number"
- }
- Block {
- BlockType Gain
- Name "# pairs ofnpoles"
- Position [95, 248, 125, 272]
- Gain "p"
- }
- Block {
- BlockType Demux
- Name "Demux1"
- Ports [1, 2]
- Position [585, 143, 590, 192]
- BackgroundColor "black"
- ShowName off
- Outputs "[2 1]"
- }
- Block {
- BlockType Demux
- Name "Demux2"
- Ports [1, 2]
- Position [585, 253, 590, 302]
- BackgroundColor "black"
- ShowName off
- Outputs "[2 1]"
- }
- Block {
- BlockType Demux
- Name "Demux3"
- Ports [1, 2]
- Position [585, 33, 590, 82]
- BackgroundColor "black"
- ShowName off
- Outputs "[2 1]"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [2, 1]
- Position [355, 233, 360, 282]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux2"
- Ports [2, 1]
- Position [355, 158, 360, 207]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [2, 1]
- Position [240, 205, 255, 280]
- ShowName off
- Inputs "+-"
- }
- Block {
- BlockType Terminator
- Name "Terminator1"
- Position [610, 174, 620, 186]
- ShowName off
- }
- Block {
- BlockType Terminator
- Name "Terminator2"
- Position [610, 284, 620, 296]
- ShowName off
- }
- Block {
- BlockType Terminator
- Name "Terminator3"
- Position [610, 64, 620, 76]
- ShowName off
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction1"
- Ports [1, 1]
- Position [300, 159, 330, 181]
- ShowName off
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction2"
- Ports [1, 1]
- Position [300, 234, 330, 256]
- ShowName off
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction3"
- Ports [1, 1]
- Position [300, 259, 330, 281]
- ShowName off
- Operator "cos"
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction4"
- Ports [1, 1]
- Position [300, 184, 330, 206]
- ShowName off
- Operator "cos"
- }
- Block {
- BlockType Reference
- Name "abc_to_dq0"
- Ports [2, 1]
- Position [485, 31, 550, 89]
- SourceBlock "powerlib_extras/Measurements/abc_"
- "to_dq0nTransformation"
- SourceType "abc to dq0 Transformation"
- ShowPortLabels on
- }
- Block {
- BlockType Reference
- Name "abc_to_dq0 "
- Ports [2, 1]
- Position [485, 141, 550, 199]
- SourceBlock "powerlib_extras/Measurements/abc_"
- "to_dq0nTransformation"
- SourceType "abc to dq0 Transformation"
- ShowPortLabels on
- }
- Block {
- BlockType Reference
- Name "abc_to_dq0 "
- Ports [2, 1]
- Position [485, 251, 550, 309]
- SourceBlock "powerlib_extras/Measurements/abc_"
- "to_dq0nTransformation"
- SourceType "abc to dq0 Transformation"
- ShowPortLabels on
- }
- Block {
- BlockType Outport
- Name "Idq_r"
- Position [645, 258, 675, 272]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Idq_s"
- Position [645, 148, 675, 162]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Idq_gc"
- Position [645, 38, 675, 52]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "r_angle_transformation"
- Position [325, 323, 355, 337]
- Port "4"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "abc_to_dq0 "
- SrcPort 1
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- SrcBlock "TrigonometricnFunction2"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 1
- }
- Line {
- SrcBlock "TrigonometricnFunction3"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 2
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- Points [40, 0; 0, 35]
- DstBlock "abc_to_dq0 "
- DstPort 2
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 2
- DstBlock "Terminator1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 1
- DstBlock "Idq_s"
- DstPort 1
- }
- Line {
- SrcBlock "Iabc_s"
- SrcPort 1
- DstBlock "abc_to_dq0 "
- DstPort 1
- }
- Line {
- SrcBlock "# pairs ofnpoles"
- SrcPort 1
- DstBlock "Sum1"
- DstPort 2
- }
- Line {
- SrcBlock "abc_to_dq0 "
- SrcPort 1
- DstBlock "Demux2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 2
- DstBlock "Terminator2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 1
- DstBlock "Idq_r"
- DstPort 1
- }
- Line {
- SrcBlock "Iabc_r"
- SrcPort 1
- DstBlock "abc_to_dq0 "
- DstPort 1
- }
- Line {
- SrcBlock "angle_rotor"
- SrcPort 1
- DstBlock "# pairs ofnpoles"
- DstPort 1
- }
- Line {
- SrcBlock "Theta"
- SrcPort 1
- Points [0, 0; 45, 0]
- Branch {
- DstBlock "Sum1"
- DstPort 1
- }
- Branch {
- Points [0, -45; 70, 0]
- Branch {
- Points [0, 15]
- DstBlock "TrigonometricnFunction4"
- DstPort 1
- }
- Branch {
- Points [0, -10]
- DstBlock "TrigonometricnFunction1"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- Points [0, 0; 15, 0]
- Branch {
- Points [0, 25]
- Branch {
- Points [0, 60]
- DstBlock "r_angle_transformation"
- DstPort 1
- }
- Branch {
- DstBlock "TrigonometricnFunction3"
- DstPort 1
- }
- }
- Branch {
- DstBlock "TrigonometricnFunction2"
- DstPort 1
- }
- }
- Line {
- SrcBlock "TrigonometricnFunction1"
- SrcPort 1
- DstBlock "Mux2"
- DstPort 1
- }
- Line {
- SrcBlock "TrigonometricnFunction4"
- SrcPort 1
- DstBlock "Mux2"
- DstPort 2
- }
- Line {
- SrcBlock "Mux2"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "abc_to_dq0 "
- DstPort 2
- }
- Branch {
- Points [0, -110]
- DstBlock "abc_to_dq0"
- DstPort 2
- }
- }
- Line {
- SrcBlock "abc_to_dq0"
- SrcPort 1
- DstBlock "Demux3"
- DstPort 1
- }
- Line {
- SrcBlock "Demux3"
- SrcPort 2
- DstBlock "Terminator3"
- DstPort 1
- }
- Line {
- SrcBlock "Demux3"
- SrcPort 1
- DstBlock "Idq_gc"
- DstPort 1
- }
- Line {
- SrcBlock "Iabc_grid_conv"
- SrcPort 1
- DstBlock "abc_to_dq0"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "dq --> abc"
- Ports [3, 1]
- Position [1055, 228, 1185, 342]
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "dq --> abc"
- Location [175, 486, 1090, 856]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Vdq*"
- Position [15, 63, 45, 77]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Vdc"
- Position [290, 198, 320, 212]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Angle"
- Position [540, 148, 570, 162]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Saturate
- Name "0-1"
- Position [455, 45, 485, 75]
- NamePlacement "alternate"
- UpperLimit "1"
- LowerLimit "0"
- }
- Block {
- BlockType Saturate
- Name "Avoid divisionnby zero"
- Position [340, 145, 370, 175]
- Orientation "up"
- UpperLimit "1e6"
- LowerLimit "1e-6"
- }
- Block {
- BlockType Reference
- Name "Cartesian tonPolar"
- Ports [2, 2]
- Position [130, 33, 165, 102]
- SourceBlock "simulink_extras/Transformations/C"
- "artesian tonPolar"
- SourceType "Cart2Polar"
- ShowPortLabels on
- }
- Block {
- BlockType Demux
- Name "Demux1"
- Ports [1, 2]
- Position [95, 31, 100, 104]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType Constant
- Name "K"
- Position [225, 102, 340, 118]
- Value "Vnom*2*sqrt(2/3)"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [3, 1]
- Position [625, 46, 630, 124]
- ShowName off
- Inputs "3"
- DisplayOption "bar"
- Port {
- PortNumber 1
- Name "Vdq0"
- PropagatedSignals ", , "
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Mux
- Name "Mux2"
- Ports [2, 1]
- Position [670, 143, 675, 192]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Reference
- Name "Polar tonCartesian"
- Ports [2, 2]
- Position [530, 46, 570, 99]
- SourceBlock "simulink_extras/Transformations/P"
- "olar tonCartesian"
- SourceType "Polar2Cart"
- ShowPortLabels on
- }
- Block {
- BlockType Product
- Name "Product2"
- Ports [3, 1]
- Position [380, 43, 400, 77]
- ShowName off
- Inputs "**/"
- RndMeth "Floor"
- Port {
- PortNumber 1
- Name "m"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction2"
- Ports [1, 1]
- Position [615, 144, 645, 166]
- ShowName off
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction3"
- Ports [1, 1]
- Position [615, 169, 645, 191]
- ShowName off
- Operator "cos"
- }
- Block {
- BlockType Constant
- Name "V0"
- Position [590, 103, 600, 117]
- ShowName off
- Value "0"
- }
- Block {
- BlockType Reference
- Name "dq0_to_abcnTransformation"
- Ports [2, 1]
- Position [715, 71, 780, 129]
- SourceBlock "powerlib_extras/Measurements/dq0_"
- "to_abcnTransformation"
- SourceType "dq0 to abc Transformation"
- ShowPortLabels on
- }
- Block {
- BlockType Outport
- Name "Uctrl_rotor_conv"
- Position [820, 93, 850, 107]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Mux2"
- SrcPort 1
- Points [5, 0; 0, -55]
- DstBlock "dq0_to_abcnTransformation"
- DstPort 2
- }
- Line {
- SrcBlock "TrigonometricnFunction2"
- SrcPort 1
- DstBlock "Mux2"
- DstPort 1
- }
- Line {
- SrcBlock "TrigonometricnFunction3"
- SrcPort 1
- DstBlock "Mux2"
- DstPort 2
- }
- Line {
- SrcBlock "Angle"
- SrcPort 1
- Points [0, 0; 15, 0]
- Branch {
- Points [0, 25]
- DstBlock "TrigonometricnFunction3"
- DstPort 1
- }
- Branch {
- DstBlock "TrigonometricnFunction2"
- DstPort 1
- }
- }
- Line {
- SrcBlock "dq0_to_abcnTransformation"
- SrcPort 1
- DstBlock "Uctrl_rotor_conv"
- DstPort 1
- }
- Line {
- SrcBlock "V0"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 3
- }
- Line {
- SrcBlock "Polar tonCartesian"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 1
- }
- Line {
- SrcBlock "Polar tonCartesian"
- SrcPort 2
- DstBlock "Mux1"
- DstPort 2
- }
- Line {
- SrcBlock "0-1"
- SrcPort 1
- DstBlock "Polar tonCartesian"
- DstPort 1
- }
- Line {
- Name "m"
- Labels [1, 0]
- SrcBlock "Product2"
- SrcPort 1
- DstBlock "0-1"
- DstPort 1
- }
- Line {
- SrcBlock "Vdc"
- SrcPort 1
- Points [30, 0]
- DstBlock "Avoid divisionnby zero"
- DstPort 1
- }
- Line {
- SrcBlock "K"
- SrcPort 1
- Points [5, 0; 0, -50]
- DstBlock "Product2"
- DstPort 2
- }
- Line {
- SrcBlock "Avoid divisionnby zero"
- SrcPort 1
- Points [0, -70]
- DstBlock "Product2"
- DstPort 3
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 1
- DstBlock "Cartesian tonPolar"
- DstPort 1
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 2
- DstBlock "Cartesian tonPolar"
- DstPort 2
- }
- Line {
- SrcBlock "Cartesian tonPolar"
- SrcPort 1
- DstBlock "Product2"
- DstPort 1
- }
- Line {
- SrcBlock "Cartesian tonPolar"
- SrcPort 2
- DstBlock "Polar tonCartesian"
- DstPort 2
- }
- Line {
- SrcBlock "Vdq*"
- SrcPort 1
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- Name "Vdq0"
- Labels [0, 0]
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "dq0_to_abcnTransformation"
- DstPort 1
- }
- Annotation {
- Name "Required value for modulation ind"
- "ex "m" to obtain 1 pu generated voltage by the converter:"
- Position [412, 280]
- UseDisplayTextAsClickCallback off
- FontSize 12
- }
- Annotation {
- Name "m = Vnom_r * 2*sqrt(2/3) / Vdc"
- Position [247, 310]
- UseDisplayTextAsClickCallback off
- FontSize 12
- }
- Annotation {
- Name "Where Vnom_r = RMS ph-ph nomina"
- "l voltage "
- Position [292, 340]
- UseDisplayTextAsClickCallback off
- FontSize 12
- }
- }
- }
- Block {
- BlockType Outport
- Name "Uctrl_rotor_conv"
- Position [1225, 278, 1255, 292]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Mutual flux"
- SrcPort 2
- Points [5, 0; 0, 45]
- Branch {
- Points [0, 125]
- DstBlock "Sum"
- DstPort 1
- }
- Branch {
- DstBlock "IdqnMutual fluxnReference frame"
- DstPort 1
- }
- }
- Line {
- SrcBlock "CurrentnRegulator"
- SrcPort 1
- DstBlock "dq --> abc"
- DstPort 1
- }
- Line {
- SrcBlock "Vdc"
- SrcPort 1
- DstBlock "dq --> abc"
- DstPort 2
- }
- Line {
- SrcBlock "Theta"
- SrcPort 1
- DstBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- DstPort 1
- }
- Line {
- SrcBlock "IdqnMutual fluxnReference frame"
- SrcPort 1
- Points [35, 0]
- Branch {
- Points [0, -175]
- DstBlock "Torque control"
- DstPort 2
- }
- Branch {
- Points [250, 0; 0, -195]
- DstBlock "CurrentnRegulator"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- Points [515, 0; 0, -205]
- DstBlock "dq --> abc"
- DstPort 3
- }
- Line {
- SrcBlock "dq --> abc"
- SrcPort 1
- DstBlock "Uctrl_rotor_conv"
- DstPort 1
- }
- Line {
- SrcBlock "IdqnMutual fluxnReference frame"
- SrcPort 2
- Points [0, 0; 50, 0]
- Branch {
- Points [0, -190]
- DstBlock "Torque control"
- DstPort 3
- }
- Branch {
- Points [250, 0; 0, -205]
- DstBlock "CurrentnRegulator"
- DstPort 3
- }
- }
- Line {
- SrcBlock "Iabc_rotor"
- SrcPort 1
- DstBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- DstPort 2
- }
- Line {
- SrcBlock "Iabc_stator"
- SrcPort 1
- DstBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- DstPort 3
- }
- Line {
- SrcBlock "Iabc_grid_conv"
- SrcPort 1
- DstBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- DstPort 4
- }
- Line {
- SrcBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- SrcPort 1
- Points [0, 0; 45, 0]
- Branch {
- Points [0, 110]
- DstBlock "IdqnMutual fluxnReference frame"
- DstPort 2
- }
- Branch {
- DstBlock "Mutual flux"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- SrcPort 2
- Points [0, 0; 35, 0]
- Branch {
- Points [0, 95]
- DstBlock "IdqnMutual fluxnReference frame"
- DstPort 3
- }
- Branch {
- DstBlock "Mutual flux"
- DstPort 2
- }
- }
- Line {
- SrcBlock "angle_rotor"
- SrcPort 1
- DstBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- DstPort 5
- }
- Line {
- SrcBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- SrcPort 4
- Points [20, 0; 0, 115]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "Transformationnabc --> dq dansn"
- "referentielnTension statorique "
- SrcPort 3
- Points [20, 0; 0, -120]
- DstBlock "Torque control"
- DstPort 4
- }
- Line {
- SrcBlock "Q_B1"
- SrcPort 1
- DstBlock "Q Regulator"
- DstPort 2
- }
- Line {
- SrcBlock "Q_ref"
- SrcPort 1
- DstBlock "Q Regulator"
- DstPort 1
- }
- Line {
- SrcBlock "Freq"
- SrcPort 1
- Points [15, 0; 0, 130]
- Branch {
- DstBlock "Torque control"
- DstPort 5
- }
- Branch {
- Points [0, 70; 245, 0]
- DstBlock "CurrentnRegulator"
- DstPort 5
- }
- }
- Line {
- SrcBlock "Mux3"
- SrcPort 1
- DstBlock "Priority Idr"
- DstPort 1
- }
- Line {
- SrcBlock "Q Regulator"
- SrcPort 1
- DstBlock "Mux3"
- DstPort 1
- }
- Line {
- SrcBlock "Mutual flux"
- SrcPort 1
- DstBlock "Torque control"
- DstPort 6
- }
- Line {
- SrcBlock "Priority Idr"
- SrcPort 1
- Points [10, 0; 0, 60; -75, 0; 0, 40]
- DstBlock "CurrentnRegulator"
- DstPort 1
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [0, -165]
- DstBlock "Torque control"
- DstPort 1
- }
- Branch {
- Points [210, 0; 0, -115]
- DstBlock "CurrentnRegulator"
- DstPort 4
- }
- }
- Line {
- SrcBlock "Torque control"
- SrcPort 1
- Points [5, 0; 0, -165]
- DstBlock "Mux3"
- DstPort 2
- }
- Annotation {
- Name "Rotor-side converter control syst"
- "em"
- Position [222, 46]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 14
- FontWeight "bold"
- }
- }
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [410, 825, 430, 845]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- InputSameDT off
- OutDataTypeMode "Inherit via internal rule"
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [220, 188, 230, 202]
- ShowName off
- }
- Block {
- BlockType Gain
- Name "pitch_gain"
- Position [450, 820, 480, 850]
- Gain "pitch_gain"
- }
- Block {
- BlockType Outport
- Name "Vabc_grid_conv"
- Position [935, 283, 965, 297]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Vabc_rotor_conv"
- Position [935, 328, 965, 342]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Theta_Freq"
- Position [140, 318, 170, 332]
- Orientation "left"
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Pitch_angle"
- Position [685, 828, 715, 842]
- Port "4"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Vdc"
- SrcPort 1
- Points [0, 0; 10, 0]
- Branch {
- Points [0, -135]
- DstBlock "Grid-side converternControl syst"
- "em"
- DstPort 4
- }
- Branch {
- Points [0, 125]
- DstBlock "Rotor-side converternControl sys"
- "tem"
- DstPort 2
- }
- Branch {
- DstBlock "Converters voltages"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Vabc_B1"
- SrcPort 1
- Points [0, 0; 30, 0]
- Branch {
- DstBlock "Grid-side converternControl syst"
- "em"
- DstPort 1
- }
- Branch {
- Points [0, 100]
- DstBlock "Discreten3-phase PLL"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Iq_grid_conv_ref"
- SrcPort 1
- DstBlock "Grid-side converternControl system"
- DstPort 5
- }
- Line {
- SrcBlock "Iabc_grid_conv"
- SrcPort 1
- Points [0, 0; 25, 0]
- Branch {
- DstBlock "Grid-side converternControl syst"
- "em"
- DstPort 2
- }
- Branch {
- Points [0, 490]
- DstBlock "Rotor-side converternControl sys"
- "tem"
- DstPort 6
- }
- }
- Line {
- SrcBlock "Iabc_stator"
- SrcPort 1
- DstBlock "Rotor-side converternControl syste"
- "m"
- DstPort 4
- }
- Line {
- SrcBlock "Iabc_rotor"
- SrcPort 1
- DstBlock "Rotor-side converternControl syste"
- "m"
- DstPort 5
- }
- Line {
- SrcBlock "Converters voltages"
- SrcPort 1
- DstBlock "Vabc_grid_conv"
- DstPort 1
- }
- Line {
- SrcBlock "Converters voltages"
- SrcPort 2
- DstBlock "Vabc_rotor_conv"
- DstPort 1
- }
- Line {
- SrcBlock "Grid-side converternControl system"
- SrcPort 1
- Points [25, 0; 0, 120]
- DstBlock "Converters voltages"
- DstPort 1
- }
- Line {
- SrcBlock "Rotor-side converternControl syste"
- "m"
- SrcPort 1
- Points [30, 0; 0, -235]
- DstBlock "Converters voltages"
- DstPort 3
- }
- Line {
- SrcBlock "angle_rotor"
- SrcPort 1
- DstBlock "Rotor-side converternControl syste"
- "m"
- DstPort 9
- }
- Line {
- SrcBlock "Q_B1"
- SrcPort 1
- DstBlock "Rotor-side converternControl syste"
- "m"
- DstPort 8
- }
- Line {
- SrcBlock "Q_ref"
- SrcPort 1
- DstBlock "Rotor-side converternControl syste"
- "m"
- DstPort 7
- }
- Line {
- SrcBlock "Discreten3-phase PLL"
- SrcPort 2
- Points [70, 0]
- Branch {
- Points [0, -30]
- DstBlock "Grid-side converternControl syst"
- "em"
- DstPort 3
- }
- Branch {
- Points [0, 145]
- Branch {
- Points [0, 160]
- DstBlock "Rotor-side converternControl sys"
- "tem"
- DstPort 3
- }
- Branch {
- DstBlock "Mux"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- Points [0, 0]
- DstBlock "Theta_Freq"
- DstPort 1
- }
- Line {
- SrcBlock "Discreten3-phase PLL"
- SrcPort 3
- DstBlock "Terminator"
- DstPort 1
- }
- Line {
- SrcBlock "Discreten3-phase PLL"
- SrcPort 1
- Points [55, 0; 0, 100]
- Branch {
- DstBlock "Grid-side converternControl syst"
- "em"
- DstPort 6
- }
- Branch {
- Points [0, 90]
- Branch {
- Points [0, 420]
- DstBlock "Rotor-side converternControl sys"
- "tem"
- DstPort 10
- }
- Branch {
- DstBlock "Mux"
- DstPort 2
- }
- }
- }
- Line {
- SrcBlock "Rate Limiter "
- SrcPort 1
- DstBlock "Pitch_angle"
- DstPort 1
- }
- Line {
- SrcBlock "pitch_gain"
- SrcPort 1
- DstBlock "0-pitch_max"
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "pitch_gain"
- DstPort 1
- }
- Line {
- SrcBlock "Constant2"
- SrcPort 1
- Points [15, 0]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "0-pitch_max"
- SrcPort 1
- DstBlock "Rate Limiter "
- DstPort 1
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- Points [0, 0; 25, 0]
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- Branch {
- Points [0, -440]
- DstBlock "Rotor-side converternControl sys"
- "tem"
- DstPort 1
- }
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Converters power"
- Ports [4, 2]
- Position [840, 65, 990, 275]
- ForegroundColor "blue"
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Converters power"
- Location [185, 117, 658, 467]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Vabc_grid_conv"
- Position [35, 53, 65, 67]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iabc_grid_conv"
- Position [35, 98, 65, 112]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Vabc_rotor_conv"
- Position [30, 213, 60, 227]
- Port "3"
- IconDisplay "Port number"
- PortDimensions "3"
- }
- Block {
- BlockType Inport
- Name "Iabc_rotor_conv"
- Position [30, 258, 60, 272]
- Port "4"
- IconDisplay "Port number"
- PortDimensions "3"
- }
- Block {
- BlockType Gain
- Name " W->pu"
- Position [290, 234, 310, 256]
- Gain "1/Pnom"
- }
- Block {
- BlockType Gain
- Name " pu->A"
- Position [100, 254, 120, 276]
- Gain "Pnom/sqrt(3)/Vnom*sqrt(2)"
- }
- Block {
- BlockType Gain
- Name " pu->V"
- Position [100, 209, 120, 231]
- Gain "Vnom*sqrt(2)/sqrt(3)"
- }
- Block {
- BlockType Product
- Name "Product1"
- Ports [2, 1]
- Position [175, 196, 205, 289]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType Product
- Name "Product2"
- Ports [2, 1]
- Position [175, 36, 205, 129]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [1, 1]
- Position [235, 70, 265, 100]
- ShowName off
- IconShape "round"
- Inputs "1"
- }
- Block {
- BlockType Sum
- Name "Sum1"
- Ports [1, 1]
- Position [235, 230, 265, 260]
- ShowName off
- IconShape "round"
- Inputs "1"
- }
- Block {
- BlockType Gain
- Name "W->pu"
- Position [290, 74, 310, 96]
- Gain "1/Pnom"
- }
- Block {
- BlockType Gain
- Name "pu->A "
- Position [100, 94, 120, 116]
- Gain "Pnom/sqrt(3)/Vnom*sqrt(2)"
- }
- Block {
- BlockType Gain
- Name "pu->V"
- Position [100, 49, 120, 71]
- Gain "Vnom*sqrt(2)/sqrt(3)"
- }
- Block {
- BlockType Outport
- Name "Pac_grid_conv"
- Position [345, 78, 375, 92]
- IconDisplay "Port number"