power_wind_dfig_det.mdl
资源名称:DFIGFarm.rar [点击查看]
上传用户:sdgangguan
上传日期:2017-10-18
资源大小:179k
文件大小:311k
源码类别:
能源行业(电力石油煤炭)
开发平台:
Matlab
- }
- 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 "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
- }
- }
- Line {
- SrcBlock "Grid-side converternControl system"
- SrcPort 1
- DstBlock "Uctrl_grid_conv"
- DstPort 1
- }
- Line {
- SrcBlock "Rotor-side converternControl syste"
- "m"
- SrcPort 1
- DstBlock "Uctrl_rotor_conv"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Reference
- Name "Discrete 3-phasenPWM Generator"
- Ports [1, 2]
- Position [685, 64, 745, 126]
- SourceBlock "powerlib_extras/Discrete nControl Bloc"
- "ks/Discrete 3-phasenPWM Generator"
- SourceType "Discrete 3-phase PWM Generator (2- or 3"
- "-level)"
- ShowPortLabels "on"
- ModulatorType "2-level"
- ModulatorMode "Un-synchronized"
- nF "27"
- Fc "PWM_freq"
- ModulatingSignals "off"
- m "0.2"
- Freq "60"
- Phase "0"
- Ts "Ts_Power"
- }
- Block {
- BlockType Reference
- Name "Discrete 3-phasenPWM Generator1"
- Ports [1, 2]
- Position [685, 179, 745, 241]
- SourceBlock "powerlib_extras/Discrete nControl Bloc"
- "ks/Discrete 3-phasenPWM Generator"
- SourceType "Discrete 3-phase PWM Generator (2- or 3"
- "-level)"
- ShowPortLabels "on"
- ModulatorType "2-level"
- ModulatorMode "Un-synchronized"
- nF "27"
- Fc "PWM_freq"
- ModulatingSignals "off"
- m "0.2"
- Freq "60"
- Phase "0"
- Ts "Ts_Power"
- }
- Block {
- BlockType SubSystem
- Name "Filtern1000 Hz"
- Ports [10, 10]
- Position [215, 40, 375, 495]
- BackgroundColor "yellow"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskPromptString "Cut-off frequency (Hz):|Damping factor "
- "Zeta:|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 "Freq=@1;Zeta=@2;Ts=@3;"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "1000|0.707|Ts_Power"
- MaskTabNameString ",,"
- System {
- Name "Filtern1000 Hz"
- Location [804, 74, 1211, 816]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Vabc_B1"
- Position [70, 103, 100, 117]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iabc_grid_conv"
- Position [70, 273, 100, 287]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Vdc"
- Position [70, 403, 100, 417]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iabc_stator"
- Position [70, 523, 100, 537]
- Port "4"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iabc_rotor"
- Position [70, 703, 100, 717]
- Port "5"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Q_ref"
- Position [70, 843, 100, 857]
- Port "6"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Iq_grid_conv_ref"
- Position [70, 908, 100, 922]
- Port "7"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Q_B1"
- Position [70, 993, 100, 1007]
- Port "8"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "wr"
- Position [70, 1058, 100, 1072]
- Port "9"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "angle_rotor"
- Position [70, 1118, 100, 1132]
- Port "10"
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [130, 71, 135, 149]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Demux
- Name "Demux1"
- Ports [1, 3]
- Position [130, 241, 135, 319]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Demux
- Name "Demux2"
- Ports [1, 3]
- Position [130, 491, 135, 569]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Demux
- Name "Demux3"
- Ports [1, 3]
- Position [130, 671, 135, 749]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter1"
- Ports [1, 1]
- Position [185, 30, 245, 80]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter10"
- Ports [1, 1]
- Position [185, 560, 245, 610]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter11"
- Ports [1, 1]
- Position [185, 825, 245, 875]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter12"
- Ports [1, 1]
- Position [185, 975, 245, 1025]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter13"
- Ports [1, 1]
- Position [185, 1040, 245, 1090]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter14"
- Ports [1, 1]
- Position [185, 1100, 245, 1150]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter16"
- Ports [1, 1]
- Position [185, 740, 245, 790]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter17"
- Ports [1, 1]
- Position [185, 630, 245, 680]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter18"
- Ports [1, 1]
- Position [185, 685, 245, 735]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter2"
- Ports [1, 1]
- Position [185, 85, 245, 135]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter20"
- Ports [1, 1]
- Position [185, 890, 245, 940]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter3"
- Ports [1, 1]
- Position [185, 140, 245, 190]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter4"
- Ports [1, 1]
- Position [185, 200, 245, 250]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter5"
- Ports [1, 1]
- Position [185, 255, 245, 305]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter6"
- Ports [1, 1]
- Position [185, 310, 245, 360]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter7"
- Ports [1, 1]
- Position [185, 385, 245, 435]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter8"
- Ports [1, 1]
- Position [185, 450, 245, 500]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Reference
- Name "Discrete n2nd-OrdernFilter9"
- Ports [1, 1]
- Position [185, 505, 245, 555]
- ShowName off
- SourceBlock "powerlib_extras/Discrete nControl "
- "Blocks/Discrete n2nd-OrdernFilter"
- SourceType "Discrete 2nd-Order Filter"
- ShowPortLabels "on"
- FilterType "Lowpass"
- Fo "Freq"
- Zeta "Zeta"
- Ts "Ts"
- Initialize "off"
- Vac_Init "[0.8 -25 60]"
- Vdc_Init "-0.4"
- PlotResponse "off"
- param1 "[1 500 1]"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [3, 1]
- Position [290, 71, 295, 149]
- ShowName off
- Inputs "3"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [3, 1]
- Position [290, 241, 295, 319]
- ShowName off
- Inputs "3"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux2"
- Ports [3, 1]
- Position [290, 491, 295, 569]
- ShowName off
- Inputs "3"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux3"
- Ports [3, 1]
- Position [290, 671, 295, 749]
- ShowName off
- Inputs "3"
- DisplayOption "bar"
- }
- Block {
- BlockType Outport
- Name "Vabc_B1 "
- Position [325, 103, 355, 117]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Iabc_grid_conv "
- Position [325, 273, 355, 287]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Vdc "
- Position [325, 403, 355, 417]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Iabc_stator "
- Position [325, 523, 355, 537]
- Port "4"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Iabc_rotor "
- Position [325, 703, 355, 717]
- Port "5"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Q_ref "
- Position [325, 843, 355, 857]
- Port "6"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Iq_grid_conv_ref "
- Position [325, 908, 355, 922]
- Port "7"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Q_B1 "
- Position [325, 993, 355, 1007]
- Port "8"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "wr "
- Position [325, 1058, 355, 1072]
- Port "9"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "angle_rotor "
- Position [325, 1118, 355, 1132]
- Port "10"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [20, 0; 0, -30]
- DstBlock "Discrete n2nd-OrdernFilter1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Discrete n2nd-OrdernFilter2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- Points [15, 0; 0, 30]
- DstBlock "Discrete n2nd-OrdernFilter3"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter1"
- SrcPort 1
- Points [10, 0; 0, 30]
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter2"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter3"
- SrcPort 1
- Points [10, 0; 0, -30]
- DstBlock "Mux"
- DstPort 3
- }
- Line {
- SrcBlock "Vabc_B1"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Vabc_B1 "
- DstPort 1
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 1
- Points [20, 0; 0, -30]
- DstBlock "Discrete n2nd-OrdernFilter4"
- DstPort 1
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 2
- DstBlock "Discrete n2nd-OrdernFilter5"
- DstPort 1
- }
- Line {
- SrcBlock "Demux1"
- SrcPort 3
- Points [15, 0; 0, 30]
- DstBlock "Discrete n2nd-OrdernFilter6"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter4"
- SrcPort 1
- Points [10, 0; 0, 30]
- DstBlock "Mux1"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter5"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 2
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter6"
- SrcPort 1
- Points [10, 0; 0, -30]
- DstBlock "Mux1"
- DstPort 3
- }
- Line {
- SrcBlock "Iabc_grid_conv"
- SrcPort 1
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "Iabc_grid_conv "
- DstPort 1
- }
- Line {
- SrcBlock "Vdc"
- SrcPort 1
- DstBlock "Discrete n2nd-OrdernFilter7"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter7"
- SrcPort 1
- DstBlock "Vdc "
- DstPort 1
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 1
- Points [20, 0; 0, -30]
- DstBlock "Discrete n2nd-OrdernFilter8"
- DstPort 1
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 2
- DstBlock "Discrete n2nd-OrdernFilter9"
- DstPort 1
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 3
- Points [15, 0; 0, 30]
- DstBlock "Discrete n2nd-OrdernFilter10"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter8"
- SrcPort 1
- Points [10, 0; 0, 30]
- DstBlock "Mux2"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter9"
- SrcPort 1
- DstBlock "Mux2"
- DstPort 2
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter10"
- SrcPort 1
- Points [10, 0; 0, -30]
- DstBlock "Mux2"
- DstPort 3
- }
- Line {
- SrcBlock "Iabc_stator"
- SrcPort 1
- DstBlock "Demux2"
- DstPort 1
- }
- Line {
- SrcBlock "Mux2"
- SrcPort 1
- DstBlock "Iabc_stator "
- DstPort 1
- }
- Line {
- SrcBlock "Q_ref"
- SrcPort 1
- DstBlock "Discrete n2nd-OrdernFilter11"
- DstPort 1
- }
- Line {
- SrcBlock "Q_B1"
- SrcPort 1
- DstBlock "Discrete n2nd-OrdernFilter12"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter12"
- SrcPort 1
- DstBlock "Q_B1 "
- DstPort 1
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- DstBlock "Discrete n2nd-OrdernFilter13"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter13"
- SrcPort 1
- DstBlock "wr "
- DstPort 1
- }
- Line {
- SrcBlock "angle_rotor"
- SrcPort 1
- DstBlock "Discrete n2nd-OrdernFilter14"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter14"
- SrcPort 1
- DstBlock "angle_rotor "
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter11"
- SrcPort 1
- DstBlock "Q_ref "
- DstPort 1
- }
- Line {
- SrcBlock "Demux3"
- SrcPort 1
- Points [20, 0; 0, -30]
- DstBlock "Discrete n2nd-OrdernFilter17"
- DstPort 1
- }
- Line {
- SrcBlock "Demux3"
- SrcPort 2
- DstBlock "Discrete n2nd-OrdernFilter18"
- DstPort 1
- }
- Line {
- SrcBlock "Demux3"
- SrcPort 3
- Points [15, 0; 0, 30]
- DstBlock "Discrete n2nd-OrdernFilter16"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter17"
- SrcPort 1
- Points [10, 0; 0, 30]
- DstBlock "Mux3"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter18"
- SrcPort 1
- DstBlock "Mux3"
- DstPort 2
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter16"
- SrcPort 1
- Points [10, 0; 0, -30]
- DstBlock "Mux3"
- DstPort 3
- }
- Line {
- SrcBlock "Iabc_rotor"
- SrcPort 1
- DstBlock "Demux3"
- DstPort 1
- }
- Line {
- SrcBlock "Mux3"
- SrcPort 1
- DstBlock "Iabc_rotor "
- DstPort 1
- }
- Line {
- SrcBlock "Iq_grid_conv_ref"
- SrcPort 1
- DstBlock "Discrete n2nd-OrdernFilter20"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete n2nd-OrdernFilter20"
- SrcPort 1
- DstBlock "Iq_grid_conv_ref "
- DstPort 1
- }
- }
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [770, 103, 780, 117]
- ShowName off
- }
- Block {
- BlockType Terminator
- Name "Terminator1"
- Position [770, 218, 780, 232]
- ShowName off
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay1"
- Position [615, 200, 635, 220]
- BackgroundColor "lightBlue"
- ShowName off
- SampleTime "Ts_Power"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay2"
- Position [615, 85, 635, 105]
- BackgroundColor "lightBlue"
- ShowName off
- SampleTime "Ts_Power"
- }
- Block {
- BlockType Outport
- Name "Pulses_grid_conv"
- Position [815, 73, 845, 87]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Pulses_rotor_conv"
- Position [820, 188, 850, 202]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Theta_Freq"
- Position [615, 318, 645, 332]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Pitch_angle"
- Position [620, 433, 650, 447]
- Port "4"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "wr"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 9
- }
- Line {
- SrcBlock "Q_B1"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 8
- }
- Line {
- SrcBlock "Iabc_grid_conv"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 2
- }
- Line {
- SrcBlock "Iabc_rotor"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 5
- }
- Line {
- SrcBlock "Control"
- SrcPort 1
- DstBlock "Unit Delay2"
- DstPort 1
- }
- Line {
- SrcBlock "Control"
- SrcPort 2
- DstBlock "Unit Delay1"
- DstPort 1
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 1
- DstBlock "Control"
- DstPort 1
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 2
- DstBlock "Control"
- DstPort 2
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 3
- DstBlock "Control"
- DstPort 3
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 4
- DstBlock "Control"
- DstPort 4
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 5
- DstBlock "Control"
- DstPort 5
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 6
- DstBlock "Control"
- DstPort 6
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 7
- DstBlock "Control"
- DstPort 7
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 8
- DstBlock "Control"
- DstPort 8
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 9
- DstBlock "Control"
- DstPort 9
- }
- Line {
- SrcBlock "Filtern1000 Hz"
- SrcPort 10
- DstBlock "Control"
- DstPort 10
- }
- Line {
- SrcBlock "Vabc_B1"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 1
- }
- Line {
- SrcBlock "Iabc_stator"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 4
- }
- Line {
- SrcBlock "Q_ref"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 6
- }
- Line {
- SrcBlock "Iq_grid_conv_ref"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 7
- }
- Line {
- SrcBlock "Control"
- SrcPort 3
- DstBlock "Theta_Freq"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete 3-phasenPWM Generator"
- SrcPort 2
- DstBlock "Terminator"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete 3-phasenPWM Generator"
- SrcPort 1
- DstBlock "Pulses_grid_conv"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete 3-phasenPWM Generator1"
- SrcPort 2
- DstBlock "Terminator1"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete 3-phasenPWM Generator1"
- SrcPort 1
- DstBlock "Pulses_rotor_conv"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay2"
- SrcPort 1
- DstBlock "Discrete 3-phasenPWM Generator"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay1"
- SrcPort 1
- DstBlock "Discrete 3-phasenPWM Generator1"
- DstPort 1
- }
- Line {
- SrcBlock "Vdc"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 3
- }
- Line {
- SrcBlock "Control"
- SrcPort 4
- DstBlock "Pitch_angle"
- DstPort 1
- }
- Line {
- SrcBlock "angle_rotor"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 10
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Data acquisition"
- Ports [5, 3]
- Position [675, 627, 760, 783]
- BackgroundColor "green"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Data acquisition"
- Location [258, 106, 1179, 481]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Vabc_B1"
- Position [25, 38, 55, 52]
- IconDisplay "Port number"
- Port {
- PortNumber 1
- Name "Vabc_B1"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Inport
- Name "Iabc_B1"
- Position [25, 78, 55, 92]
- Port "2"
- IconDisplay "Port number"
- Port {
- PortNumber 1
- Name "Iabc_B1"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Inport
- Name "wr"
- Position [660, 238, 690, 252]
- Port "3"
- IconDisplay "Port number"
- Port {
- PortNumber 1
- Name "wr"
- PropagatedSignals "Rotor speed (wm)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Inport
- Name "Theta_Freq"
- Position [120, 123, 150, 137]
- Port "4"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Pitch_angle"
- Position [665, 278, 695, 292]
- Port "5"
- IconDisplay "Port number"
- Port {
- PortNumber 1
- Name "Pitch_angle (deg)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Gain
- Name "-->pu"
- Position [600, 134, 620, 156]
- Gain "1/Pnom"
- Port {
- PortNumber 1
- Name "Q"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Gain
- Name "-->pu1"
- Position [605, 104, 625, 126]
- Gain "1/Pnom"
- Port {
- PortNumber 1
- Name "P"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Gain
- Name "-1"
- Position [490, 137, 530, 163]
- Gain "-1"
- }
- Block {
- BlockType Demux
- Name "Demux1"
- Ports [1, 2]
- Position [555, 99, 560, 161]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- Port {
- PortNumber 1
- Name "P"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 2
- Name "Q"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Demux
- Name "Demux2"
- Ports [1, 2]
- Position [185, 99, 190, 161]
- BackgroundColor "black"
- ShowName off
- Outputs "2"
- }
- Block {
- BlockType Reference
- Name "Discrete 3-phasenPLL-Driven nPositive"
- "-SequencenActive & Reactive Power"
- Ports [4, 2]
- Position [385, 99, 460, 166]
- SourceBlock "powerlib_extras/DiscretenMeasurements/"
- "Discrete 3-phasenPLL-Driven nPositive-SequencenActive & Reactive Power"
- SourceType "Discrete 3-phase PLL-Driven Positive-Se"
- "quence Active & Reactive Power "
- ShowPortLabels "on"
- Finit "Fnom"
- Fmin "45"
- Par_Vinit "[1 30]"
- Par_Iinit "[0.5 -10]"
- Ts "Ts_Control"
- }
- Block {
- BlockType Reference
- Name "Multimeter"
- Ports [0, 1]
- Position [410, 296, 450, 334]
- SourceBlock "powerlib/Measurements/Multimeter"
- SourceType "MultimeterPSB"
- ShowPortLabels "on"
- PhasorSimulation "off"
- OutputType "Complex"
- sel "1"
- L "1"
- Gain "1"
- yselected "{'Ub: Wind Turbine Doubly-Fed Induction"
- " Generator (Detailed Model)/C1'};"
- PSBOutputType "1"
- PSBequivalent "0"
- AxesSetting "[0,0.1,-100,100]"
- Display "0"
- SavedBlockNames "-11"
- Port {
- PortNumber 1
- Name "Vdc"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [325, 113, 330, 182]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [7, 1]
- Position [815, 15, 820, 315]
- ShowName off
- Inputs "7"
- DisplayOption "bar"
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [490, 109, 500, 121]
- ShowName off
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction"
- Ports [1, 1]
- Position [275, 115, 305, 145]
- ShowName off
- }
- Block {
- BlockType Trigonometry
- Name "TrigonometricnFunction1"
- Ports [1, 1]
- Position [275, 150, 305, 180]
- ShowName off
- Operator "cos"
- }
- Block {
- BlockType Gain
- Name "pu->A"
- Position [195, 224, 215, 246]
- Gain "Pnom/sqrt(3)/Vnom*sqrt(2)"
- }
- Block {
- BlockType Gain
- Name "pu->V"
- Position [195, 199, 215, 221]
- NamePlacement "alternate"
- Gain "Vnom*sqrt(2)/sqrt(3)"
- }
- Block {
- BlockType Outport
- Name "m"
- Position [850, 158, 880, 172]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Q_B1"
- Position [675, 173, 705, 187]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Vdc"
- Position [575, 308, 605, 322]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- Name "Pitch_angle (deg)"
- Labels [1, 1]
- SrcBlock "Pitch_angle"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 7
- }
- Line {
- Name "Vdc"
- Labels [0, 0]
- SrcBlock "Multimeter"
- SrcPort 1
- Points [0, 0; 70, 0]
- Branch {
- Labels [2, 0]
- Points [0, -110]
- DstBlock "Mux1"
- DstPort 5
- }
- Branch {
- DstBlock "Vdc"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 2
- Points [30, 0; 0, -45; 145, 0]
- DstBlock "Discrete 3-phasenPLL-Driven nPositive"
- "-SequencenActive & Reactive Power"
- DstPort 1
- }
- Line {
- SrcBlock "Demux2"
- SrcPort 1
- Points [60, 0; 0, 15]
- Branch {
- Points [0, 35]
- DstBlock "TrigonometricnFunction1"
- DstPort 1
- }
- Branch {
- DstBlock "TrigonometricnFunction"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Theta_Freq"
- SrcPort 1
- DstBlock "Demux2"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete 3-phasenPLL-Driven nPositive"
- "-SequencenActive & Reactive Power"
- SrcPort 1
- DstBlock "Terminator"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- Points [0, -25]
- DstBlock "Discrete 3-phasenPLL-Driven nPositive"
- "-SequencenActive & Reactive Power"
- DstPort 2
- }
- Line {
- SrcBlock "TrigonometricnFunction1"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "TrigonometricnFunction"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "pu->V"
- SrcPort 1
- Points [130, 0; 0, -70]
- DstBlock "Discrete 3-phasenPLL-Driven nPositive"
- "-SequencenActive & Reactive Power"
- DstPort 3
- }
- Line {
- SrcBlock "Discrete 3-phasenPLL-Driven nPositive"
- "-SequencenActive & Reactive Power"
- SrcPort 2
- DstBlock "-1"
- DstPort 1
- }
- Line {
- Name "Q"
- Labels [0, 0]
- SrcBlock "-->pu"
- SrcPort 1
- Points [0, 0; 30, 0]
- Branch {
- Labels [1, 0]
- Points [145, 0]
- DstBlock "Mux1"
- DstPort 4
- }
- Branch {
- Points [0, 35]
- DstBlock "Q_B1"
- DstPort 1
- }
- }
- Line {
- Name "P"
- Labels [0, 0; 3, 0]
- SrcBlock "-->pu1"
- SrcPort 1
- Points [25, 0; 0, 10]
- DstBlock "Mux1"
- DstPort 3
- }
- Line {
- SrcBlock "pu->A"
- SrcPort 1
- Points [140, 0; 0, -80]
- DstBlock "Discrete 3-phasenPLL-Driven nPositive"
- "-SequencenActive & Reactive Power"
- DstPort 4
- }
- Line {
- Name "wr"
- Labels [1, 0]
- SrcBlock "wr"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 6
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "m"
- DstPort 1
- }
- Line {
- Name "Iabc_B1"
- SrcBlock "Iabc_B1"
- SrcPort 1
- Points [0, 0; 20, 0]
- Branch {
- Points [0, 150]
- DstBlock "pu->A"
- DstPort 1
- }
- Branch {
- Labels [1, 0]
- DstBlock "Mux1"
- DstPort 2
- }
- }
- Line {
- Name "Vabc_B1"
- SrcBlock "Vabc_B1"
- SrcPort 1
- Points [30, 0]
- Branch {
- Points [0, 165]
- DstBlock "pu->V"
- DstPort 1
- }
- Branch {
- Labels [1, 0]
- DstBlock "Mux1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "-1"
- SrcPort 1
- Points [0, -20]
- DstBlock "Demux1"
- DstPort 1
- }
- Line {
- Name "Q"
- Labels [1, 0]
- SrcBlock "Demux1"
- SrcPort 2
- DstBlock "-->pu"
- DstPort 1
- }
- Line {
- Name "P"
- Labels [1, 0]
- SrcBlock "Demux1"
- SrcPort 1
- DstBlock "-->pu1"
- DstPort 1
- }
- }
- }
- Block {
- BlockType From
- Name "From1"
- Position [560, 512, 600, 528]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Beta"
- }
- Block {
- BlockType From
- Name "From10"
- Position [30, 752, 85, 768]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Q_B1"
- }
- Block {
- BlockType From
- Name "From11"
- Position [30, 792, 85, 808]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vdc"
- }
- Block {
- BlockType From
- Name "From12"
- Position [575, 668, 640, 682]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_B1"
- }
- Block {
- BlockType From
- Name "From13"
- Position [575, 758, 640, 772]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Beta"
- }
- Block {
- BlockType From
- Name "From15"
- Position [575, 728, 640, 742]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Theta_Freq"
- }
- Block {
- BlockType From
- Name "From16"
- Position [575, 638, 640, 652]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_B1"
- }
- Block {
- BlockType From
- Name "From19"
- Position [575, 699, 620, 711]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "wr"
- }
- Block {
- BlockType From
- Name "From2"
- Position [30, 472, 90, 488]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_B1"
- }
- Block {
- BlockType From
- Name "From3"
- Position [560, 482, 600, 498]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "wr"
- }
- Block {
- BlockType From
- Name "From4"
- Position [30, 832, 120, 848]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "angle_rotor"
- }
- Block {
- BlockType From
- Name "From5"
- Position [435, 107, 480, 123]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Tm"
- }
- Block {
- BlockType From
- Name "From6"
- Position [30, 632, 120, 648]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_grid_conv"
- }
- Block {
- BlockType From
- Name "From7"
- Position [30, 672, 120, 688]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_stator"
- }
- Block {
- BlockType From
- Name "From8"
- Position [30, 712, 120, 728]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_rotor"
- }
- Block {
- BlockType From
- Name "From9"
- Position [30, 592, 85, 608]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "wr"
- }
- Block {
- BlockType Goto
- Name "Goto1"
- Position [325, 803, 395, 817]
- ShowName off
- GotoTag "Beta"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto10"
- Position [790, 117, 870, 133]
- ShowName off
- GotoTag "angle_rotor"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto11"
- Position [325, 703, 395, 717]
- ShowName off
- GotoTag "Theta_Freq"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto3"
- Position [120, 82, 185, 98]
- ShowName off
- GotoTag "Iabc_B1"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto4"
- Position [810, 98, 870, 112]
- ShowName off
- GotoTag "wr"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto5"
- Position [720, 331, 800, 349]
- ShowName off
- GotoTag "Iabc_rotor"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto6"
- Position [120, 47, 185, 63]
- ShowName off
- GotoTag "Vabc_B1"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto7"
- Position [375, 297, 470, 313]
- ShowName off
- GotoTag "Iabc_grid_conv"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto8"
- Position [815, 513, 875, 527]
- ShowName off
- GotoTag "Tm"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto9"
- Position [330, 106, 405, 124]
- ShowName off
- GotoTag "Iabc_stator"
- TagVisibility "local"
- }
- Block {
- BlockType Constant
- Name "Iq_ref (pu) "
- Position [30, 551, 75, 569]
- Value "0"
- }
- Block {
- BlockType Constant
- Name "Qref (pu) "
- Position [30, 508, 60, 532]
- Value "0"
- }
- Block {
- BlockType Reference
- Name "Universal Bridge"
- Ports [1, 0, 0, 0, 0, 3, 2]
- Position [395, 327, 450, 403]
- BackgroundColor "cyan"
- SourceBlock "powerlib/PowernElectronics/Universal Bridg"
- "e"
- SourceType "Universal Bridge"
- ShowPortLabels "on"
- Arms "3"
- SnubberResistance "1e5"
- SnubberCapacitance "inf"
- Device "IGBT / Diodes"
- Ron "1e-4"
- Lon "0"
- ForwardVoltages "[ 0 0 ]"
- ForwardVoltage "0"
- GTOparameters "[ 10e-6 , 20e-6 ]"
- IGBTparameters "[ 0 , 0 ]"
- Measurements "None"
- converterType "Rectifier"
- }
- Block {
- BlockType Reference
- Name "Universal Bridge "
- Ports [1, 0, 0, 0, 0, 3, 2]
- Position [530, 327, 585, 403]
- Orientation "left"
- BackgroundColor "cyan"
- SourceBlock "powerlib/PowernElectronics/Universal Bridg"
- "e"
- SourceType "Universal Bridge"
- ShowPortLabels "on"
- Arms "3"
- SnubberResistance "1e5"
- SnubberCapacitance "inf"
- Device "IGBT / Diodes"
- Ron "1e-4"
- Lon "0"
- ForwardVoltages "[ 0 0 ]"
- ForwardVoltage "0"
- GTOparameters "[ 10e-6 , 20e-6 ]"
- IGBTparameters "[ 0 , 0 ]"
- Measurements "None"
- converterType "Rectifier"
- }
- Block {
- BlockType Goto
- Name "Vabc rotor converter2"
- Position [785, 747, 825, 763]
- ShowName off
- GotoTag "Vdc"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Vabc rotor converter7"
- Position [785, 697, 825, 713]
- ShowName off
- GotoTag "Q_B1"
- TagVisibility "local"
- }
- Block {
- BlockType Reference
- Name "Wind Turbine"
- Ports [3, 1]
- Position [640, 475, 785, 565]
- BackgroundColor "green"
- SourceBlock "DRlib/Wind Generation/Wind Turbine"
- SourceType "Wind Turbine"
- ShowPortLabels "on"
- Pnom "Pmec"
- Pelec_base "Pnom"
- wind_base "11"
- P_wind_base "power_C"
- speed_nom "speed_C"
- pitch_angle "0"
- DisplayTurbChar "off"
- c1_c6 "[0.51763 116 0.4 "
- " 5 21 0.006795]"
- cp_nom "0.48"
- lambda_nom "8.1"
- }
- Block {
- BlockType Reference
- Name "choke "
- Ports [0, 0, 0, 0, 0, 3, 3]
- Position [220, 313, 305, 397]
- BackgroundColor "yellow"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenSeries RLC B"
- "ranch"
- SourceType "Three-Phase Series RLC Branch"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- RConnTagsString "A|B|C"
- BranchType "RL"
- Resistance "R_RL*Vnom^2/Pnom"
- Inductance "L_RL*Vnom^2/Pnom/(2*pi*Fnom)"
- Capacitance "[]"
- Measurements "None"
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [15, 58, 45, 72]
- Port "1"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [15, 118, 45, 132]
- Port "2"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [15, 178, 45, 192]
- Port "3"
- Side "Left"
- }
- Block {
- BlockType Outport
- Name "m"
- Position [790, 648, 820, 662]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "From13"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 5
- }
- Line {
- SrcBlock "Data acquisition"
- SrcPort 3
- DstBlock "Vabc rotor converter2"
- DstPort 1
- }
- Line {
- SrcBlock "From15"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 4
- }
- Line {
- SrcBlock "From12"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 2
- }
- Line {
- SrcBlock "Data acquisition"
- SrcPort 2
- DstBlock "Vabc rotor converter7"
- DstPort 1
- }
- Line {
- SrcBlock "Data acquisition"
- SrcPort 1
- DstBlock "m"
- DstPort 1
- }
- Line {
- SrcBlock "From16"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 1
- }
- Line {
- SrcBlock "From19"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 3
- }
- Line {
- LineType "Connection"
- Points [195, 125; 0, 200; 10, 0]
- DstBlock "choke "
- DstPort LConn1
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "B_stator"
- DstPort LConn1
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B1"
- SrcPort RConn1
- Points [0, 0; 90, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [175, 160; 0, 195; 30, 0]
- DstBlock "choke "
- DstPort LConn2
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "B_stator"
- DstPort LConn2
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B1"
- SrcPort RConn2
- Points [0, 0; 70, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [155, 195; 0, 190; 50, 0]
- DstBlock "choke "
- DstPort LConn3
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "B_stator"
- DstPort LConn3
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "B1"
- SrcPort RConn3
- Points [0, 0; 50, 0]
- }
- }
- Line {
- SrcBlock "From1"
- SrcPort 1
- DstBlock "Wind Turbine"
- DstPort 2
- }
- Line {
- SrcBlock "Iq_ref (pu) "
- SrcPort 1
- DstBlock "Control System"
- DstPort 3
- }
- Line {
- SrcBlock "Qref (pu) "
- SrcPort 1
- DstBlock "Control System"
- DstPort 2
- }
- Line {
- SrcBlock "From3"
- SrcPort 1
- DstBlock "Wind Turbine"
- DstPort 1
- }
- Line {
- SrcBlock "Wind (m/s) "
- SrcPort 1
- DstBlock "Wind Turbine"
- DstPort 3
- }
- Line {
- SrcBlock "From2"
- SrcPort 1
- DstBlock "Control System"
- DstPort 1
- }
- Line {
- SrcBlock "Wind Turbine"
- SrcPort 1
- DstBlock "Goto8"
- DstPort 1
- }
- Line {
- SrcBlock "B1"
- SrcPort 1
- DstBlock "Goto6"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "B1"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "B1"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "B1"
- DstPort LConn1
- }
- Line {
- SrcBlock "B_grid_conv"
- SrcPort 1
- DstBlock "Goto7"
- DstPort 1
- }
- Line {
- SrcBlock "B_rotor_conv"
- SrcPort 1
- DstBlock "Goto5"
- DstPort 1
- }
- Line {
- SrcBlock "From5"
- SrcPort 1
- DstBlock "Asynchronous Machinenpu Units"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "B_stator"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B_stator"
- SrcPort RConn2
- Points [0, 0]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B_stator"
- SrcPort RConn3
- Points [0, 0]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort LConn3
- }
- Line {
- SrcBlock "B1"
- SrcPort 2
- DstBlock "Goto3"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "choke "
- SrcPort RConn1
- Points [0, -10]
- DstBlock "B_grid_conv"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "choke "
- SrcPort RConn2
- Points [0, -5]
- DstBlock "B_grid_conv"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "choke "
- SrcPort RConn3
- Points [0, 0]
- DstBlock "B_grid_conv"
- DstPort LConn3
- }
- Line {
- Name "<Rotor speed (wm)>"
- Labels [-1, 1]
- SrcBlock "BusnSelector"
- SrcPort 1
- DstBlock "Goto4"
- DstPort 1
- }
- Line {
- SrcBlock "Asynchronous Machinenpu Units"
- SrcPort 1
- DstBlock "BusnSelector"
- DstPort 1
- }
- Line {
- SrcBlock "B_stator"
- SrcPort 1
- DstBlock "Goto9"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "B_rotor_conv"
- SrcPort RConn1
- Points [130, 0; 0, -215]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B_rotor_conv"
- SrcPort RConn2
- Points [140, 0; 0, -205]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort RConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B_rotor_conv"
- SrcPort RConn3
- Points [150, 0; 0, -195]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort RConn3
- }
- Line {
- SrcBlock "From9"
- SrcPort 1
- DstBlock "Control System"
- DstPort 4
- }
- Line {
- SrcBlock "From6"
- SrcPort 1
- DstBlock "Control System"
- DstPort 5
- }
- Line {
- SrcBlock "From7"
- SrcPort 1
- DstBlock "Control System"
- DstPort 6
- }
- Line {
- SrcBlock "From8"
- SrcPort 1
- DstBlock "Control System"
- DstPort 7
- }
- Line {
- SrcBlock "From10"
- SrcPort 1
- DstBlock "Control System"
- DstPort 8
- }
- Line {
- SrcBlock "Control System"
- SrcPort 3
- DstBlock "Goto11"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "Universal Bridge "
- SrcPort RConn1
- Points [0, -20; -25, 0]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "C1"
- DstPort LConn1
- }
- Branch {
- ConnectType "DEST_DEST"
- SrcBlock "Universal Bridge"
- SrcPort RConn1
- Points [0, -20; 25, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [490, 395; -20, 0; 0, -10; -5, 0]
- DstBlock "Universal Bridge"
- DstPort RConn2
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "Universal Bridge "
- SrcPort RConn2
- Points [-5, 0; 0, 10; -20, 0]
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "C1"
- SrcPort RConn1
- Points [0, 0; 0, 5]
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "B_grid_conv"
- SrcPort RConn1
- Points [5, 0; 0, 20]
- DstBlock "Universal Bridge"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B_grid_conv"
- SrcPort RConn2
- Points [5, 0; 0, 10]
- DstBlock "Universal Bridge"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B_grid_conv"
- SrcPort RConn3
- Points [0, 0]
- DstBlock "Universal Bridge"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "Universal Bridge "
- SrcPort LConn1
- Points [25, 0; 0, -10]
- DstBlock "B_rotor_conv"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Universal Bridge "
- SrcPort LConn2
- Points [25, 0; 0, -5]
- DstBlock "B_rotor_conv"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "Universal Bridge "
- SrcPort LConn3
- Points [0, 0]
- DstBlock "B_rotor_conv"
- DstPort LConn3
- }
- Line {
- SrcBlock "Control System"
- SrcPort 1
- Points [85, 0]
- DstBlock "Universal Bridge"
- DstPort 1
- }
- Line {
- SrcBlock "Control System"
- SrcPort 2
- Points [215, 0; 0, -170; 95, 0; 0, -105]
- DstBlock "Universal Bridge "
- DstPort 1
- }
- Line {
- SrcBlock "From11"
- SrcPort 1
- DstBlock "Control System"
- DstPort 9
- }
- Line {
- SrcBlock "Control System"
- SrcPort 4
- DstBlock "Goto1"
- DstPort 1
- }
- Line {
- Name "<Rotor angle thetam (rad)>"
- Labels [0, 0]
- SrcBlock "BusnSelector"
- SrcPort 2
- DstBlock "Goto10"
- DstPort 1
- }
- Line {
- SrcBlock "From4"
- SrcPort 1
- DstBlock "Control System"
- DstPort 10
- }
- }
- }
- Block {
- BlockType Constant
- Name "Wind speed (m/s)"
- Position [690, 19, 710, 41]
- Value "10"
- }
- Block {
- BlockType SubSystem
- Name "powergui"
- Ports []
- Position [40, 480, 120, 525]
- 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 "Discrete|Ts_Power|off|blocks|[0:2:500]|off|off|"
- "off|off|ZData|ScopeData|on|0.0|1|1|60|off|8000|60|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 Ts=1;n A=0;n B=0;n C=0;n D=0;n x0=0;n "
- " SwitchResistance=1;n SwitchType=1;n SwitchGateInitialValue=1;n "
- "OutputsToResetToZero=1;nelsen Ts=SPS.fixedstep;n A=SPS.Adisc"
- "rete;n B=SPS.Bdiscrete;n C=SPS.Cdiscrete;n D=SPS.Ddiscrete;n "
- "x0=SPS.x0discrete;n SwitchResistance=SPS.SwitchResistance;n SwitchTyp"
- "e=SPS.SwitchType;n SwitchGateInitialValue=SPS.SwitchGateInitialValue;n "
- " OutputsToResetToZero=SPS.YSwitchCurrent;nend"
- MaskDisplay "color('orange')ndisp('EQUIVALENT CIRCUIT')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "EquivalentModel1"
- Location [279, 434, 958, 675]
- 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 [15, 112, 80, 138]
- 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 "tp430120"
- }
- Block {
- BlockType From
- Name "From2"
- Position [15, 66, 85, 94]
- GotoTag "tp430132"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [2, 1]
- Position [325, 270, 330, 610]
- ShowName off
- Inputs "[6 6]"
- 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
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Sources"
- Ports [0, 1]
- Position [15, 51, 80, 79]
- FontName "Arial"
- FontSize 14
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Sources"
- Location [20, 127, 741, 789]
- 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 "tp430123"
- }
- Block {
- BlockType From
- Name "From2"
- Position [15, 66, 85, 94]
- GotoTag "tp430135"
- }
- Block {
- BlockType From
- Name "From3"
- Position [15, 111, 85, 139]
- GotoTag "tp425971"
- }
- Block {
- BlockType From
- Name "From4"
- Position [15, 156, 85, 184]
- GotoTag "tp425566"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [4, 1]
- Position [325, 272, 330, 613]
- ShowName off
- Inputs "[6 6 4 3]"
- DisplayOption "bar"
- }
- Block {
- BlockType Outport
- Name "u"
- Position [505, 433, 535, 447]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- Points [0, -5]
- DstBlock "u"
- 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
- }
- }
- }
- Block {
- BlockType "S-Function"
- Name "State-Space"
- Ports [2, 2]
- Position [115, 35, 245, 155]
- FontName "Arial"
- FontSize 14
- FunctionName "sfun_spssw_discc"
- Parameters "Ts,A, B, C, D, x0, SwitchResistance ,Sw"
- "itchType, SwitchGateInitialValue, OutputsToResetToZero "
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- }
- Block {
- BlockType SubSystem
- Name "Status"
- Ports [1]
- Position [280, 113, 345, 137]
- FontName "Arial"
- FontSize 14
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Status"
- 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 "status"
- Position [15, 373, 45, 387]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 2]
- Position [100, 191, 105, 569]
- BackgroundColor "black"
- ShowName off
- Outputs "[6 6]"
- DisplayOption "bar"
- }
- Block {
- BlockType Goto
- Name "Goto1"
- Position [325, 21, 395, 49]
- GotoTag "tp430121"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto2"
- Position [325, 66, 395, 94]
- GotoTag "tp430134"
- TagVisibility "global"
- }
- Line {
- SrcBlock "status"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- DstBlock "Goto1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Goto2"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Yout"
- Ports [1]
- Position [280, 53, 345, 77]
- 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, 46]
- Position [100, 155, 105, 605]
- BackgroundColor "black"
- ShowName off
- Outputs "[6 6 4 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 "tp430118"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto10"
- Position [325, 426, 395, 454]
- GotoTag "tp425554"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto11"
- Position [325, 471, 395, 499]
- GotoTag "tp425555"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto12"
- Position [325, 516, 395, 544]
- GotoTag "tp425557"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto13"
- Position [325, 561, 395, 589]
- GotoTag "tp425995"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto14"
- Position [325, 606, 395, 634]
- GotoTag "tp425996"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto15"
- Position [325, 651, 395, 679]
- GotoTag "tp425998"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto16"
- Position [325, 696, 395, 724]
- GotoTag "tp430006"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto17"
- Position [325, 741, 395, 769]
- GotoTag "tp430007"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto18"
- Position [325, 786, 395, 814]
- GotoTag "tp430009"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto19"
- Position [325, 831, 395, 859]
- GotoTag "tp430016"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto2"
- Position [325, 66, 395, 94]
- GotoTag "tp430131"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto20"
- Position [325, 876, 395, 904]
- GotoTag "tp430018"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto21"
- Position [325, 921, 395, 949]
- GotoTag "tp430020"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto22"
- Position [325, 966, 395, 994]
- GotoTag "tp430027"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto23"
- Position [325, 1011, 395, 1039]
- GotoTag "tp430029"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto24"
- Position [325, 1056, 395, 1084]
- GotoTag "tp430031"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto25"
- Position [325, 1101, 395, 1129]
- GotoTag "tp425540"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto26"
- Position [325, 1146, 395, 1174]
- GotoTag "tp425541"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto27"
- Position [325, 1191, 395, 1219]
- GotoTag "tp425543"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto28"
- Position [325, 1236, 395, 1264]
- GotoTag "tp425549"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto29"
- Position [325, 1281, 395, 1309]
- GotoTag "tp425551"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto3"
- Position [325, 111, 395, 139]
- GotoTag "tp425973"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto30"
- Position [325, 1326, 395, 1354]
- GotoTag "tp425552"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto31"
- Position [325, 1371, 395, 1399]
- GotoTag "tp425559"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto32"
- Position [325, 1416, 395, 1444]
- GotoTag "tp425560"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto33"
- Position [325, 1461, 395, 1489]
- GotoTag "tp425562"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto34"
- Position [325, 1506, 395, 1534]
- GotoTag "tp425999"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto35"
- Position [325, 1551, 395, 1579]
- GotoTag "tp430001"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto36"
- Position [325, 1596, 395, 1624]
- GotoTag "tp430002"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto37"
- Position [325, 1641, 395, 1669]
- GotoTag "tp430010"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto38"
- Position [325, 1686, 395, 1714]
- GotoTag "tp430012"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto39"
- Position [325, 1731, 395, 1759]
- GotoTag "tp430013"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto4"
- Position [325, 156, 395, 184]
- GotoTag "tp425535"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto40"
- Position [325, 1776, 395, 1804]
- GotoTag "tp430021"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto41"
- Position [325, 1821, 395, 1849]
- GotoTag "tp430023"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto42"
- Position [325, 1866, 395, 1894]
- GotoTag "tp430024"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto43"
- Position [325, 1911, 395, 1939]
- GotoTag "tp430032"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto44"
- Position [325, 1956, 395, 1984]
- GotoTag "tp430034"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto45"
- Position [325, 2001, 395, 2029]
- GotoTag "tp430035"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto46"
- Position [325, 2046, 395, 2074]
- GotoTag "gotomultimeterPSB"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto5"
- Position [325, 201, 395, 229]
- GotoTag "tp425537"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto6"
- Position [325, 246, 395, 274]
- GotoTag "tp425538"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto7"
- Position [325, 291, 395, 319]
- GotoTag "tp425545"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto8"
- Position [325, 336, 395, 364]
- GotoTag "tp425546"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto9"
- Position [325, 381, 395, 409]
- GotoTag "tp425548"
- TagVisibility "global"
- }
- Line {
- SrcBlock "v,i"
- SrcPort 1
- 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 "Gates"
- SrcPort 1
- DstBlock "State-Space"
- DstPort 2
- }
- Line {
- SrcBlock "Sources"
- SrcPort 1
- DstBlock "State-Space"
- DstPort 1
- }
- Line {
- SrcBlock "State-Space"
- SrcPort 2
- DstBlock "Status"
- DstPort 1
- }
- Line {
- SrcBlock "State-Space"
- SrcPort 1
- DstBlock "Yout"
- 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"
- Points [305, 90; 25, 0]
- DstBlock "B25n(25 kV)"
- DstPort LConn2
- Branch {
- ConnectType "SRC_SRC"
- Points [0, 85]
- DstBlock "GroundingnTransformernX0=4.7 Ohms"
- DstPort LConn2
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "120 kV/25 kVn47 MVA"
- SrcPort RConn2
- Points [0, 0; 10, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [315, 105; 15, 0]
- DstBlock "B25n(25 kV)"
- DstPort LConn3
- Branch {
- ConnectType "SRC_SRC"
- Points [0, 80]
- DstBlock "GroundingnTransformernX0=4.7 Ohms"
- DstPort LConn3
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "120 kV/25 kVn47 MVA"
- SrcPort RConn3
- Points [0, 0; 20, 0]
- }
- }
- Line {
- LineType "Connection"
- Points [295, 75; 35, 0]
- DstBlock "B25n(25 kV)"
- DstPort LConn1
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "GroundingnTransformernX0=4.7 Ohms"
- DstPort LConn1
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "120 kV/25 kVn47 MVA"
- SrcPort RConn1
- Points [0, 0; 0, 0]
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "Loadn500 kW"
- SrcPort LConn2
- Points [0, 0; 0, -50]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "B575n(575 V)"
- DstPort LConn2
- }
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "25 kV/ 575 Vn6*2 MVA"
- DstPort RConn2
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "Loadn500 kW"
- SrcPort LConn1
- Points [0, 0; 0, -65]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "B575n(575 V)"
- DstPort LConn1
- }
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "25 kV/ 575 Vn6*2 MVA"
- DstPort RConn1
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "Loadn500 kW"
- SrcPort LConn3
- Points [0, 0; 0, -35]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "B575n(575 V)"
- DstPort LConn3
- }
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "25 kV/ 575 Vn6*2 MVA"
- DstPort RConn3
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "Filtern0.9 MvarnQ=50"
- SrcPort LConn1
- Points [0, 5; 0, -70]
- Branch {
- ConnectType "DEST_SRC"
- Points [85, 0]
- DstBlock "Wind TurbinenDoubly-Fed Induction Generator"
- "n(Detailed Model)"
- DstPort LConn1
- }
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "B575n(575 V)"
- DstPort RConn1
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "Filtern0.9 MvarnQ=50"
- SrcPort LConn2
- Points [0, 5; 0, -55]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "Wind TurbinenDoubly-Fed Induction Generator"
- "n(Detailed Model)"
- DstPort LConn2
- }
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "B575n(575 V)"
- DstPort RConn2
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "Filtern0.9 MvarnQ=50"
- SrcPort LConn3
- Points [0, 5; 0, -40]
- Branch {
- ConnectType "DEST_SRC"
- Points [65, 0]
- DstBlock "Wind TurbinenDoubly-Fed Induction Generator"
- "n(Detailed Model)"
- DstPort LConn3
- }
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "B575n(575 V)"
- DstPort RConn3
- }
- }
- 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
- DstBlock "3.3ohms "
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B120n(120 kV)"
- SrcPort LConn1
- Points [20, 0]
- DstBlock "2500 MVAnX0/X1=3"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B120n(120 kV)"
- SrcPort LConn2
- Points [20, 0]
- DstBlock "2500 MVAnX0/X1=3"
- DstPort RConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B120n(120 kV)"
- SrcPort LConn3
- DstBlock "2500 MVAnX0/X1=3"
- DstPort RConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B120n(120 kV)"
- SrcPort RConn1
- DstBlock "120 kV/25 kVn47 MVA"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B120n(120 kV)"
- SrcPort RConn2
- DstBlock "120 kV/25 kVn47 MVA"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B120n(120 kV)"
- SrcPort RConn3
- DstBlock "120 kV/25 kVn47 MVA"
- DstPort LConn3
- }
- Line {
- SrcBlock "Wind TurbinenDoubly-Fed Induction Generatorn("
- "Detailed Model)"
- SrcPort 1
- DstBlock "BusnSelector"
- DstPort 1
- }
- Line {
- Name "<Vdc>"
- Labels [0, 0]
- SrcBlock "BusnSelector"
- SrcPort 1
- DstBlock "Goto2"
- DstPort 1
- }
- Line {
- Name "<wr>"
- Labels [0, 0]
- SrcBlock "BusnSelector"
- SrcPort 2
- DstBlock "Goto3"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "B25n(25 kV)"
- SrcPort RConn1
- DstBlock "30 km line"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B25n(25 kV)"
- SrcPort RConn2
- DstBlock "30 km line"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B25n(25 kV)"
- SrcPort RConn3
- DstBlock "30 km line"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "30 km line"
- SrcPort RConn1
- DstBlock "25 kV/ 575 Vn6*2 MVA"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "30 km line"
- SrcPort RConn2
- DstBlock "25 kV/ 575 Vn6*2 MVA"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "30 km line"
- SrcPort RConn3
- DstBlock "25 kV/ 575 Vn6*2 MVA"
- DstPort LConn3
- }
- Line {
- SrcBlock "Wind speed (m/s)"
- SrcPort 1
- DstBlock "Wind TurbinenDoubly-Fed Induction Generatorn("
- "Detailed Model)"
- DstPort 1
- }
- Line {
- Name "Vabc_B575 (pu)"
- Labels [0, 0]
- SrcBlock "From5"
- SrcPort 1
- DstBlock "Scope"
- DstPort 1
- }
- Line {
- Name "Iabc_B575 (pu)"
- Labels [0, 0]
- SrcBlock "From6"
- SrcPort 1
- DstBlock "Scope"
- DstPort 2
- }
- Line {
- Name "P (MW)"
- Labels [0, 0]
- SrcBlock "Demux"
- SrcPort 1
- DstBlock "Scope"
- DstPort 3
- }
- Line {
- Name "Q (Mvar)"
- Labels [0, 0]
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Scope"
- DstPort 4
- }
- Line {
- Name "Vdc (V)"
- Labels [0, 0]
- SrcBlock "From3"
- SrcPort 1
- DstBlock "Scope"
- DstPort 5
- }
- Line {
- Name "wr (pu)"
- Labels [0, 0]
- SrcBlock "From4"
- SrcPort 1
- DstBlock "Scope"
- DstPort 6
- }
- Line {
- Name "Vabc_B25 (pu)"
- Labels [0, 0]
- SrcBlock "From1"
- SrcPort 1
- DstBlock "Scope"
- DstPort 7
- }
- Line {
- Name "Iabc_B25 (pu)"
- Labels [0, 0]
- SrcBlock "From2"
- SrcPort 1
- DstBlock "Scope"
- DstPort 8
- }
- Line {
- Name "<P>"
- Labels [0, 0]
- SrcBlock "BusnSelector"
- SrcPort 3
- DstBlock "Goto1"
- DstPort 1
- }
- Line {
- Name "<Q>"
- Labels [0, 0]
- SrcBlock "BusnSelector"
- SrcPort 4
- DstBlock "Goto5"
- DstPort 1
- }
- Line {
- SrcBlock "From7"
- SrcPort 1
- DstBlock "Mux"
- DstPort 2
- }
- Line {
- SrcBlock "From8"
- SrcPort 1
- DstBlock "Mux"
- DstPort 1
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "MW"
- DstPort 1
- }
- Line {
- SrcBlock "MW"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "From9"
- SrcPort 1
- DstBlock "Selector"
- DstPort 1
- }
- Line {
- Labels [0, 0]
- SrcBlock "Selector"
- SrcPort 1
- DstBlock "Discrete nTotal HarmonicnDistorsion"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete nTotal HarmonicnDistorsion"
- SrcPort 1
- DstBlock "THD Va_B25"
- DstPort 1
- }
- Annotation {
- Name "9 MW Wind Farmn(6 x 1.5 MW)"
- Position [803, 199]
- ForegroundColor "red"
- UseDisplayTextAsClickCallback off
- FontName "Arial"
- FontSize 12
- FontWeight "bold"
- }
- Annotation {
- Name "Simulation of a 9 MW Wind Farm Using Doubly-Fed"
- " Induction Generators (Detailed Model)"
- Position [492, 509]
- ForegroundColor "blue"
- UseDisplayTextAsClickCallback off
- FontSize 14
- FontWeight "bold"
- }
- Annotation {
- Name "The model parameters, initial states and sampl"
- "e timesn(Ts_Power=5e-6 s and Ts_Control=100e-6 s)nare automatically initial"
- "ized (see Model Properties)"
- Position [19, 432]
- HorizontalAlignment "left"
- UseDisplayTextAsClickCallback off
- }
- }
- }