📄 power_wind_dfig_det.mdl
字号:
BlockType Inport
Name "Iabc_grid_conv"
Position [35, 103, 65, 117]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc_stator"
Position [35, 193, 65, 207]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc_rotor"
Position [35, 238, 65, 252]
Port "7"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Q_B1"
Position [35, 373, 65, 387]
Port "8"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vdc"
Position [35, 148, 65, 162]
Port "9"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "angle_rotor"
Position [35, 463, 65, 477]
Port "10"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "Control"
Ports [10, 4]
Position [435, 35, 575, 500]
ForegroundColor "blue"
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Control"
Location [56, 90, 1089, 895]
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 [40, 63, 70, 77]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc_grid_conv"
Position [255, 98, 285, 112]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vdc"
Position [345, 303, 375, 317]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc_stator"
Position [430, 508, 460, 522]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc_rotor"
Position [430, 548, 460, 562]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Q_ref"
Position [430, 628, 460, 642]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iq_grid_conv_ref"
Position [425, 203, 455, 217]
Port "7"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Q_B1"
Position [430, 668, 460, 682]
Port "8"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "wr"
Position [300, 828, 330, 842]
Port "9"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "angle_rotor"
Position [430, 708, 460, 722]
Port "10"
IconDisplay "Port number"
}
Block {
BlockType Saturate
Name "0-pitch_max"
Position [515, 820, 545, 850]
UpperLimit "pitch_max"
LowerLimit "0"
}
Block {
BlockType Constant
Name "Constant2"
Position [345, 860, 400, 880]
ShowName off
Value "speed_D"
}
Block {
BlockType Reference
Name "Discrete\n3-phase PLL"
Ports [1, 3]
Position [130, 135, 195, 205]
BackgroundColor "lightBlue"
SourceBlock "powerlib_extras/Discrete \nControl "
"Blocks/Discrete\n3-phase PLL"
SourceType "Discrete 3-phase PLL"
ShowPortLabels "on"
Fmin "45"
Par_Init "[-45 60]"
ParK "[60 1400]"
Ts "Ts_Control"
}
Block {
BlockType SubSystem
Name "Grid-side converter\nControl system"
Ports [6, 1]
Position [495, 50, 640, 265]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Grid-side converter\nControl syst"
"em"
Location [44, 154, 987, 655]
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 [205, 178, 235, 192]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc_grid_conv"
Position [205, 208, 235, 222]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Theta"
Position [205, 148, 235, 162]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vdc"
Position [55, 323, 85, 337]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iq_ref"
Position [270, 338, 300, 352]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Freq"
Position [485, 248, 515, 262]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "Current regulator"
Ports [4, 1]
Position [555, 145, 640, 320]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Current regulator"
Location [462, 257, 1164, 847]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vdqs"
Position [30, 63, 60, 77]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Idq"
Position [145, 238, 175, 252]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Freq"
Position [25, 503, 55, 517]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Idq_ref"
Position [145, 163, 175, 177]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant1"
Position [365, 67, 405, 83]
ShowName off
Value "L_RL"
}
Block {
BlockType Constant
Name "Constant2"
Position [360, 417, 400, 433]
ShowName off
Value "L_RL"
}
Block {
BlockType Constant
Name "Constant3"
Position [365, 132, 405, 148]
ShowName off
Value "R_RL"
}
Block {
BlockType Constant
Name "Constant4"
Position [360, 372, 400, 388]
ShowName off
Value "R_RL"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [210, 224, 215, 266]
BackgroundColor "black"
ShowName off
Outputs "2"
Port {
PortNumber 1
Name "Id"
PropagatedSignals "Vd"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Iq"
PropagatedSignals "Vq"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [210, 149, 215, 191]
BackgroundColor "black"
ShowName off
Outputs "2"
Port {
PortNumber 1
Name "Id_ref"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Iq_ref"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [90, 49, 95, 91]
BackgroundColor "black"
ShowName off
Outputs "2"
Port {
PortNumber 1
Name "Vd"
PropagatedSignals "Vd"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Vq"
PropagatedSignals "Vq"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 2]
Position [465, 209, 470, 251]
BackgroundColor "black"
ShowName off
Outputs "2"
Port {
PortNumber 1
Name "vd'"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "vq'"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Discrete\nPI Controller"
Ports [1, 1]
Position [405, 215, 435, 245]
BackgroundColor "lightBlue"
ShowName off
SourceBlock "powerlib_extras/Discrete \nContro"
"l Blocks/Discrete\nPI Controller"
SourceType "Discrete PI Controller"
ShowPortLabels "on"
Kp "Kpi_grid_side_cur_reg(1)"
Ki "Kpi_grid_side_cur_reg(2)"
Par_Limits "[1.1 -1.1]"
Init "0"
Ts "Ts_Control"
}
Block {
BlockType Product
Name "Divide3"
Ports [2, 1]
Position [90, 502, 120, 533]
ShowName off
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Fnom"
Position [25, 535, 55, 565]
Value "Fnom"
}
Block {
BlockType From
Name "From1"
Position [360, 437, 400, 453]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "w_pu"
}
Block {
BlockType From
Name "From10"
Position [365, 153, 395, 167]
ShowName
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -