power_wind_ig.mdl
资源名称:DFIGFarm.rar [点击查看]
上传用户:sdgangguan
上传日期:2017-10-18
资源大小:179k
文件大小:676k
源码类别:
能源行业(电力石油煤炭)
开发平台:
Matlab
- }
- Block {
- BlockType Outport
- Name "Code"
- Position [455, 218, 485, 232]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "Code"
- DstPort 1
- }
- Line {
- SrcBlock "Constant12"
- SrcPort 1
- DstBlock "Product"
- DstPort 2
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "Sum"
- DstPort 1
- }
- Line {
- SrcBlock "In1"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "In10"
- SrcPort 1
- DstBlock "Mux"
- DstPort 10
- }
- Line {
- SrcBlock "In9"
- SrcPort 1
- DstBlock "Mux"
- DstPort 9
- }
- Line {
- SrcBlock "In8"
- SrcPort 1
- DstBlock "Mux"
- DstPort 8
- }
- Line {
- SrcBlock "In7"
- SrcPort 1
- DstBlock "Mux"
- DstPort 7
- }
- Line {
- SrcBlock "In6"
- SrcPort 1
- DstBlock "Mux"
- DstPort 6
- }
- Line {
- SrcBlock "In5"
- SrcPort 1
- DstBlock "Mux"
- DstPort 5
- }
- Line {
- SrcBlock "In4"
- SrcPort 1
- DstBlock "Mux"
- DstPort 4
- }
- Line {
- SrcBlock "In3"
- SrcPort 1
- DstBlock "Mux"
- DstPort 3
- }
- Line {
- SrcBlock "In2"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Data Type Conversion"
- DstPort 1
- }
- Line {
- SrcBlock "Data Type Conversion"
- SrcPort 1
- DstBlock "Product"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator"
- Ports [10, 1]
- Position [370, 26, 410, 334]
- ShowName off
- Operator "OR"
- Inputs "10"
- AllPortsSameDT off
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator1"
- Ports [2, 1]
- Position [515, 169, 550, 211]
- ShowName off
- AllPortsSameDT off
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator2"
- Ports [1, 1]
- Position [595, 199, 625, 221]
- ShowName off
- Operator "NOT"
- AllPortsSameDT off
- }
- Block {
- BlockType Logic
- Name "LogicalnOperator3"
- Ports [2, 1]
- Position [645, 199, 680, 241]
- ShowName off
- AllPortsSameDT off
- }
- Block {
- BlockType Memory
- Name "Memory"
- Position [805, 180, 820, 200]
- ShowName off
- InheritSampleTime on
- }
- Block {
- BlockType Memory
- Name "Memory1"
- Position [865, 180, 880, 200]
- ShowName off
- InheritSampleTime on
- }
- Block {
- BlockType Reference
- Name "Monostable"
- Ports [1, 1]
- Position [645, 344, 685, 386]
- Orientation "left"
- SourceBlock "powerlib_extras/Control nBlocks/Mo"
- "nostable"
- SourceType "Monostable Flip-Flop"
- ShowPortLabels off
- EdgeDetect "Rising"
- t_mono "1e-9"
- ic "0"
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator10"
- Position [425, 576, 460, 629]
- ShowName off
- InputSameDT off
- }
- Block {
- BlockType Reference
- Name "Sample & Hold"
- Ports [2, 1]
- Position [565, 460, 605, 500]
- SourceBlock "powerlib_extras/Control nBlocks/Sa"
- "mple & Hold"
- SourceType "Sample & Hold "
- ShowPortLabels on
- ic "0"
- }
- Block {
- BlockType Reference
- Name "Sample & Hold1"
- Ports [2, 1]
- Position [565, 540, 605, 580]
- SourceBlock "powerlib_extras/Control nBlocks/Sa"
- "mple & Hold"
- SourceType "Sample & Hold "
- ShowPortLabels on
- ic "0"
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [765, 214, 775, 226]
- ShowName off
- }
- Block {
- BlockType SubSystem
- Name "Under/Over SpeednProtection"
- Ports [1, 2]
- Position [100, 431, 175, 509]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Under/Over SpeednProtection"
- Location [5, 359, 492, 551]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Speed"
- Position [30, 103, 60, 117]
- IconDisplay "Port number"
- PortDimensions "1"
- }
- Block {
- BlockType Reference
- Name "On/Off Delay1"
- Ports [1, 1]
- Position [265, 104, 305, 136]
- ShowName off
- SourceBlock "powerlib_extras/Control nBlocks/"
- "On//Off Delay"
- SourceType "On/Off Delay "
- ShowPortLabels off
- type_delay "On delay"
- delay "Delay_Speed"
- ic "0"
- }
- Block {
- BlockType Reference
- Name "On/Off Delay4"
- Ports [1, 1]
- Position [265, 29, 305, 61]
- ShowName off
- SourceBlock "powerlib_extras/Control nBlocks/"
- "On//Off Delay"
- SourceType "On/Off Delay "
- ShowPortLabels off
- type_delay "On delay"
- delay "Delay_Speed"
- ic "0"
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator1"
- Position [200, 98, 230, 142]
- ShowName off
- Operator ">"
- InputSameDT off
- }
- Block {
- BlockType RelationalOperator
- Name "RelationalnOperator3"
- Position [200, 23, 230, 67]
- ShowName off
- Operator "<"
- InputSameDT off
- }
- Block {
- BlockType Constant
- Name "V1 max1"
- Position [105, 45, 165, 65]
- ForegroundColor "magenta"
- ShowName off
- Value "Min_Speed"
- }
- Block {
- BlockType Constant
- Name "V1 max3"
- Position [110, 120, 170, 140]
- ForegroundColor "magenta"
- ShowName off
- Value "Max_Speed"
- }
- Block {
- BlockType Outport
- Name "MinSpeed"
- Position [340, 38, 370, 52]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "MaxSpeed"
- Position [340, 113, 370, 127]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "On/Off Delay1"
- SrcPort 1
- DstBlock "MaxSpeed"
- DstPort 1
- }
- Line {
- SrcBlock "On/Off Delay4"
- SrcPort 1
- DstBlock "MinSpeed"
- DstPort 1
- }
- Line {
- SrcBlock "Speed"
- SrcPort 1
- Points [0, 0; 10, 0]
- Branch {
- DstBlock "RelationalnOperator1"
- DstPort 1
- }
- Branch {
- Points [0, -75]
- DstBlock "RelationalnOperator3"
- DstPort 1
- }
- }
- Line {
- SrcBlock "V1 max3"
- SrcPort 1
- DstBlock "RelationalnOperator1"
- DstPort 2
- }
- Line {
- SrcBlock "V1 max1"
- SrcPort 1
- DstBlock "RelationalnOperator3"
- DstPort 2
- }
- Line {
- SrcBlock "RelationalnOperator1"
- SrcPort 1
- DstBlock "On/Off Delay1"
- DstPort 1
- }
- Line {
- SrcBlock "RelationalnOperator3"
- SrcPort 1
- DstBlock "On/Off Delay4"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Outport
- Name "Trip"
- Position [915, 183, 945, 197]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "TripTime"
- Position [760, 553, 790, 567]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "TripStatus"
- Position [760, 473, 790, 487]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Memory1"
- SrcPort 1
- DstBlock "Trip"
- DstPort 1
- }
- Line {
- SrcBlock "Vdc (V)"
- SrcPort 1
- DstBlock "DC VoltagenProtection"
- DstPort 1
- }
- Line {
- SrcBlock "DC VoltagenProtection"
- SrcPort 1
- Points [45, 0; 0, -90; 75, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 8
- }
- Branch {
- Points [0, 240]
- DstBlock "Encoding"
- DstPort 8
- }
- }
- Line {
- SrcBlock "LogicalnOperator2"
- SrcPort 1
- DstBlock "LogicalnOperator3"
- DstPort 1
- }
- Line {
- SrcBlock "Reset"
- SrcPort 1
- DstBlock "LogicalnOperator3"
- DstPort 2
- }
- Line {
- SrcBlock "LogicalnOperator3"
- SrcPort 1
- DstBlock "Bistable"
- DstPort 2
- }
- Line {
- SrcBlock "LogicalnOperator1"
- SrcPort 1
- Points [-5, 0; 25, 0]
- Branch {
- DstBlock "Bistable"
- DstPort 1
- }
- Branch {
- Points [0, 20]
- DstBlock "LogicalnOperator2"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Encoding"
- SrcPort 1
- DstBlock "Sample & Hold"
- DstPort 1
- }
- Line {
- SrcBlock "Bistable"
- SrcPort 1
- DstBlock "Memory"
- DstPort 1
- }
- Line {
- SrcBlock "Memory"
- SrcPort 1
- Points [0, 0; 15, 0]
- Branch {
- Points [0, 175]
- DstBlock "Monostable"
- DstPort 1
- }
- Branch {
- DstBlock "Memory1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Bistable"
- SrcPort 2
- DstBlock "Terminator"
- DstPort 1
- }
- Line {
- SrcBlock "Sample & Hold"
- SrcPort 1
- DstBlock "Decoding"
- DstPort 1
- }
- Line {
- SrcBlock "Decoding"
- SrcPort 1
- DstBlock "TripStatus"
- DstPort 1
- }
- Line {
- SrcBlock "Iabc (pu)"
- SrcPort 1
- DstBlock "AC CurrentnProtection"
- DstPort 1
- }
- Line {
- SrcBlock "Vabc (pu)"
- SrcPort 1
- DstBlock "AC VoltagenProtection"
- DstPort 1
- }
- Line {
- SrcBlock "AC CurrentnProtection"
- SrcPort 1
- Points [0, 0; 160, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 1
- }
- Branch {
- Points [0, 380]
- DstBlock "Encoding"
- DstPort 1
- }
- }
- Line {
- SrcBlock "AC CurrentnProtection"
- SrcPort 2
- Points [0, 0; 155, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 2
- }
- Branch {
- Points [0, 360]
- DstBlock "Encoding"
- DstPort 2
- }
- }
- Line {
- SrcBlock "AC CurrentnProtection"
- SrcPort 3
- Points [0, 0; 150, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 3
- }
- Branch {
- Points [0, 340]
- DstBlock "Encoding"
- DstPort 3
- }
- }
- Line {
- SrcBlock "AC VoltagenProtection"
- SrcPort 1
- Points [10, 0; 0, -40; 135, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 4
- }
- Branch {
- Points [0, 320]
- DstBlock "Encoding"
- DstPort 4
- }
- }
- Line {
- SrcBlock "AC VoltagenProtection"
- SrcPort 2
- Points [15, 0; 0, -35; 120, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 5
- }
- Branch {
- Points [0, 300]
- DstBlock "Encoding"
- DstPort 5
- }
- }
- Line {
- SrcBlock "AC VoltagenProtection"
- SrcPort 3
- Points [25, 0; 0, -30; 105, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 6
- }
- Branch {
- Points [0, 280]
- DstBlock "Encoding"
- DstPort 6
- }
- }
- Line {
- SrcBlock "AC VoltagenProtection"
- SrcPort 4
- Points [30, 0; 0, -25; 95, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 7
- }
- Branch {
- Points [0, 260]
- DstBlock "Encoding"
- DstPort 7
- }
- }
- Line {
- SrcBlock "Sample & Hold1"
- SrcPort 1
- DstBlock "TripTime"
- DstPort 1
- }
- Line {
- SrcBlock "Monostable"
- SrcPort 1
- Points [-105, 0; 0, 125]
- Branch {
- DstBlock "Sample & Hold"
- DstPort 2
- }
- Branch {
- Points [0, 80]
- DstBlock "Sample & Hold1"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- DstBlock "RelationalnOperator10"
- DstPort 2
- }
- Line {
- SrcBlock "Clock"
- SrcPort 1
- Points [0, 15; 50, 0]
- Branch {
- DstBlock "RelationalnOperator10"
- DstPort 1
- }
- Branch {
- Points [0, -40]
- DstBlock "Sample & Hold1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "LogicalnOperator"
- SrcPort 1
- DstBlock "LogicalnOperator1"
- DstPort 1
- }
- Line {
- Labels [2, 0]
- SrcBlock "RelationalnOperator10"
- SrcPort 1
- Points [35, 0]
- DstBlock "LogicalnOperator1"
- DstPort 2
- }
- Line {
- SrcBlock "Under/Over SpeednProtection"
- SrcPort 1
- Points [70, 0; 0, -165; 45, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 9
- }
- Branch {
- Points [0, 220]
- DstBlock "Encoding"
- DstPort 9
- }
- }
- Line {
- SrcBlock "Under/Over SpeednProtection"
- SrcPort 2
- Points [80, 0; 0, -175; 30, 0]
- Branch {
- DstBlock "LogicalnOperator"
- DstPort 10
- }
- Branch {
- Points [0, 200]
- DstBlock "Encoding"
- DstPort 10
- }
- }
- Line {
- SrcBlock "Speed (pu)"
- SrcPort 1
- DstBlock "Under/Over SpeednProtection"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Display
- Name "TripData1"
- Ports [1]
- Position [440, 14, 475, 236]
- FontName "Arial"
- FontSize 12
- Decimation "1"
- Lockdown off
- }
- Block {
- BlockType Display
- Name "TripData2"
- Ports [1]
- Position [440, 274, 475, 496]
- FontName "Arial"
- FontSize 12
- Decimation "1"
- Lockdown off
- }
- Block {
- BlockType Display
- Name "TripData3"
- Ports [1]
- Position [440, 534, 475, 756]
- FontName "Arial"
- FontSize 12
- Decimation "1"
- Lockdown off
- }
- Block {
- BlockType Outport
- Name "Trip1_3"
- Position [375, 53, 405, 67]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Trip Time1_3"
- Position [380, 338, 410, 352]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Ground1"
- SrcPort 1
- DstBlock "ProtectionnSystem1"
- DstPort 3
- }
- Line {
- SrcBlock "ProtectionnSystem1"
- SrcPort 2
- Points [35, 0; 0, 245]
- DstBlock "Mux1"
- DstPort 1
- }
- Line {
- SrcBlock "From7"
- SrcPort 1
- DstBlock "ProtectionnSystem1"
- DstPort 2
- }
- Line {
- SrcBlock "From11"
- SrcPort 1
- DstBlock "ProtectionnSystem1"
- DstPort 5
- }
- Line {
- SrcBlock "From9"
- SrcPort 1
- DstBlock "ProtectionnSystem1"
- DstPort 1
- }
- Line {
- SrcBlock "ProtectionnSystem1"
- SrcPort 3
- DstBlock "TripData1"
- DstPort 1
- }
- Line {
- SrcBlock "Ground2"
- SrcPort 1
- DstBlock "ProtectionnSystem1"
- DstPort 4
- }
- Line {
- SrcBlock "Ground3"
- SrcPort 1
- DstBlock "ProtectionnSystem2"
- DstPort 3
- }
- Line {
- SrcBlock "ProtectionnSystem2"
- SrcPort 1
- Points [85, 0; 0, -245]
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "From2"
- SrcPort 1
- DstBlock "ProtectionnSystem2"
- DstPort 2
- }
- Line {
- SrcBlock "From1"
- SrcPort 1
- DstBlock "ProtectionnSystem2"
- DstPort 5
- }
- Line {
- SrcBlock "From3"
- SrcPort 1
- DstBlock "ProtectionnSystem2"
- DstPort 1
- }
- Line {
- SrcBlock "ProtectionnSystem2"
- SrcPort 3
- DstBlock "TripData2"
- DstPort 1
- }
- Line {
- SrcBlock "Ground4"
- SrcPort 1
- DstBlock "ProtectionnSystem2"
- DstPort 4
- }
- Line {
- SrcBlock "Ground5"
- SrcPort 1
- DstBlock "ProtectionnSystem3"
- DstPort 3
- }
- Line {
- SrcBlock "ProtectionnSystem3"
- SrcPort 2
- Points [40, 0; 0, -245]
- DstBlock "Mux1"
- DstPort 3
- }
- Line {
- SrcBlock "ProtectionnSystem3"
- SrcPort 1
- Points [95, 0; 0, -490]
- DstBlock "Mux"
- DstPort 3
- }
- Line {
- SrcBlock "From5"
- SrcPort 1
- DstBlock "ProtectionnSystem3"
- DstPort 2
- }
- Line {
- SrcBlock "From4"
- SrcPort 1
- DstBlock "ProtectionnSystem3"
- DstPort 5
- }
- Line {
- SrcBlock "From6"
- SrcPort 1
- DstBlock "ProtectionnSystem3"
- DstPort 1
- }
- Line {
- SrcBlock "ProtectionnSystem3"
- SrcPort 3
- DstBlock "TripData3"
- DstPort 1
- }
- Line {
- SrcBlock "Ground6"
- SrcPort 1
- DstBlock "ProtectionnSystem3"
- DstPort 4
- }
- Line {
- SrcBlock "ProtectionnSystem1"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Trip1_3"
- DstPort 1
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "Trip Time1_3"
- DstPort 1
- }
- Line {
- SrcBlock "ProtectionnSystem2"
- SrcPort 2
- DstBlock "Mux1"
- DstPort 2
- }
- Annotation {
- Name "Under Speed"
- Position [541, 198]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "DC Overvoltage"
- Position [548, 176]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Voltage Unbalance (Zero-sequence)"
- Position [613, 156]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Overvoltage (positive-sequence)"
- Position [600, 108]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Undervoltage (positive-sequence)"
- Position [604, 89]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Current Unbalance"
- Position [564, 68]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Overcurrent (positive-sequence)"
- Position [599, 48]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Instantaneous AC Overcurrent"
- Position [582, 25]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Voltage Unbalance (Negative-sequence"
- ")"
- Position [627, 131]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Over Speed"
- Position [536, 218]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Under Speed"
- Position [541, 458]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "DC Overvoltage"
- Position [548, 436]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Voltage Unbalance (Zero-sequence)"
- Position [613, 416]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Overvoltage (positive-sequence)"
- Position [600, 368]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Undervoltage (positive-sequence)"
- Position [604, 349]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Current Unbalance"
- Position [564, 328]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Overcurrent (positive-sequence)"
- Position [599, 308]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Instantaneous AC Overcurrent"
- Position [582, 285]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Voltage Unbalance (Negative-sequence"
- ")"
- Position [627, 391]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Over Speed"
- Position [536, 478]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Under Speed"
- Position [541, 718]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "DC Overvoltage"
- Position [548, 696]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Voltage Unbalance (Zero-sequence)"
- Position [613, 676]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Overvoltage (positive-sequence)"
- Position [600, 628]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Undervoltage (positive-sequence)"
- Position [604, 609]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Current Unbalance"
- Position [564, 588]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Overcurrent (positive-sequence)"
- Position [599, 568]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Instantaneous AC Overcurrent"
- Position [582, 545]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "AC Voltage Unbalance (Negative-sequence"
- ")"
- Position [627, 651]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- Annotation {
- Name "Over Speed"
- Position [536, 738]
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- }
- }
- Block {
- BlockType Reference
- Name "Wind Turbine 1nInduction Generatorn(Phaso"
- "r Type)"
- Ports [2, 1, 0, 0, 0, 3]
- Position [450, 77, 515, 163]
- BackgroundColor "lightBlue"
- SourceBlock "DRlib/Wind Generation/Wind TurbinenInducti"
- "on Generatorn(Phasor Type)"
- SourceType "Wind Turbine Induction Generator (Phasor Ty"
- "pe)"
- ShowPortLabels on
- ShowParameters "Turbine data"
- nom "[2*1.5e6/0.9 575 60]"
- sta "[ 0.004843 0.1248]"
- rot "[ 0.004377 0.1791]"
- Lm "6.77"
- mec "[5.04 0.01 3]"
- init "[ -0.01,0 0,0,0 0,0,0 ]"
- ExternalTm off
- DisplayTurbChar off
- pitch_angle "0"
- Pmec "2*1.5e6"
- wind_base "9"
- P_wind_base "1"
- speed_nom "1"
- K_pitch_gain "[5 25]"
- pitch_max "45"
- pitch_rate "2"
- }
- Block {
- BlockType Reference
- Name "Wind Turbine 2nInduction Generatorn(Phaso"
- "r Type)"
- Ports [2, 1, 0, 0, 0, 3]
- Position [615, 297, 680, 383]
- BackgroundColor "lightBlue"
- SourceBlock "DRlib/Wind Generation/Wind TurbinenInducti"
- "on Generatorn(Phasor Type)"
- SourceType "Wind Turbine Induction Generator (Phasor Ty"
- "pe)"
- ShowPortLabels on
- ShowParameters "Turbine data"
- nom "[2*1.5e6/0.9 575 60]"
- sta "[ 0.004843 0.1248]"
- rot "[ 0.004377 0.1791]"
- Lm "6.77"
- mec "[5.04 0.01 3]"
- init "[ -0.01,0 0,0,0 0,0,0 ]"
- ExternalTm off
- DisplayTurbChar off
- pitch_angle "0"
- Pmec "2*1.5e6"
- wind_base "9"
- P_wind_base "1"
- speed_nom "1"
- K_pitch_gain "[5 25]"
- pitch_max "45"
- pitch_rate "2"
- }
- Block {
- BlockType Reference
- Name "Wind Turbine 3nInduction Generatorn(Phaso"
- "r Type)"
- Ports [2, 1, 0, 0, 0, 3]
- Position [455, 527, 520, 613]
- BackgroundColor "lightBlue"
- SourceBlock "DRlib/Wind Generation/Wind TurbinenInducti"
- "on Generatorn(Phasor Type)"
- SourceType "Wind Turbine Induction Generator (Phasor Ty"
- "pe)"
- ShowPortLabels on
- ShowParameters "Turbine data"
- nom "[2*1.5e6/0.9 575 60]"
- sta "[ 0.004843 0.1248]"
- rot "[ 0.004377 0.1791]"
- Lm "6.77"
- mec "[5.04 0.01 3]"
- init "[ -0.01,0 0,0,0 0,0,0 ]"
- ExternalTm off
- DisplayTurbChar off
- pitch_angle "0"
- Pmec "2*1.5e6"
- wind_base "9"
- P_wind_base "1"
- speed_nom "1"
- K_pitch_gain "[5 25]"
- pitch_max "45"
- pitch_rate "2"
- }
- Block {
- BlockType Reference
- Name "Wind1"
- Ports [0, 1]
- Position [300, 35, 325, 55]
- ForegroundColor "red"
- SourceBlock "powerlib_extras/Control nBlocks/Timer"
- SourceType "Timer"
- ShowPortLabels on
- t "[ 0 2]"
- e "[8 11]"
- }
- Block {
- BlockType Reference
- Name "Wind2"
- Ports [0, 1]
- Position [465, 255, 490, 275]
- ForegroundColor "red"
- SourceBlock "powerlib_extras/Control nBlocks/Timer"
- SourceType "Timer"
- ShowPortLabels on
- t "[ 0 4]"
- e "[8 11]"
- }
- Block {
- BlockType Reference
- Name "Wind3"
- Ports [0, 1]
- Position [305, 485, 330, 505]
- ForegroundColor "red"
- SourceBlock "powerlib_extras/Control nBlocks/Timer"
- SourceType "Timer"
- ShowPortLabels on
- t "[ 0 6]"
- e "[8 11]"
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [25, 318, 55, 332]
- Port "1"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [25, 348, 55, 362]
- Port "2"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [25, 378, 55, 392]
- Port "3"
- Side "Left"
- }
- Block {
- BlockType Outport
- Name "m"
- Position [805, 548, 835, 562]
- ForegroundColor "blue"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_1n(575 V)"
- SrcPort RConn3
- DstBlock "Wind Turbine 1nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_1n(575 V)"
- SrcPort RConn2
- DstBlock "Wind Turbine 1nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_1n(575 V)"
- SrcPort RConn1
- DstBlock "Wind Turbine 1nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn1
- }
- Line {
- SrcBlock "Data acquisition"
- SrcPort 1
- DstBlock "m"
- DstPort 1
- }
- Line {
- SrcBlock "Wind Turbine 1nInduction Generatorn(Phaso"
- "r Type)"
- SrcPort 1
- DstBlock "Goto25"
- DstPort 1
- }
- Line {
- SrcBlock "Rate Limiter5"
- SrcPort 1
- Points [0, 0; 35, 0]
- Branch {
- DstBlock "Goto1"
- DstPort 1
- }
- Branch {
- Points [0, 45]
- DstBlock "Wind Turbine 1nInduction Generatorn(Pha"
- "sor Type)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Wind1"
- SrcPort 1
- DstBlock "Rate Limiter5"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "400 kvar"
- SrcPort LConn3
- Points [0, 0; 0, -30]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "B575_1n(575 V)"
- DstPort LConn3
- }
- Branch {
- ConnectType "DEST_DEST"
- SrcBlock "25 kV/ 575 Vn4 MVA"
- SrcPort RConn3
- Points [15, 0; 0, 10; 45, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [350, 135; -50, 0; 0, -5]
- DstBlock "25 kV/ 575 Vn4 MVA"
- DstPort RConn2
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "400 kvar"
- DstPort LConn2
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B575_1n(575 V)"
- SrcPort LConn2
- Points [-10, 0; -25, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [340, 120; -40, 0]
- DstBlock "25 kV/ 575 Vn4 MVA"
- DstPort RConn1
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "400 kvar"
- DstPort LConn1
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B575_1n(575 V)"
- SrcPort LConn1
- Points [-10, 0; -35, 0]
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "1 km line 1 "
- SrcPort RConn3
- DstBlock "25 kV/ 575 Vn4 MVA"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "1 km line 1 "
- SrcPort RConn2
- DstBlock "25 kV/ 575 Vn4 MVA"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "1 km line 1 "
- SrcPort RConn1
- DstBlock "25 kV/ 575 Vn4 MVA"
- DstPort LConn1
- }
- Line {
- SrcBlock "From12"
- SrcPort 1
- DstBlock "Wind Turbine 1nInduction Generatorn(Phaso"
- "r Type)"
- DstPort 2
- }
- Line {
- LineType "Connection"
- Points [525, 370; -30, 0; -75, 0]
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "400 kvar "
- DstPort LConn3
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B575_2n(575 V)"
- SrcPort LConn3
- Points [0, 0; -25, 0]
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [-85, 0; 0, -10]
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort RConn3
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, -65]
- DstBlock "Fault"
- DstPort LConn3
- }
- }
- Line {
- LineType "Connection"
- Points [515, 355; -40, 0; -65, 0]
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "400 kvar "
- DstPort LConn2
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B575_2n(575 V)"
- SrcPort LConn2
- Points [0, 0; -35, 0]
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [-90, 0]
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort RConn2
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, -65]
- DstBlock "Fault"
- DstPort LConn2
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "25 kV/ 575 Vn4 MVA "
- SrcPort RConn1
- Points [0, 0; 80, 0]
- Branch {
- ConnectType "DEST_SRC"
- Points [105, 0]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "400 kvar "
- DstPort LConn1
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [35, 0]
- DstBlock "B575_2n(575 V)"
- DstPort LConn1
- }
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, -65]
- DstBlock "Fault"
- DstPort LConn1
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_2n(575 V)"
- SrcPort RConn3
- DstBlock "Wind Turbine 2nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_2n(575 V)"
- SrcPort RConn2
- DstBlock "Wind Turbine 2nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_2n(575 V)"
- SrcPort RConn1
- DstBlock "Wind Turbine 2nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn1
- }
- Line {
- SrcBlock "Wind Turbine 2nInduction Generatorn(Phaso"
- "r Type)"
- SrcPort 1
- DstBlock "Goto3"
- DstPort 1
- }
- Line {
- SrcBlock "Rate Limiter1"
- SrcPort 1
- Points [0, 0; 35, 0]
- Branch {
- Points [0, 45]
- DstBlock "Wind Turbine 2nInduction Generatorn(Pha"
- "sor Type)"
- DstPort 1
- }
- Branch {
- DstBlock "Goto2"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Wind2"
- SrcPort 1
- DstBlock "Rate Limiter1"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "25 kV/ 575 Vn4 MVA "
- SrcPort LConn3
- DstBlock "1 km line 2"
- DstPort RConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "25 kV/ 575 Vn4 MVA "
- SrcPort LConn2
- DstBlock "1 km line 2"
- DstPort RConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "25 kV/ 575 Vn4 MVA "
- SrcPort LConn1
- DstBlock "1 km line 2"
- DstPort RConn1
- }
- Line {
- SrcBlock "From1"
- SrcPort 1
- DstBlock "Wind Turbine 2nInduction Generatorn(Phaso"
- "r Type)"
- DstPort 2
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_3n(575 V)"
- SrcPort LConn3
- Points [0, 0; -25, 0]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "400 kvar "
- DstPort LConn3
- }
- Branch {
- ConnectType "DEST_DEST"
- SrcBlock "25 kV/ 575 Vn4 MVA "
- SrcPort RConn3
- Points [10, 0; 0, 10; 40, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [355, 585; -40, 0; 0, -5]
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort RConn2
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "400 kvar "
- DstPort LConn2
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B575_3n(575 V)"
- SrcPort LConn2
- Points [-10, 0; -25, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [345, 570; -10, 0; -20, 0]
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort RConn1
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "400 kvar "
- DstPort LConn1
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B575_3n(575 V)"
- SrcPort LConn1
- Points [-10, 0; -35, 0]
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_3n(575 V)"
- SrcPort RConn3
- DstBlock "Wind Turbine 3nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_3n(575 V)"
- SrcPort RConn2
- DstBlock "Wind Turbine 3nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B575_3n(575 V)"
- SrcPort RConn1
- DstBlock "Wind Turbine 3nInduction Generatorn(Phaso"
- "r Type)"
- DstPort LConn1
- }
- Line {
- SrcBlock "Wind Turbine 3nInduction Generatorn(Phaso"
- "r Type)"
- SrcPort 1
- DstBlock "Goto5"
- DstPort 1
- }
- Line {
- SrcBlock "Rate Limiter2"
- SrcPort 1
- Points [0, 0; 35, 0]
- Branch {
- DstBlock "Goto4"
- DstPort 1
- }
- Branch {
- Points [0, 45]
- DstBlock "Wind Turbine 3nInduction Generatorn(Pha"
- "sor Type)"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Wind3"
- SrcPort 1
- DstBlock "Rate Limiter2"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "1 km line 3"
- SrcPort RConn3
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "1 km line 3"
- SrcPort RConn2
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "1 km line 3"
- SrcPort RConn1
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort LConn1
- }
- Line {
- SrcBlock "From2"
- SrcPort 1
- DstBlock "Wind Turbine 3nInduction Generatorn(Phaso"
- "r Type)"
- DstPort 2
- }
- Line {
- SrcBlock "Wind TurbinenProtections"
- SrcPort 1
- Points [0, 0; 15, 0]
- Branch {
- Points [0, -45]
- DstBlock "Trip1"
- DstPort 1
- }
- Branch {
- DstBlock "Demux"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- DstBlock "Goto6"
- DstPort 1
- }
- Line {
- SrcBlock "Wind TurbinenProtections"
- SrcPort 2
- DstBlock "Trip2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Goto7"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- DstBlock "Goto8"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "1 km line 3"
- SrcPort LConn1
- Points [-40, 0; 0, -245]
- Branch {
- ConnectType "DEST_SRC"
- Points [-30, 0]
- DstBlock "A"
- DstPort RConn1
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, -205]
- DstBlock "1 km line 1 "
- DstPort LConn1
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [50, 0]
- DstBlock "1 km line 2"
- DstPort LConn1
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "B"
- SrcPort RConn1
- Points [-10, 0; 45, 0]
- Branch {
- ConnectType "DEST_SRC"
- Points [0, -220]
- DstBlock "1 km line 1 "
- DstPort LConn2
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, 230]
- DstBlock "1 km line 3"
- DstPort LConn2
- }
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "1 km line 2"
- DstPort LConn2
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- Points [-10, 0; 60, 0]
- Branch {
- ConnectType "DEST_SRC"
- Points [0, -235]
- DstBlock "1 km line 1 "
- DstPort LConn3
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, 215]
- DstBlock "1 km line 3"
- DstPort LConn3
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [20, 0]
- DstBlock "1 km line 2"
- DstPort LConn3
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "66ohms "
- SrcPort RConn1
- DstBlock "Ground3"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "66ohms "
- SrcPort RConn1
- DstBlock "Ground1"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "25 kV/ 575 Vn4 MVA "
- SrcPort RConn4
- DstBlock "66ohms "
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock " 66ohms "
- SrcPort RConn1
- DstBlock "Ground2"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock " 66ohms "
- SrcPort LConn1
- Points [0, -20]
- DstBlock "25 kV/ 575 Vn4 MVA "
- DstPort RConn4
- }
- Line {
- LineType "Connection"
- SrcBlock "66ohms "
- SrcPort LConn1
- Points [0, -20]
- DstBlock "25 kV/ 575 Vn4 MVA"
- DstPort RConn4
- }
- Annotation {
- Name "(2 x 1.5 MW)"
- Position [488, 219]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- FontWeight "bold"
- }
- Annotation {
- Name "(2 x 1.5 MW)"
- Position [653, 439]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- FontWeight "bold"
- }
- Annotation {
- Name "(2 x 1.5 MW)"
- Position [493, 669]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- FontWeight "bold"
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Wind Farm 1 & 2nData acquisition"
- Ports [0, 5]
- Position [340, 336, 420, 494]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- Port {
- PortNumber 1
- Name "P1_3 (MW)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 2
- Name "Q1_3 (Mvar)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 3
- Name "wr1_3 (pu)"
- PropagatedSignals "wr1_3"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 4
- Name "wind1_3 (m/s)"
- PropagatedSignals "wind1_3 (m_s)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 5
- Name "pitch1_3 (deg)"
- PropagatedSignals "pitch1_3"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- System {
- Name "Wind Farm 1 & 2nData acquisition"
- Location [185, 208, 779, 611]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Gain
- Name "-1"
- Position [350, 142, 380, 168]
- Gain "-1"
- }
- Block {
- BlockType BusSelector
- Name "BusnSelector1"
- Ports [1, 5]
- Position [105, 65, 110, 175]
- ShowName off
- OutputSignals "P1_3 (MW),Q1_3 (Mvar),wr1_3,wind1_3 (m_s),p"
- "itch1_3"
- Port {
- PortNumber 1
- Name "<P1_3 (MW)>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 2
- Name "<Q1_3 (Mvar)>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 3
- Name "<wr1_3>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 4
- Name "<wind1_3 (m_s)>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 5
- Name "<pitch1_3>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Constant
- Name "Constant1"
- Position [190, 50, 220, 70]
- ShowName off
- Value "0"
- }
- Block {
- BlockType From
- Name "From11"
- Position [15, 112, 70, 128]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "m"
- }
- Block {
- BlockType SubSystem
- Name "Mean Value3"
- Ports [2, 1]
- Position [255, 74, 310, 101]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "Mean value"
- MaskDescription "This block uses the running window averagin"
- "g technique to compute the mean value of the input signal over the specified "
- "period.n"
- MaskPromptString "Averaging period (s):"
- MaskStyleString "edit"
- MaskTunableValueString "on"
- MaskEnableString "on"
- MaskVisibilityString "on"
- MaskToolTipString "on"
- MaskVariables "Period=@1;"
- MaskInitialization "n"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "1/60"
- System {
- Name "Mean Value3"
- Location [220, 282, 763, 473]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "In"
- Position [20, 73, 50, 87]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Init"
- Position [380, 143, 410, 157]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [310, 73, 385, 117]
- Gain "1/Period"
- }
- Block {
- BlockType Step
- Name "Step"
- Position [370, 25, 400, 55]
- Time "Period+eps"
- SampleTime "0"
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [250, 69, 270, 116]
- Inputs "+-"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [435, 90, 465, 120]
- Threshold "0.5"
- InputSameDT off
- }
- Block {
- BlockType TransportDelay
- Name "TransportnDelay"
- Position [175, 90, 205, 120]
- DelayTime "Period"
- }
- Block {
- BlockType Integrator
- Name "integrator"
- Ports [1, 1]
- Position [85, 59, 115, 101]
- IgnoreLimit off
- }
- Block {
- BlockType Outport
- Name "Mean"
- Position [490, 98, 520, 112]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Init"
- SrcPort 1
- Points [0, -35]
- DstBlock "Switch"
- DstPort 3
- }
- Line {
- SrcBlock "Step"
- SrcPort 1
- Points [10, 0; 0, 65]
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- DstBlock "Mean"
- DstPort 1
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- DstBlock "Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "In"
- SrcPort 1
- DstBlock "integrator"
- DstPort 1
- }
- Line {
- SrcBlock "integrator"
- SrcPort 1
- Points [0, 0; 25, 0]
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- Branch {
- Points [0, 25]
- DstBlock "TransportnDelay"
- DstPort 1
- }
- }
- Line {
- SrcBlock "TransportnDelay"
- SrcPort 1
- DstBlock "Sum"
- DstPort 2
- }
- Annotation {
- Name "Mean value"
- Position [48, 26]
- UseDisplayTextAsClickCallback off
- FontSize 12
- FontWeight "bold"
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Mean Value4"
- Ports [2, 1]
- Position [255, 139, 310, 166]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "Mean value"
- MaskDescription "This block uses the running window averagin"
- "g technique to compute the mean value of the input signal over the specified "
- "period.n"
- MaskPromptString "Averaging period (s):"
- MaskStyleString "edit"
- MaskTunableValueString "on"
- MaskEnableString "on"
- MaskVisibilityString "on"
- MaskToolTipString "on"
- MaskVariables "Period=@1;"
- MaskInitialization "n"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "1/60"
- System {
- Name "Mean Value4"
- Location [220, 282, 763, 473]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "In"
- Position [20, 73, 50, 87]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Init"
- Position [380, 143, 410, 157]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Gain
- Name "Gain"
- Position [310, 73, 385, 117]
- Gain "1/Period"
- }
- Block {
- BlockType Step
- Name "Step"
- Position [370, 25, 400, 55]
- Time "Period+eps"
- SampleTime "0"
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [250, 69, 270, 116]
- Inputs "+-"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [435, 90, 465, 120]
- Threshold "0.5"
- InputSameDT off
- }
- Block {
- BlockType TransportDelay
- Name "TransportnDelay"
- Position [175, 90, 205, 120]
- DelayTime "Period"
- }
- Block {
- BlockType Integrator
- Name "integrator"
- Ports [1, 1]
- Position [85, 59, 115, 101]
- IgnoreLimit off
- }
- Block {
- BlockType Outport
- Name "Mean"
- Position [490, 98, 520, 112]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "TransportnDelay"
- SrcPort 1
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "integrator"
- SrcPort 1
- Points [0, 0; 25, 0]
- Branch {
- Points [0, 25]
- DstBlock "TransportnDelay"
- DstPort 1
- }
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- }
- Line {
- SrcBlock "In"
- SrcPort 1
- DstBlock "integrator"
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "Gain"
- DstPort 1
- }
- Line {
- SrcBlock "Gain"
- SrcPort 1
- DstBlock "Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- DstBlock "Mean"
- DstPort 1
- }
- Line {
- SrcBlock "Step"
- SrcPort 1
- Points [10, 0; 0, 65]
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "Init"
- SrcPort 1
- Points [0, -35]
- DstBlock "Switch"
- DstPort 3
- }
- Annotation {
- Name "Mean value"
- Position [48, 26]
- UseDisplayTextAsClickCallback off
- FontSize 12
- FontWeight "bold"
- }
- }
- }
- Block {
- BlockType Outport
- Name "P1_3 (MW)"
- Position [350, 83, 380, 97]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Q1_3 (Mvar)"
- Position [420, 148, 450, 162]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "wr1_3 (pu)"
- Position [345, 203, 375, 217]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "wind1_3 (m/s)"
- Position [345, 248, 375, 262]
- Port "4"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "pitch1_3 (deg)"
- Position [345, 293, 375, 307]
- Port "5"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "From11"
- SrcPort 1
- DstBlock "BusnSelector1"
- DstPort 1
- }
- Line {
- SrcBlock "Constant1"
- SrcPort 1
- Points [10, 0; 0, 35]
- Branch {
- Points [0, 65]
- DstBlock "Mean Value4"
- DstPort 2
- }
- Branch {
- DstBlock "Mean Value3"
- DstPort 2
- }
- }
- Line {
- SrcBlock "Mean Value4"
- SrcPort 1
- DstBlock "-1"
- DstPort 1
- }
- Line {
- SrcBlock "Mean Value3"
- SrcPort 1
- DstBlock "P1_3 (MW)"
- DstPort 1
- }
- Line {
- SrcBlock "-1"
- SrcPort 1
- DstBlock "Q1_3 (Mvar)"
- DstPort 1
- }
- Line {
- Name "<P1_3 (MW)>"
- Labels [0, 0]
- SrcBlock "BusnSelector1"
- SrcPort 1
- DstBlock "Mean Value3"
- DstPort 1
- }
- Line {
- Name "<Q1_3 (Mvar)>"
- Labels [0, 0]
- SrcBlock "BusnSelector1"
- SrcPort 2
- Points [90, 0; 0, 45]
- DstBlock "Mean Value4"
- DstPort 1
- }
- Line {
- Name "<wr1_3>"
- Labels [0, 0]
- SrcBlock "BusnSelector1"
- SrcPort 3
- Points [80, 0; 0, 90]
- DstBlock "wr1_3 (pu)"
- DstPort 1
- }
- Line {
- Name "<wind1_3 (m_s)>"
- Labels [3, 0]
- SrcBlock "BusnSelector1"
- SrcPort 4
- Points [30, 0; 0, 115]
- DstBlock "wind1_3 (m/s)"
- DstPort 1
- }
- Line {
- Name "<pitch1_3>"
- Labels [3, 0]
- SrcBlock "BusnSelector1"
- SrcPort 5
- Points [10, 0; 0, 140]
- DstBlock "pitch1_3 (deg)"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "info"
- Ports []
- Position [810, 555, 837, 580]
- ForegroundColor "blue"
- DropShadow on
- OpenFcn "web('power_wind_ig.html')"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskDisplay "disp('?')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "info"
- Location [-6, 117, 1134, 724]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- Block {
- BlockType SubSystem
- Name "powergui"
- Ports []
- Position [30, 540, 110, 585]
- Priority "2"
- AncestorBlock "powerlib/powergui"
- CopyFcn "powergui('Copy_Callback',gcb,0,[]);"
- DeleteFcn "powergui('Copy_Callback',gcb,1,[]);powergui('Cl"
- "ose_Callback',gcb,[],[]);n "
- " "
- ModelCloseFcn "powergui('Close_Callback',gcb,[],[]);"
- PreSaveFcn "try nclose(get_pa"
- "ram(gcbh,'userdata'))nend "
- OpenFcn "if (power_openblockproxy ('secondary'))npowerg"
- "ui(gcb,'PM')nend;"
- FontSize 11
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "PSB option menu block"
- MaskHelp "web(psbhelp)"
- MaskPromptString "General parameter: Simulation Mode |General par"
- "ameter: Sample Time|General parameter: Echo Messages|Initial electrical stat"
- "es status|Impedance tool: Frequency Range|Impedance tool: Log impedance|Imped"
- "ance tool: log Frequency|Impedance tool: grid|Impedance tool: Save Data To Wo"
- "rkspace|Impedance tool: Variable Name|Structure Name (PSBFFTSCOPE)|ZoomFFT (P"
- "SBFFTSCOPE)|Start Time (PSBFFTSCOPE)|Cycles (PSBFFTSCOPE)|Display style (PSBF"
- "FTSCOPE)|Fundamental (PSBFFTSCOPE)|Frequency Axis (PSBFFTSCOPE)|Max Frequency"
- " (PSBFFTSCOPE)|Frequency indice (PSBLOADFLOW)|Frequency indice (STEADYSTATE)"
- "|RMS display (STEADYSTATE)|Display Results|Sample time (s): |General paramet"
- "er: phasor frequency|Phasor simulation"
- MaskStyleString "popup(Continuous|Discrete|Phasor),edit,checkbox"
- ",popup(blocks|steady|zero),edit,checkbox,checkbox,checkbox,checkbox,edit,edit"
- ",checkbox,edit,edit,edit,edit,checkbox,edit,edit,edit,edit,checkbox,edit,edit"
- ",checkbox"
- MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
- ",on,on,on,on,on,on,on,on,on"
- MaskCallbackString "||||||||||||||||||||||||"
- MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
- ",on,on,on,on,on,on,on,on,on"
- MaskVisibilityString "on,on,on,on,off,off,off,off,off,off,off,off,off"
- ",off,off,off,off,off,off,off,off,on,on,on,on"
- MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
- ",on,on,on,on,on,on,on,on,on"
- MaskVarAliasString ",,,,,,,,,,,,,,,,,,,,,,,,"
- MaskVariables "SimulationMode=@1;SampleTime=@2;echomessages=@3"
- ";x0status=@4;Frange=@5;Ylog=@6;Xlog=@7;ShowGrid=@8;save=@9;variable=&10;struc"
- "ture=&11;ZoomFFT=@12;StartTime=@13;cycles=@14;DisplayStyle=&15;fundamental=@1"
- "6;FreqAxis=@17;MaxFrequency=@18;frequencyindice=@19;frequencyindicesteady=@20"
- ";RmsSteady=@21;display=@22;Ts=@23;frequency=@24;methode=@25;"
- MaskInitialization "powerlibroot = which('powersysdomain');nPSBroo"
- "t = powerlibroot(1:end-16);n%nswitch SimulationModen case 1n"
- " message=sprintf('Continuous');n case 2n messa"
- "ge=sprintf('Discrete,\nTs = %.4g s.',SampleTime);n case 3n "
- " message=sprintf('Phasors');nendnif strcmp(bdroot,'powerlib')n mes"
- "sage='powergui';nendnpower_initmask();"
- MaskDisplay "disp(message)"
- MaskSelfModifiable on
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "Phasor|0|off|blocks|[0:2:500]|off|off|off|off|Z"
- "Data||on|0.0|1|1|60|off|1000|1|1|1|off|0|60|off"
- MaskTabNameString ",,,,,,,,,,,,,,,,,,,,,,,,"
- System {
- Name "powergui"
- Location [137, 405, 682, 583]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType SubSystem
- Name "EquivalentModel1"
- Ports []
- Position [15, 70, 143, 105]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskInitialization "SPS = get_param(gcbh,'UserData');nif isemp"
- "ty(SPS)n H=0;n Rswitch=1;n InputsNonZero=1;nelsen"
- " H=SPS.Hswo;n Rswitch=SPS.Rswitch;n InputsNonZero=SPS."
- "InputsNonZero;nend"
- MaskDisplay "color('magenta')ndisp('EQUIVALENT CIRCUIT'"
- ")"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "EquivalentModel1"
- Location [757, 702, 1302, 849]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType SubSystem
- Name "Gates"
- Ports [0, 1]
- Position [110, 87, 175, 113]
- FontName "Arial"
- FontSize 14
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Gates"
- Location [20, 127, 741, 886]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType From
- Name "From1"
- Position [15, 21, 85, 49]
- GotoTag "tp485611"
- }
- Block {
- BlockType From
- Name "From10"
- Position [15, 426, 85, 454]
- GotoTag "tp491297"
- }
- Block {
- BlockType From
- Name "From11"
- Position [15, 471, 85, 499]
- GotoTag "tp491301"
- }
- Block {
- BlockType From
- Name "From12"
- Position [15, 516, 85, 544]
- GotoTag "tp491308"
- }
- Block {
- BlockType From
- Name "From13"
- Position [15, 561, 85, 589]
- GotoTag "tp491312"
- }
- Block {
- BlockType From
- Name "From14"
- Position [15, 606, 85, 634]
- GotoTag "tp491317"
- }
- Block {
- BlockType From
- Name "From15"
- Position [15, 651, 85, 679]
- GotoTag "tp491323"
- }
- Block {
- BlockType From
- Name "From16"
- Position [15, 696, 85, 724]
- GotoTag "tp491328"
- }
- Block {
- BlockType From
- Name "From17"
- Position [15, 741, 85, 769]
- GotoTag "tp491333"
- }
- Block {
- BlockType From
- Name "From18"
- Position [15, 786, 85, 814]
- GotoTag "tp491339"
- }
- Block {
- BlockType From
- Name "From19"
- Position [15, 831, 85, 859]
- GotoTag "tp491344"
- }
- Block {
- BlockType From
- Name "From2"
- Position [15, 66, 85, 94]
- GotoTag "tp485615"
- }
- Block {
- BlockType From
- Name "From20"
- Position [15, 876, 85, 904]
- GotoTag "tp491348"
- }
- Block {
- BlockType From
- Name "From21"
- Position [15, 921, 85, 949]
- GotoTag "tp491261"
- }
- Block {
- BlockType From
- Name "From3"
- Position [15, 111, 85, 139]
- GotoTag "tp485620"
- }
- Block {
- BlockType From
- Name "From4"
- Position [15, 156, 85, 184]
- GotoTag "tp491265"
- }
- Block {
- BlockType From
- Name "From5"
- Position [15, 201, 85, 229]
- GotoTag "tp491270"
- }
- Block {
- BlockType From
- Name "From6"
- Position [15, 246, 85, 274]
- GotoTag "tp491276"
- }
- Block {
- BlockType From
- Name "From7"
- Position [15, 291, 85, 319]
- GotoTag "tp491281"
- }
- Block {
- BlockType From
- Name "From8"
- Position [15, 336, 85, 364]
- GotoTag "tp491286"
- }
- Block {
- BlockType From
- Name "From9"
- Position [15, 381, 85, 409]
- GotoTag "tp491292"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [21, 1]
- Position [325, 270, 330, 610]
- ShowName off
- Inputs "[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 "
- "1 1 1 1]"
- DisplayOption "bar"
- }
- Block {
- BlockType Outport
- Name "gates"
- Position [390, 433, 420, 447]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "gates"
- DstPort 1
- }
- Line {
- SrcBlock "From1"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "From2"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "From3"
- SrcPort 1
- DstBlock "Mux"
- DstPort 3
- }
- Line {
- SrcBlock "From4"
- SrcPort 1
- DstBlock "Mux"
- DstPort 4
- }
- Line {
- SrcBlock "From5"
- SrcPort 1
- DstBlock "Mux"
- DstPort 5
- }
- Line {
- SrcBlock "From6"
- SrcPort 1
- DstBlock "Mux"
- DstPort 6
- }
- Line {
- SrcBlock "From7"
- SrcPort 1
- DstBlock "Mux"
- DstPort 7
- }
- Line {
- SrcBlock "From8"
- SrcPort 1
- DstBlock "Mux"
- DstPort 8
- }
- Line {
- SrcBlock "From9"
- SrcPort 1
- DstBlock "Mux"
- DstPort 9
- }
- Line {
- SrcBlock "From10"
- SrcPort 1
- DstBlock "Mux"
- DstPort 10
- }
- Line {
- SrcBlock "From11"
- SrcPort 1
- DstBlock "Mux"
- DstPort 11
- }
- Line {
- SrcBlock "From12"
- SrcPort 1
- DstBlock "Mux"
- DstPort 12
- }
- Line {
- SrcBlock "From13"
- SrcPort 1
- DstBlock "Mux"
- DstPort 13
- }
- Line {
- SrcBlock "From14"
- SrcPort 1
- DstBlock "Mux"
- DstPort 14
- }
- Line {
- SrcBlock "From15"
- SrcPort 1
- DstBlock "Mux"
- DstPort 15
- }
- Line {
- SrcBlock "From16"
- SrcPort 1
- DstBlock "Mux"
- DstPort 16
- }
- Line {
- SrcBlock "From17"
- SrcPort 1
- DstBlock "Mux"
- DstPort 17
- }
- Line {
- SrcBlock "From18"
- SrcPort 1
- DstBlock "Mux"
- DstPort 18
- }
- Line {
- SrcBlock "From19"
- SrcPort 1
- DstBlock "Mux"
- DstPort 19
- }
- Line {
- SrcBlock "From20"
- SrcPort 1
- DstBlock "Mux"
- DstPort 20
- }
- Line {
- SrcBlock "From21"
- SrcPort 1
- DstBlock "Mux"
- DstPort 21
- }
- }
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [210, 30, 215, 125]
- NamePlacement "alternate"
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType SubSystem
- Name "Sources"
- Ports [0, 1]
- Position [20, 42, 85, 68]
- FontName "Arial"
- FontSize 14
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Sources"
- Location [16, 100, 737, 762]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType From
- Name "From1"
- Position [15, 21, 85, 49]
- GotoTag "tp485689"
- }
- Block {
- BlockType From
- Name "From2"
- Position [15, 66, 85, 94]
- GotoTag "tp485737"
- }
- Block {
- BlockType From
- Name "From3"
- Position [15, 111, 85, 139]
- GotoTag "tp485786"
- }
- Block {
- BlockType From
- Name "From4"
- Position [15, 156, 85, 184]
- GotoTag "tp491373"
- }
- Block {
- BlockType From
- Name "From5"
- Position [15, 201, 85, 229]
- GotoTag "tp491375"
- }
- Block {
- BlockType From
- Name "From6"
- Position [15, 246, 85, 274]
- GotoTag "tp485877"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [6, 1]
- Position [325, 272, 330, 613]
- Inputs "[2 2 2 1 1 3]"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux_u"
- Ports [2, 1]
- Position [465, 374, 470, 461]
- Inputs "[21 11]"
- DisplayOption "bar"
- }
- Block {
- BlockType Constant
- Name "SwitchCurrents"
- Position [350, 379, 430, 411]
- NamePlacement "alternate"
- Value "complex(zeros(21,1),zeros(21,1))"
- }
- Block {
- BlockType Outport
- Name "u"
- Position [505, 413, 535, 427]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Mux_u"
- SrcPort 1
- DstBlock "u"
- DstPort 1
- }
- Line {
- SrcBlock "SwitchCurrents"
- SrcPort 1
- DstBlock "Mux_u"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- Points [0, -5]
- DstBlock "Mux_u"
- DstPort 2
- }
- Line {
- SrcBlock "From1"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "From2"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "From3"
- SrcPort 1
- DstBlock "Mux"
- DstPort 3
- }
- Line {
- SrcBlock "From4"
- SrcPort 1
- DstBlock "Mux"
- DstPort 4
- }
- Line {
- SrcBlock "From5"
- SrcPort 1
- DstBlock "Mux"
- DstPort 5
- }
- Line {
- SrcBlock "From6"
- SrcPort 1
- DstBlock "Mux"
- DstPort 6
- }
- }
- }
- Block {
- BlockType "S-Function"
- Name "State-Space"
- Ports [1, 1]
- Position [240, 58, 320, 102]
- FunctionName "sfun_psbdqc"
- Parameters "H, Rswitch,InputsNonZero"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- }
- Block {
- BlockType SubSystem
- Name "Yout"
- Ports [1]
- Position [455, 68, 520, 92]
- FontName "Arial"
- FontSize 14
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Yout"
- Location [124, 85, 631, 971]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "v,i"
- Position [15, 373, 45, 387]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 72]
- Position [120, 193, 125, 572]
- BackgroundColor "black"
- ShowName off
- Outputs "[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 "
- "1 1 1 1 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1"
- " 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]"
- DisplayOption "bar"
- }
- Block {
- BlockType Goto
- Name "Goto1"
- Position [325, 21, 395, 49]
- GotoTag "tp485609"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto10"
- Position [325, 426, 395, 454]
- GotoTag "tp491295"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto11"
- Position [325, 471, 395, 499]
- GotoTag "tp491300"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto12"
- Position [325, 516, 395, 544]
- GotoTag "tp491306"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto13"
- Position [325, 561, 395, 589]
- GotoTag "tp491311"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto14"
- Position [325, 606, 395, 634]
- GotoTag "tp491315"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto15"
- Position [325, 651, 395, 679]
- GotoTag "tp491322"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto16"
- Position [325, 696, 395, 724]
- GotoTag "tp491326"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto17"
- Position [325, 741, 395, 769]
- GotoTag "tp491331"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto18"
- Position [325, 786, 395, 814]
- GotoTag "tp491337"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto19"
- Position [325, 831, 395, 859]
- GotoTag "tp491342"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto2"
- Position [325, 66, 395, 94]
- GotoTag "tp485614"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto20"
- Position [325, 876, 395, 904]
- GotoTag "tp491347"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto21"
- Position [325, 921, 395, 949]
- GotoTag "tp491259"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto22"
- Position [325, 966, 395, 994]
- GotoTag "tp485691"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto23"
- Position [325, 1011, 395, 1039]
- GotoTag "tp485739"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto24"
- Position [325, 1056, 395, 1084]
- GotoTag "tp485788"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto25"
- Position [325, 1101, 395, 1129]
- GotoTag "tp485578"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto26"
- Position [325, 1146, 395, 1174]
- GotoTag "tp485579"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto27"
- Position [325, 1191, 395, 1219]
- GotoTag "tp485581"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto28"
- Position [325, 1236, 395, 1264]
- GotoTag "tp485589"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto29"
- Position [325, 1281, 395, 1309]
- GotoTag "tp485590"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto3"
- Position [325, 111, 395, 139]
- GotoTag "tp485619"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto30"
- Position [325, 1326, 395, 1354]
- GotoTag "tp485592"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto31"
- Position [325, 1371, 395, 1399]
- GotoTag "tp485598"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto32"
- Position [325, 1416, 395, 1444]
- GotoTag "tp485600"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto33"
- Position [325, 1461, 395, 1489]
- GotoTag "tp485601"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto34"
- Position [325, 1506, 395, 1534]
- GotoTag "tp485694"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto35"
- Position [325, 1551, 395, 1579]
- GotoTag "tp485695"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto36"
- Position [325, 1596, 395, 1624]
- GotoTag "tp485697"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto37"
- Position [325, 1641, 395, 1669]
- GotoTag "tp485742"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto38"
- Position [325, 1686, 395, 1714]
- GotoTag "tp485744"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto39"
- Position [325, 1731, 395, 1759]
- GotoTag "tp485745"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto4"
- Position [325, 156, 395, 184]
- GotoTag "tp491264"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto40"
- Position [325, 1776, 395, 1804]
- GotoTag "tp485791"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto41"
- Position [325, 1821, 395, 1849]
- GotoTag "tp485792"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto42"
- Position [325, 1866, 395, 1894]
- GotoTag "tp485794"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto43"
- Position [325, 1911, 395, 1939]
- GotoTag "tp232111"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto44"
- Position [325, 1956, 395, 1984]
- GotoTag "tp232112"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto45"
- Position [325, 2001, 395, 2029]
- GotoTag "tp232114"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto46"
- Position [325, 2046, 395, 2074]
- GotoTag "tp485863"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto47"
- Position [325, 2091, 395, 2119]
- GotoTag "tp485864"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto48"
- Position [325, 2136, 395, 2164]
- GotoTag "tp485866"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto49"
- Position [325, 2181, 395, 2209]
- GotoTag "tp485583"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto5"
- Position [325, 201, 395, 229]
- GotoTag "tp491269"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto50"
- Position [325, 2226, 395, 2254]
- GotoTag "tp485584"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto51"
- Position [325, 2271, 395, 2299]
- GotoTag "tp485586"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto52"
- Position [325, 2316, 395, 2344]
- GotoTag "tp485594"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto53"
- Position [325, 2361, 395, 2389]
- GotoTag "tp485595"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto54"
- Position [325, 2406, 395, 2434]
- GotoTag "tp485597"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto55"
- Position [325, 2451, 395, 2479]
- GotoTag "tp485603"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto56"
- Position [325, 2496, 395, 2524]
- GotoTag "tp485605"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto57"
- Position [325, 2541, 395, 2569]
- GotoTag "tp485606"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto58"
- Position [325, 2586, 395, 2614]
- GotoTag "tp485698"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto59"
- Position [325, 2631, 395, 2659]
- GotoTag "tp485700"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto6"
- Position [325, 246, 395, 274]
- GotoTag "tp491275"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto60"
- Position [325, 2676, 395, 2704]
- GotoTag "tp485701"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto61"
- Position [325, 2721, 395, 2749]
- GotoTag "tp485747"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto62"
- Position [325, 2766, 395, 2794]
- GotoTag "tp485748"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto63"
- Position [325, 2811, 395, 2839]
- GotoTag "tp485750"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto64"
- Position [325, 2856, 395, 2884]
- GotoTag "tp485795"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto65"
- Position [325, 2901, 395, 2929]
- GotoTag "tp485797"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto66"
- Position [325, 2946, 395, 2974]
- GotoTag "tp485798"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto67"
- Position [325, 2991, 395, 3019]
- GotoTag "tp232116"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto68"
- Position [325, 3036, 395, 3064]
- GotoTag "tp232117"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto69"
- Position [325, 3081, 395, 3109]
- GotoTag "tp232119"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto7"
- Position [325, 291, 395, 319]
- GotoTag "tp491280"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto70"
- Position [325, 3126, 395, 3154]
- GotoTag "tp485867"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto71"
- Position [325, 3171, 395, 3199]
- GotoTag "tp485869"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto72"
- Position [325, 3216, 395, 3244]
- GotoTag "tp485870"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto8"
- Position [325, 336, 395, 364]
- GotoTag "tp491284"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto9"
- Position [325, 381, 395, 409]
- GotoTag "tp491290"
- TagVisibility "global"
- }
- Line {
- SrcBlock "v,i"
- SrcPort 1
- Points [55, 0]
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- DstBlock "Goto1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Goto2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- DstBlock "Goto3"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 4
- DstBlock "Goto4"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 5
- DstBlock "Goto5"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 6
- DstBlock "Goto6"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 7
- DstBlock "Goto7"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 8
- DstBlock "Goto8"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 9
- DstBlock "Goto9"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 10
- DstBlock "Goto10"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 11
- DstBlock "Goto11"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 12
- DstBlock "Goto12"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 13
- DstBlock "Goto13"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 14
- DstBlock "Goto14"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 15
- DstBlock "Goto15"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 16
- DstBlock "Goto16"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 17
- DstBlock "Goto17"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 18
- DstBlock "Goto18"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 19
- DstBlock "Goto19"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 20
- DstBlock "Goto20"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 21
- DstBlock "Goto21"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 22
- DstBlock "Goto22"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 23
- DstBlock "Goto23"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 24
- DstBlock "Goto24"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 25
- DstBlock "Goto25"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 26
- DstBlock "Goto26"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 27
- DstBlock "Goto27"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 28
- DstBlock "Goto28"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 29
- DstBlock "Goto29"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 30
- DstBlock "Goto30"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 31
- DstBlock "Goto31"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 32
- DstBlock "Goto32"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 33
- DstBlock "Goto33"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 34
- DstBlock "Goto34"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 35
- DstBlock "Goto35"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 36
- DstBlock "Goto36"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 37
- DstBlock "Goto37"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 38
- DstBlock "Goto38"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 39
- DstBlock "Goto39"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 40
- DstBlock "Goto40"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 41
- DstBlock "Goto41"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 42
- DstBlock "Goto42"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 43
- DstBlock "Goto43"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 44
- DstBlock "Goto44"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 45
- DstBlock "Goto45"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 46
- DstBlock "Goto46"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 47
- DstBlock "Goto47"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 48
- DstBlock "Goto48"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 49
- DstBlock "Goto49"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 50
- DstBlock "Goto50"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 51
- DstBlock "Goto51"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 52
- DstBlock "Goto52"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 53
- DstBlock "Goto53"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 54
- DstBlock "Goto54"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 55
- DstBlock "Goto55"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 56
- DstBlock "Goto56"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 57
- DstBlock "Goto57"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 58
- DstBlock "Goto58"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 59
- DstBlock "Goto59"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 60
- DstBlock "Goto60"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 61
- DstBlock "Goto61"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 62
- DstBlock "Goto62"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 63
- DstBlock "Goto63"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 64
- DstBlock "Goto64"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 65
- DstBlock "Goto65"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 66
- DstBlock "Goto66"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 67
- DstBlock "Goto67"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 68
- DstBlock "Goto68"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 69
- DstBlock "Goto69"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 70
- DstBlock "Goto70"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 71
- DstBlock "Goto71"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 72
- DstBlock "Goto72"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "conversion"
- Ports [1, 1]
- Position [345, 59, 430, 101]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "conversion"
- Location [484, 549, 719, 639]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Yout"
- Position [25, 38, 55, 52]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux1"
- Ports [1, 2]
- Position [80, 26, 85, 64]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType RealImagToComplex
- Name "Real-Imag tonComplex"
- Ports [2, 1]
- Position [135, 26, 155, 64]
- ShowName off
- }
- Block {
- BlockType Outport
- Name "Complex"
- Position [180, 38, 210, 52]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Yout"
- SrcPort 1
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- SrcBlock "Real-Imag tonComplex"
- SrcPort 1
- DstBlock "Complex"
- DstPort 1
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 2
- DstBlock "Real-Imag tonComplex"
- DstPort 2
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 1
- DstBlock "Real-Imag tonComplex"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "conversion "
- Ports [1, 1]
- Position [110, 38, 185, 72]
- NamePlacement "alternate"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "conversion "
- Location [708, 736, 963, 843]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Complex"
- Position [25, 53, 55, 67]
- IconDisplay "Port number"
- }
- Block {
- BlockType ComplexToRealImag
- Name "Complex tonReal-Imag"
- Ports [1, 2]
- Position [80, 34, 140, 81]
- ShowName off
- Output "Real and imag"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [170, 30, 175, 85]
- NamePlacement "alternate"
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Outport
- Name "u"
- Position [200, 53, 230, 67]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "u"
- DstPort 1
- }
- Line {
- SrcBlock "Complex"
- SrcPort 1
- DstBlock "Complex tonReal-Imag"
- DstPort 1
- }
- Line {
- SrcBlock "Complex tonReal-Imag"
- SrcPort 2
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "Complex tonReal-Imag"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Sources"
- SrcPort 1
- DstBlock "conversion "
- DstPort 1
- }
- Line {
- SrcBlock "conversion "
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "Gates"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "State-Space"
- DstPort 1
- }
- Line {
- SrcBlock "conversion"
- SrcPort 1
- DstBlock "Yout"
- DstPort 1
- }
- Line {
- SrcBlock "State-Space"
- SrcPort 1
- DstBlock "conversion"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Ground
- Name "Ground"
- Position [315, 40, 335, 60]
- ShowName off
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [355, 40, 375, 60]
- ShowName off
- }
- Line {
- SrcBlock "Ground"
- SrcPort 1
- DstBlock "Terminator"
- DstPort 1
- }
- Annotation {
- Name "Graphical user interface for the analysis o"
- "f SimPowerSystems circuits. nPlace the Powergui block in the top-level of y"
- "our model and double-clicknon it to open the GUI."
- Position [14, 29]
- HorizontalAlignment "left"
- ForegroundColor "blue"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- }
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "120 kV/25 kVn47 MVA"
- SrcPort RConn2
- Points [0, 0; 15, 0]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "25 km line"
- DstPort LConn2
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, 80]
- DstBlock "GroundingnTransformernX0=4.7 Ohms"
- DstPort LConn2
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "120 kV/25 kVn47 MVA"
- SrcPort RConn3
- Points [0, 0; 25, 0]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "25 km line"
- DstPort LConn3
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, 75]
- DstBlock "GroundingnTransformernX0=4.7 Ohms"
- DstPort LConn3
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "120 kV/25 kVn47 MVA"
- SrcPort RConn1
- Points [0, 0; 5, 0]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "25 km line"
- DstPort LConn1
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, 85]
- DstBlock "GroundingnTransformernX0=4.7 Ohms"
- DstPort LConn1
- }
- }
- Line {
- LineType "Connection"
- Points [605, 105; 0, 155; 45, 0]
- DstBlock "STATCOMn(Phasor Type)"
- DstPort LConn2
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B25n(25 kV)"
- SrcPort RConn2
- Points [0, 0; 90, 0]
- }
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "Wind Farm"
- DstPort LConn2
- }
- }
- Line {
- LineType "Connection"
- Points [615, 120; 0, 155; 35, 0]
- DstBlock "STATCOMn(Phasor Type)"
- DstPort LConn3
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B25n(25 kV)"
- SrcPort RConn3
- Points [0, 0; 100, 0]
- }
- Branch {
- ConnectType "SRC_SRC"
- Points [25, 0; 0, 15]
- DstBlock "Wind Farm"
- DstPort LConn3
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "Ground1"
- SrcPort LConn1
- Points [0, -5]
- DstBlock "120 kV"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "120 kV"
- SrcPort RConn1
- DstBlock "2500 MVAnX0/X1=3"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "120 kV"
- SrcPort RConn2
- DstBlock "2500 MVAnX0/X1=3"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "120 kV"
- SrcPort RConn3
- DstBlock "2500 MVAnX0/X1=3"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "3.3ohms "
- SrcPort RConn1
- DstBlock "Ground3"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "GroundingnTransformernX0=4.7 Ohms"
- SrcPort LConn4
- Points [25, 0]
- DstBlock "3.3ohms "
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "2500 MVAnX0/X1=3"
- SrcPort RConn1
- DstBlock "120 kV/25 kVn47 MVA"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "2500 MVAnX0/X1=3"
- SrcPort RConn2
- DstBlock "120 kV/25 kVn47 MVA"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "2500 MVAnX0/X1=3"
- SrcPort RConn3
- DstBlock "120 kV/25 kVn47 MVA"
- DstPort LConn3
- }
- Line {
- Name "Vabc_B25 (pu)"
- Labels [0, 0]
- SrcBlock "B25_WF BusnData acquisition"
- SrcPort 1
- DstBlock "B25 Bus"
- DstPort 1
- }
- Line {
- Name "P_B25 (MW)"
- Labels [0, 0]
- SrcBlock "B25_WF BusnData acquisition"
- SrcPort 2
- DstBlock "B25 Bus"
- DstPort 2
- }
- Line {
- Name "Q_B25 (Mvar)"
- Labels [0, 0]
- SrcBlock "B25_WF BusnData acquisition"
- SrcPort 3
- DstBlock "B25 Bus"
- DstPort 3
- }
- Line {
- Name "V_B25 pos. seq. (pu)"
- Labels [0, 0]
- SrcBlock "B25_WF BusnData acquisition"
- SrcPort 4
- DstBlock "B25 Bus"
- DstPort 4
- }
- Line {
- Name "I_B25 pos. seq. (pu/10 MVA) "
- Labels [0, 0]
- SrcBlock "B25_WF BusnData acquisition"
- SrcPort 5
- DstBlock "B25 Bus"
- DstPort 5
- }
- Line {
- LineType "Connection"
- Points [590, 90; 0, 155; 60, 0]
- DstBlock "STATCOMn(Phasor Type)"
- DstPort LConn1
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B25n(25 kV)"
- SrcPort RConn1
- Points [0, 0; 75, 0]
- }
- Branch {
- ConnectType "SRC_SRC"
- Points [50, 0; 0, -15]
- DstBlock "Wind Farm"
- DstPort LConn1
- }
- }
- Line {
- SrcBlock "Wind Farm"
- SrcPort 1
- DstBlock "Goto"
- DstPort 1
- }
- Line {
- SrcBlock "No trip"
- SrcPort 1
- Points [5, 0; 0, 15]
- DstBlock "Manual Switch"
- DstPort 1
- }
- Line {
- SrcBlock "Trip"
- SrcPort 1
- DstBlock "Manual Switch"
- DstPort 2
- }
- Line {
- Name "Vm (pu)"
- Labels [0, 0]
- SrcBlock "STATCOMnData acquisition"
- SrcPort 1
- DstBlock "Statcom"
- DstPort 1
- }
- Line {
- Name "Generated Q (Mvar)"
- Labels [0, 0]
- SrcBlock "STATCOMnData acquisition"
- SrcPort 2
- DstBlock "Statcom"
- DstPort 2
- }
- Line {
- Name "P1_3 (MW)"
- Labels [0, 0]
- SrcBlock "Wind Farm 1 & 2nData acquisition"
- SrcPort 1
- DstBlock " Wind Turbines"
- DstPort 1
- }
- Line {
- Name "Q1_3 (Mvar)"
- Labels [0, 0]
- SrcBlock "Wind Farm 1 & 2nData acquisition"
- SrcPort 2
- DstBlock " Wind Turbines"
- DstPort 2
- }
- Line {
- Name "wr1_3 (pu)"
- Labels [0, 0]
- SrcBlock "Wind Farm 1 & 2nData acquisition"
- SrcPort 3
- DstBlock " Wind Turbines"
- DstPort 3
- }
- Line {
- Name "wind1_3 (m/s)"
- Labels [0, 0]
- SrcBlock "Wind Farm 1 & 2nData acquisition"
- SrcPort 4
- DstBlock " Wind Turbines"
- DstPort 4
- }
- Line {
- Name "pitch1_3 (deg)"
- Labels [0, 0]
- SrcBlock "Wind Farm 1 & 2nData acquisition"
- SrcPort 5
- DstBlock " Wind Turbines"
- DstPort 5
- }
- Line {
- SrcBlock "Manual Switch"
- SrcPort 1
- DstBlock "STATCOMn(Phasor Type)"
- DstPort 1
- }
- Line {
- SrcBlock "STATCOMn(Phasor Type)"
- SrcPort 1
- DstBlock "Goto1"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "25 km line"
- SrcPort RConn1
- DstBlock "B25n(25 kV)"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "25 km line"
- SrcPort RConn2
- DstBlock "B25n(25 kV)"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "25 km line"
- SrcPort RConn3
- DstBlock "B25n(25 kV)"
- DstPort LConn3
- }
- Annotation {
- Name "Phasor Simulation of a 9-MW Wind Farm Using Ind"
- "uction Generator Wind Turbines"
- Position [457, 574]
- ForegroundColor "blue"
- UseDisplayTextAsClickCallback off
- FontSize 14
- FontWeight "bold"
- }
- Annotation {
- Name "Pn<------"
- Position [494, 24]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 14
- FontWeight "bold"
- }
- Annotation {
- Name "Qn------>"
- Position [494, 54]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 14
- FontWeight "bold"
- }
- Annotation {
- Name "9 MW Wind Farm"
- Position [703, 174]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- FontWeight "bold"
- }
- }
- }