power_wind_dfig_avg.mdl
资源名称:DFIGFarm.rar [点击查看]
上传用户:sdgangguan
上传日期:2017-10-18
资源大小:179k
文件大小:328k
源码类别:
能源行业(电力石油煤炭)
开发平台:
Matlab
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Pac_rotor_conv"
- Position [345, 238, 375, 252]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock " W->pu"
- SrcPort 1
- DstBlock "Pac_rotor_conv"
- DstPort 1
- }
- Line {
- SrcBlock " pu->V"
- SrcPort 1
- DstBlock "Product1"
- DstPort 1
- }
- Line {
- SrcBlock " pu->A"
- SrcPort 1
- DstBlock "Product1"
- DstPort 2
- }
- Line {
- SrcBlock "Sum1"
- SrcPort 1
- DstBlock " W->pu"
- DstPort 1
- }
- Line {
- SrcBlock "Product1"
- SrcPort 1
- DstBlock "Sum1"
- DstPort 1
- }
- Line {
- SrcBlock "Vabc_rotor_conv"
- SrcPort 1
- DstBlock " pu->V"
- DstPort 1
- }
- Line {
- SrcBlock "Iabc_rotor_conv"
- SrcPort 1
- DstBlock " pu->A"
- DstPort 1
- }
- Line {
- SrcBlock "W->pu"
- SrcPort 1
- DstBlock "Pac_grid_conv"
- DstPort 1
- }
- Line {
- SrcBlock "pu->V"
- SrcPort 1
- DstBlock "Product2"
- DstPort 1
- }
- Line {
- SrcBlock "pu->A "
- SrcPort 1
- DstBlock "Product2"
- DstPort 2
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "W->pu"
- DstPort 1
- }
- Line {
- SrcBlock "Product2"
- SrcPort 1
- DstBlock "Sum"
- DstPort 1
- }
- Line {
- SrcBlock "Vabc_grid_conv"
- SrcPort 1
- DstBlock "pu->V"
- DstPort 1
- }
- Line {
- SrcBlock "Iabc_grid_conv"
- SrcPort 1
- DstBlock "pu->A "
- DstPort 1
- }
- Annotation {
- Name "P = Va*Ia + Vb*Ib + Vc*Ic"
- Position [142, 178]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "P = Va*Ia + Vb*Ib + Vc*Ic"
- Position [142, 18]
- UseDisplayTextAsClickCallback off
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "DC bus model"
- Ports [2, 1]
- Position [1015, 118, 1115, 227]
- ForegroundColor "blue"
- BackgroundColor "lightBlue"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "DC link model"
- MaskPromptString "Nominal power (W):|Capacitor (F):|Initi"
- "al voltage (V):|Sample time Ts (s):"
- MaskStyleString "edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on"
- MaskCallbackString "|||"
- MaskEnableString "on,on,on,on"
- MaskVisibilityString "on,on,on,on"
- MaskToolTipString "on,on,on,on"
- MaskVarAliasString ",,,"
- MaskVariables "Pnom=@1;C=@2;Vdc_Init=@3;Ts=@4;"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "Pnom|capacitor|Vdc_nom|Ts_Power"
- MaskTabNameString ",,,"
- System {
- Name "DC bus model"
- Location [231, 522, 1190, 735]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Pac_grid_conv"
- Position [65, 38, 95, 52]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "Pac_rotor_conv"
- Position [65, 83, 95, 97]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType DiscreteIntegrator
- Name "Discrete-TimenIntegrator"
- Ports [1, 1]
- Position [655, 46, 685, 84]
- ShowName off
- IntegratorMethod "Integration: Forward Euler"
- ExternalReset "none"
- InitialConditionSource "internal"
- InitialCondition "Vdc_Init"
- SampleTime "Ts"
- LimitOutput on
- LowerSaturationLimit "1e-6"
- IgnoreLimit off
- ICPrevOutput "DiscIntNeverNeededParam"
- ICPrevScaledInput "DiscIntNeverNeededParam"
- Port {
- PortNumber 1
- Name "Vdc"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Product
- Name "Product2"
- Ports [2, 1]
- Position [485, 29, 515, 96]
- ShowName off
- Inputs "*/"
- RndMeth "Floor"
- Port {
- PortNumber 1
- Name "Idc"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Sum
- Name "Sum2"
- Ports [2, 1]
- Position [145, 30, 175, 60]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- }
- Block {
- BlockType Gain
- Name "deg->rad1"
- Position [570, 47, 620, 83]
- ShowName off
- Gain "1/C"
- }
- Block {
- BlockType Gain
- Name "pu->W"
- Position [385, 28, 415, 62]
- Gain "Pnom"
- }
- Block {
- BlockType Outport
- Name "Vdc"
- Position [750, 58, 780, 72]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Pac_grid_conv"
- SrcPort 1
- DstBlock "Sum2"
- DstPort 1
- }
- Line {
- SrcBlock "deg->rad1"
- SrcPort 1
- DstBlock "Discrete-TimenIntegrator"
- DstPort 1
- }
- Line {
- Name "Vdc"
- Labels [0, 0]
- SrcBlock "Discrete-TimenIntegrator"
- SrcPort 1
- Points [0, 0; 30, 0]
- Branch {
- DstBlock "Vdc"
- DstPort 1
- }
- Branch {
- Labels [4, 0]
- Points [0, 50; -275, 0; 0, -35]
- DstBlock "Product2"
- DstPort 2
- }
- }
- Line {
- Name "Idc"
- FontName "Arial"
- FontSize 10
- Labels [0, 0]
- SrcBlock "Product2"
- SrcPort 1
- DstBlock "deg->rad1"
- DstPort 1
- }
- Line {
- SrcBlock "Pac_rotor_conv"
- SrcPort 1
- Points [60, 0]
- DstBlock "Sum2"
- DstPort 2
- }
- Line {
- SrcBlock "Sum2"
- SrcPort 1
- DstBlock "pu->W"
- DstPort 1
- }
- Line {
- SrcBlock "pu->W"
- SrcPort 1
- DstBlock "Product2"
- DstPort 1
- }
- Annotation {
- Name "Pdc = Pac_grid_conv - Pac_rotor_con"
- "v"
- Position [277, 33]
- UseDisplayTextAsClickCallback off
- }
- }
- }
- 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 UnitDelay
- Name "Unit Delay3"
- Position [615, 200, 635, 220]
- ForegroundColor "blue"
- BackgroundColor "lightBlue"
- ShowName off
- SampleTime "Ts_Power"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay4"
- Position [615, 85, 635, 105]
- ForegroundColor "blue"
- BackgroundColor "lightBlue"
- ShowName off
- SampleTime "Ts_Power"
- }
- Block {
- BlockType Goto
- Name "Vabc rotor converter1"
- Position [105, 82, 200, 98]
- ShowName off
- GotoTag "Iabc_grid_conv"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Vabc rotor converter11"
- Position [105, 217, 200, 233]
- ShowName off
- GotoTag "Iabc_rotor_conv"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Vabc rotor converter7"
- Position [1170, 167, 1210, 183]
- ShowName off
- GotoTag "Vdc"
- TagVisibility "local"
- }
- Block {
- BlockType From
- Name "Vdc 6"
- Position [730, 136, 815, 154]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_grid_conv"
- }
- Block {
- BlockType From
- Name "Vdc 7"
- Position [720, 235, 815, 255]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_rotor_conv"
- }
- Block {
- BlockType From
- Name "Vdc8"
- Position [35, 147, 80, 163]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vdc"
- }
- Block {
- BlockType Outport
- Name "Vabc_grid_conv"
- Position [680, 43, 710, 57]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Vabc_rotor_conv"
- Position [680, 158, 710, 172]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Vdc"
- Position [1160, 203, 1190, 217]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Theta_Freq"
- Position [615, 318, 645, 332]
- Port "4"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Pitch_angle"
- Position [620, 433, 650, 447]
- Port "5"
- 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
- Points [15, 0]
- Branch {
- DstBlock "Filtern1000 Hz"
- DstPort 2
- }
- Branch {
- Points [0, -20]
- DstBlock "Vabc rotor converter1"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Iabc_rotor"
- SrcPort 1
- Points [15, 0]
- Branch {
- DstBlock "Filtern1000 Hz"
- DstPort 5
- }
- Branch {
- Points [0, -20]
- DstBlock "Vabc rotor converter11"
- 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 "Control"
- SrcPort 4
- DstBlock "Pitch_angle"
- DstPort 1
- }
- Line {
- SrcBlock "Control"
- SrcPort 1
- DstBlock "Unit Delay4"
- DstPort 1
- }
- Line {
- SrcBlock "Control"
- SrcPort 2
- DstBlock "Unit Delay3"
- DstPort 1
- }
- Line {
- SrcBlock "Converters power"
- SrcPort 1
- Points [5, 0]
- DstBlock "DC bus model"
- DstPort 1
- }
- Line {
- SrcBlock "Converters power"
- SrcPort 2
- Points [5, 0]
- DstBlock "DC bus model"
- DstPort 2
- }
- Line {
- SrcBlock "Vdc 6"
- SrcPort 1
- DstBlock "Converters power"
- DstPort 2
- }
- Line {
- SrcBlock "Vdc 7"
- SrcPort 1
- DstBlock "Converters power"
- DstPort 4
- }
- Line {
- SrcBlock "DC bus model"
- SrcPort 1
- Points [0, 0; 15, 0]
- Branch {
- DstBlock "Vabc rotor converter7"
- DstPort 1
- }
- Branch {
- Points [0, 35]
- DstBlock "Vdc"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Vdc8"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 3
- }
- Line {
- SrcBlock "Unit Delay4"
- SrcPort 1
- Points [10, 0]
- Branch {
- DstBlock "Converters power"
- DstPort 1
- }
- Branch {
- Points [0, -45]
- DstBlock "Vabc_grid_conv"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay3"
- SrcPort 1
- Points [10, 0]
- Branch {
- Points [80, 0; 0, -15]
- DstBlock "Converters power"
- DstPort 3
- }
- Branch {
- Points [0, -45]
- DstBlock "Vabc_rotor_conv"
- DstPort 1
- }
- }
- Line {
- SrcBlock "angle_rotor"
- SrcPort 1
- DstBlock "Filtern1000 Hz"
- DstPort 10
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Data acquisition"
- Ports [5, 2]
- Position [685, 619, 770, 751]
- BackgroundColor "green"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Data acquisition"
- Location [121, 247, 1037, 647]
- 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 "Vdc"
- Position [25, 298, 55, 312]
- Port "3"
- IconDisplay "Port number"
- Port {
- PortNumber 1
- Name "Vdc"
- PropagatedSignals "Vdc"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Inport
- Name "wr"
- Position [25, 328, 55, 342]
- Port "4"
- 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 "5"
- IconDisplay "Port number"
- }
- Block {
- BlockType Gain
- Name "-->pu"
- Position [600, 139, 620, 161]
- Gain "1/Pnom"
- Port {
- PortNumber 1
- Name "Q"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Gain
- Name "-->pu1"
- Position [600, 109, 620, 131]
- 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, 104, 560, 166]
- 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 Mux
- Name "Mux"
- Ports [2, 1]
- Position [325, 113, 330, 182]
- ShowName off
- Inputs "2"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [6, 1]
- Position [815, 16, 820, 264]
- ShowName off
- Inputs "6"
- 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 [855, 133, 885, 147]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Q_B1"
- Position [675, 178, 705, 192]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- 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 [55, 0; 0, 10]
- DstBlock "Mux1"
- DstPort 4
- }
- Branch {
- Points [0, 35]
- DstBlock "Q_B1"
- DstPort 1
- }
- }
- Line {
- Name "P"
- Labels [0, 0; 1, 0]
- SrcBlock "-->pu1"
- SrcPort 1
- 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
- Points [680, 0; 0, -95]
- 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]
- Points [720, 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]
- Points [710, 0]
- DstBlock "Mux1"
- DstPort 1
- }
- }
- Line {
- Name "Vdc"
- Labels [1, 0]
- SrcBlock "Vdc"
- SrcPort 1
- Points [655, 0; 0, -105]
- DstBlock "Mux1"
- DstPort 5
- }
- Line {
- SrcBlock "-1"
- SrcPort 1
- Points [0, -15]
- 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 [45, 797, 100, 813]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Q_B1"
- }
- Block {
- BlockType From
- Name "From11"
- Position [45, 842, 135, 858]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "angle_rotor"
- }
- Block {
- BlockType From
- Name "From14"
- Position [585, 653, 650, 667]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_B1"
- }
- Block {
- BlockType From
- Name "From17"
- Position [585, 728, 650, 742]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Theta_Freq"
- }
- Block {
- BlockType From
- Name "From18"
- Position [585, 628, 650, 642]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_B1"
- }
- Block {
- BlockType From
- Name "From2"
- Position [45, 482, 105, 498]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_B1"
- }
- Block {
- BlockType From
- Name "From20"
- Position [585, 704, 630, 716]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "wr"
- }
- Block {
- BlockType From
- Name "From3"
- Position [560, 482, 600, 498]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "wr"
- }
- Block {
- BlockType From
- Name "From4"
- Position [585, 678, 630, 692]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vdc"
- }
- Block {
- BlockType From
- Name "From5"
- Position [435, 107, 480, 123]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Tm"
- }
- Block {
- BlockType From
- Name "From6"
- Position [45, 662, 135, 678]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_grid_conv"
- }
- Block {
- BlockType From
- Name "From7"
- Position [45, 707, 135, 723]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_stator"
- }
- Block {
- BlockType From
- Name "From8"
- Position [45, 752, 135, 768]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_rotor"
- }
- Block {
- BlockType From
- Name "From9"
- Position [45, 617, 100, 633]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "wr"
- }
- Block {
- BlockType Goto
- Name "Goto1"
- Position [355, 833, 425, 847]
- 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 [355, 748, 425, 762]
- ShowName off
- GotoTag "Theta_Freq"
- TagVisibility "local"
- }
- Block {
- BlockType Goto
- Name "Goto2"
- Position [355, 663, 415, 677]
- ShowName off
- GotoTag "Vdc"
- 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, 326, 800, 344]
- 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 [45, 571, 90, 589]
- Value "0"
- }
- Block {
- BlockType Constant
- Name "Qref (pu) "
- Position [45, 523, 75, 547]
- Value "0"
- }
- Block {
- BlockType SubSystem
- Name "VSI grid"
- Ports [1, 0, 0, 0, 0, 0, 3]
- Position [385, 325, 480, 405]
- Orientation "left"
- BackgroundColor "yellow"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "VSI grid"
- Location [826, 134, 1156, 401]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Vabc_grid_conv"
- Position [30, 98, 60, 112]
- IconDisplay "Port number"
- }
- Block {
- BlockType Reference
- Name "Controlled Voltage Source1"
- Description "source block"
- Ports [1, 0, 0, 0, 0, 1, 1]
- Position [180, 27, 220, 83]
- ShowName off
- AttributesFormatString "\n"
- SourceBlock "powerlib/ElectricalnSources/Controlled"
- " Voltage Source"
- SourceType "Controlled Voltage Source"
- ShowPortLabels on
- Initialize on
- SourceType "AC"
- Amplitude "0"
- Phase "0"
- Frequency "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Controlled Voltage Source2"
- Description "source block"
- Ports [1, 0, 0, 0, 0, 1, 1]
- Position [180, 92, 220, 148]
- ShowName off
- AttributesFormatString "\n"
- SourceBlock "powerlib/ElectricalnSources/Controlled"
- " Voltage Source"
- SourceType "Controlled Voltage Source"
- ShowPortLabels on
- Initialize on
- SourceType "AC"
- Amplitude "0"
- Phase "0"
- Frequency "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Controlled Voltage Source3"
- Description "source block"
- Ports [1, 0, 0, 0, 0, 1, 1]
- Position [180, 162, 220, 218]
- ShowName off
- AttributesFormatString "\n"
- SourceBlock "powerlib/ElectricalnSources/Controlled"
- " Voltage Source"
- SourceType "Controlled Voltage Source"
- ShowPortLabels on
- Initialize on
- SourceType "AC"
- Amplitude "0"
- Phase "0"
- Frequency "0"
- Measurements "None"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [95, 58, 100, 152]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [245, 48, 275, 62]
- Orientation "left"
- Port "1"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [245, 113, 275, 127]
- Orientation "left"
- Port "2"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [245, 183, 275, 197]
- Orientation "left"
- Port "3"
- Side "Right"
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- Points [20, 0; 0, 40]
- DstBlock "Controlled Voltage Source3"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Controlled Voltage Source1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Controlled Voltage Source2"
- DstPort 1
- }
- Line {
- SrcBlock "Vabc_grid_conv"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- LineType "Connection"
- Points [150, 135; 0, 70; 15, 0]
- DstBlock "Controlled Voltage Source3"
- DstPort LConn1
- Branch {
- ConnectType "SRC_SRC"
- DstBlock "Controlled Voltage Source2"
- DstPort LConn1
- }
- Branch {
- ConnectType "SRC_DEST"
- SrcBlock "Controlled Voltage Source1"
- SrcPort LConn1
- Points [-15, 0; 0, 65]
- }
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Controlled Voltage Source3"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Controlled Voltage Source2"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "A"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Controlled Voltage Source1"
- DstPort RConn1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "VSI rotor"
- Ports [1, 0, 0, 0, 0, 0, 3]
- Position [535, 325, 630, 405]
- BackgroundColor "yellow"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "VSI rotor"
- Location [513, 292, 843, 559]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Vabc_rotor_conv"
- Position [30, 98, 60, 112]
- IconDisplay "Port number"
- }
- Block {
- BlockType Reference
- Name "Controlled Voltage Source1"
- Description "source block"
- Ports [1, 0, 0, 0, 0, 1, 1]
- Position [180, 27, 220, 83]
- ShowName off
- AttributesFormatString "\n"
- SourceBlock "powerlib/ElectricalnSources/Controlled"
- " Voltage Source"
- SourceType "Controlled Voltage Source"
- ShowPortLabels on
- Initialize on
- SourceType "AC"
- Amplitude "0"
- Phase "0"
- Frequency "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Controlled Voltage Source2"
- Description "source block"
- Ports [1, 0, 0, 0, 0, 1, 1]
- Position [180, 92, 220, 148]
- ShowName off
- AttributesFormatString "\n"
- SourceBlock "powerlib/ElectricalnSources/Controlled"
- " Voltage Source"
- SourceType "Controlled Voltage Source"
- ShowPortLabels on
- Initialize on
- SourceType "AC"
- Amplitude "0"
- Phase "0"
- Frequency "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Controlled Voltage Source3"
- Description "source block"
- Ports [1, 0, 0, 0, 0, 1, 1]
- Position [180, 162, 220, 218]
- ShowName off
- AttributesFormatString "\n"
- SourceBlock "powerlib/ElectricalnSources/Controlled"
- " Voltage Source"
- SourceType "Controlled Voltage Source"
- ShowPortLabels on
- Initialize on
- SourceType "AC"
- Amplitude "0"
- Phase "0"
- Frequency "0"
- Measurements "None"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [95, 58, 100, 152]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [245, 48, 275, 62]
- Orientation "left"
- Port "1"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [245, 113, 275, 127]
- Orientation "left"
- Port "2"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [245, 183, 275, 197]
- Orientation "left"
- Port "3"
- Side "Right"
- }
- Line {
- LineType "Connection"
- SrcBlock "A"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Controlled Voltage Source1"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Controlled Voltage Source2"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Controlled Voltage Source3"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Controlled Voltage Source1"
- SrcPort LConn1
- Points [-15, 0; 0, 65]
- Branch {
- ConnectType "DEST_SRC"
- DstBlock "Controlled Voltage Source2"
- DstPort LConn1
- }
- Branch {
- ConnectType "DEST_SRC"
- Points [0, 70]
- DstBlock "Controlled Voltage Source3"
- DstPort LConn1
- }
- }
- Line {
- SrcBlock "Vabc_rotor_conv"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Controlled Voltage Source2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [20, 0; 0, -35]
- DstBlock "Controlled Voltage Source1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- Points [20, 0; 0, 40]
- DstBlock "Controlled Voltage Source3"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Goto
- Name "Vabc rotor converter3"
- Position [790, 712, 830, 728]
- 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 [795, 648, 825, 662]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- 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, -210]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B_rotor_conv"
- SrcPort RConn2
- Points [140, 0; 0, -200]
- DstBlock "Asynchronous Machinenpu Units"
- DstPort RConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B_rotor_conv"
- SrcPort RConn3
- Points [150, 0; 0, -190]
- 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 4
- DstBlock "Goto11"
- DstPort 1
- }
- Line {
- SrcBlock "Control System"
- SrcPort 5
- DstBlock "Goto1"
- DstPort 1
- }
- Line {
- SrcBlock " pu->V"
- SrcPort 1
- Points [120, 0; 0, -135]
- DstBlock "VSI grid"
- DstPort 1
- }
- Line {
- SrcBlock " pu->V "
- SrcPort 1
- Points [135, 0; 0, -220]
- DstBlock "VSI rotor"
- DstPort 1
- }
- Line {
- SrcBlock "From20"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 4
- }
- Line {
- SrcBlock "From18"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 1
- }
- Line {
- SrcBlock "From4"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 3
- }
- Line {
- SrcBlock "Data acquisition"
- SrcPort 1
- DstBlock "m"
- DstPort 1
- }
- Line {
- SrcBlock "Data acquisition"
- SrcPort 2
- DstBlock "Vabc rotor converter3"
- DstPort 1
- }
- Line {
- SrcBlock "From14"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 2
- }
- Line {
- SrcBlock "From17"
- SrcPort 1
- DstBlock "Data acquisition"
- DstPort 5
- }
- Line {
- LineType "Connection"
- SrcBlock "B_grid_conv"
- SrcPort RConn1
- Points [0, 5]
- DstBlock "VSI grid"
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B_grid_conv"
- SrcPort RConn2
- DstBlock "VSI grid"
- DstPort RConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "B_grid_conv"
- SrcPort RConn3
- Points [0, -5]
- DstBlock "VSI grid"
- DstPort RConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "VSI rotor"
- SrcPort RConn1
- DstBlock "B_rotor_conv"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "VSI rotor"
- SrcPort RConn2
- DstBlock "B_rotor_conv"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "VSI rotor"
- SrcPort RConn3
- DstBlock "B_rotor_conv"
- DstPort LConn3
- }
- Line {
- SrcBlock "Control System"
- SrcPort 1
- DstBlock " pu->V"
- DstPort 1
- }
- Line {
- SrcBlock "Control System"
- SrcPort 2
- DstBlock " pu->V "
- DstPort 1
- }
- Line {
- SrcBlock "Control System"
- SrcPort 3
- DstBlock "Goto2"
- DstPort 1
- }
- Line {
- Name "<Rotor angle thetam (rad)>"
- Labels [0, 0]
- SrcBlock "BusnSelector"
- SrcPort 2
- DstBlock "Goto10"
- DstPort 1
- }
- Line {
- SrcBlock "From11"
- SrcPort 1
- DstBlock "Control System"
- DstPort 9
- }
- }
- }
- 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;nel"
- "sen A=SPS.Adiscrete;n B=SPS.Bdiscrete;n C=SPS.Cdiscrete;n "
- " D=SPS.Ddiscrete;n x0=SPS.x0discrete;n Ts=SPS.fixedstep;nend"
- MaskDisplay "color('red')ndisp('EQUIVALENT CIRCUIT')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "EquivalentModel1"
- Location [279, 434, 674, 551]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType SubSystem
- Name "Sources"
- Ports [0, 1]
- Position [15, 32, 80, 58]
- 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 "tp575900"
- }
- Block {
- BlockType From
- Name "From2"
- Position [15, 66, 85, 94]
- GotoTag "tp590302"
- }
- Block {
- BlockType From
- Name "From3"
- Position [15, 111, 85, 139]
- GotoTag "tp590304"
- }
- Block {
- BlockType From
- Name "From4"
- Position [15, 156, 85, 184]
- GotoTag "tp590305"
- }
- Block {
- BlockType From
- Name "From5"
- Position [15, 201, 85, 229]
- GotoTag "tp590307"
- }
- Block {
- BlockType From
- Name "From6"
- Position [15, 246, 85, 274]
- GotoTag "tp590308"
- }
- Block {
- BlockType From
- Name "From7"
- Position [15, 291, 85, 319]
- GotoTag "tp590310"
- }
- Block {
- BlockType From
- Name "From8"
- Position [15, 336, 85, 364]
- GotoTag "tp575549"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [8, 1]
- Position [325, 270, 330, 610]
- Inputs "[4 1 1 1 1 1 1 3]"
- DisplayOption "bar"
- }
- Block {
- BlockType Outport
- Name "u"
- Position [365, 433, 395, 447]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- 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
- }
- 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
- }
- }
- }
- Block {
- BlockType "S-Function"
- Name "State-Space"
- Ports [1, 1]
- Position [115, 20, 240, 70]
- FontName "Arial"
- FontSize 14
- FunctionName "sfun_spssw_discc"
- Parameters "Ts,A, B, C, D, x0"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- }
- Block {
- BlockType SubSystem
- Name "Yout"
- Ports [1]
- Position [275, 33, 340, 57]
- 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, 43]
- Position [100, 170, 105, 590]
- BackgroundColor "black"
- ShowName off
- Outputs "[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]"
- DisplayOption "bar"
- }
- Block {
- BlockType Goto
- Name "Goto1"
- Position [325, 21, 395, 49]
- GotoTag "tp575902"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto10"
- Position [325, 426, 395, 454]
- GotoTag "tp575539"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto11"
- Position [325, 471, 395, 499]
- GotoTag "tp575852"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto12"
- Position [325, 516, 395, 544]
- GotoTag "tp575853"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto13"
- Position [325, 561, 395, 589]
- GotoTag "tp575855"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto14"
- Position [325, 606, 395, 634]
- GotoTag "tp575863"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto15"
- Position [325, 651, 395, 679]
- GotoTag "tp575864"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto16"
- Position [325, 696, 395, 724]
- GotoTag "tp575866"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto17"
- Position [325, 741, 395, 769]
- GotoTag "tp575873"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto18"
- Position [325, 786, 395, 814]
- GotoTag "tp575875"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto19"
- Position [325, 831, 395, 859]
- GotoTag "tp575877"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto2"
- Position [325, 66, 395, 94]
- GotoTag "tp575518"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto20"
- Position [325, 876, 395, 904]
- GotoTag "tp575883"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto21"
- Position [325, 921, 395, 949]
- GotoTag "tp575884"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto22"
- Position [325, 966, 395, 994]
- GotoTag "tp575886"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto23"
- Position [325, 1011, 395, 1039]
- GotoTag "tp575522"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto24"
- Position [325, 1056, 395, 1084]
- GotoTag "tp575524"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto25"
- Position [325, 1101, 395, 1129]
- GotoTag "tp575525"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto26"
- Position [325, 1146, 395, 1174]
- GotoTag "tp575532"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto27"
- Position [325, 1191, 395, 1219]
- GotoTag "tp575533"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto28"
- Position [325, 1236, 395, 1264]
- GotoTag "tp575535"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto29"
- Position [325, 1281, 395, 1309]
- GotoTag "tp575541"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto3"
- Position [325, 111, 395, 139]
- GotoTag "tp575519"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto30"
- Position [325, 1326, 395, 1354]
- GotoTag "tp575543"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto31"
- Position [325, 1371, 395, 1399]
- GotoTag "tp575544"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto32"
- Position [325, 1416, 395, 1444]
- GotoTag "tp575856"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto33"
- Position [325, 1461, 395, 1489]
- GotoTag "tp575858"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto34"
- Position [325, 1506, 395, 1534]
- GotoTag "tp575859"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto35"
- Position [325, 1551, 395, 1579]
- GotoTag "tp575867"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto36"
- Position [325, 1596, 395, 1624]
- GotoTag "tp575869"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto37"
- Position [325, 1641, 395, 1669]
- GotoTag "tp575870"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto38"
- Position [325, 1686, 395, 1714]
- GotoTag "tp575878"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto39"
- Position [325, 1731, 395, 1759]
- GotoTag "tp575880"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto4"
- Position [325, 156, 395, 184]
- GotoTag "tp575521"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto40"
- Position [325, 1776, 395, 1804]
- GotoTag "tp575881"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto41"
- Position [325, 1821, 395, 1849]
- GotoTag "tp575888"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto42"
- Position [325, 1866, 395, 1894]
- GotoTag "tp575889"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto43"
- Position [325, 1911, 395, 1939]
- GotoTag "tp575891"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto5"
- Position [325, 201, 395, 229]
- GotoTag "tp575527"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto6"
- Position [325, 246, 395, 274]
- GotoTag "tp575528"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto7"
- Position [325, 291, 395, 319]
- GotoTag "tp575530"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto8"
- Position [325, 336, 395, 364]
- GotoTag "tp575536"
- TagVisibility "global"
- }
- Block {
- BlockType Goto
- Name "Goto9"
- Position [325, 381, 395, 409]
- GotoTag "tp575538"
- 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 "Sources"
- SrcPort 1
- DstBlock "State-Space"
- 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 [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 [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]
- }
- }
- 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(Average 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(Average 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(Average 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 {
- 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("
- "Average 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 "Wind TurbinenDoubly-Fed Induction Generatorn("
- "Average Model)"
- SrcPort 1
- DstBlock "BusnSelector"
- 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 (Average 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=50e-6 s and Ts_Control=100e-6 s)nare automatically initia"
- "lized (see Model Properties)"
- Position [19, 432]
- HorizontalAlignment "left"
- UseDisplayTextAsClickCallback off
- }
- }
- }