📄 dfigpwm.mdl
字号:
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Terminator
Name " "
Position [420, 95, 440, 115]
}
Block {
BlockType Reference
Name "3s/2r"
Ports [2, 1]
Position [185, 26, 245, 84]
SourceBlock "powerlib_extras/Measurements/abc_to_dq0"
"\nTransformation"
SourceType "abc to dq0 Transformation"
ShowPortLabels "on"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [340, 36, 345, 74]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Ud"
Position [415, 28, 445, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Uq"
Position [415, 58, 445, 72]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "u_abc"
SrcPort 1
DstBlock "3s/2r"
DstPort 1
}
Line {
SrcBlock "sin_cos"
SrcPort 1
DstBlock "3s/2r"
DstPort 2
}
Line {
SrcBlock "3s/2r"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "Ud"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [25, 0; 0, 10]
DstBlock "Uq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [15, 0; 0, 40]
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "3s/2r1"
Ports [2, 2]
Position [480, 224, 550, 306]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "3s/2r1"
Location [358, 197, 970, 339]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "u_abc"
Position [85, 33, 115, 47]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "sin_cos"
Position [25, 63, 55, 77]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Terminator
Name " "
Position [420, 95, 440, 115]
}
Block {
BlockType Reference
Name "3s/2r"
Ports [2, 1]
Position [185, 26, 245, 84]
SourceBlock "powerlib_extras/Measurements/abc_to_dq0"
"\nTransformation"
SourceType "abc to dq0 Transformation"
ShowPortLabels "on"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [340, 36, 345, 74]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Ud"
Position [415, 28, 445, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Uq"
Position [415, 58, 445, 72]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "u_abc"
SrcPort 1
DstBlock "3s/2r"
DstPort 1
}
Line {
SrcBlock "sin_cos"
SrcPort 1
DstBlock "3s/2r"
DstPort 2
}
Line {
SrcBlock "3s/2r"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "Ud"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [25, 0; 0, 10]
DstBlock "Uq"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [15, 0; 0, 40]
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "DFIG dq model"
Ports [6, 8]
Position [650, 28, 825, 387]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskPromptString "rs|rr|Lm|Ls|Lr|np|J"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on"
MaskCallbackString "||||||"
MaskEnableString "on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,"
MaskVariables "rs=@1;rr=@2;Lm=@3;Ls=@4;Lr=@5;np=@6;J=@7;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.435|0.816|0.069|0.071|0.071|2|0.089"
MaskTabNameString ",,,,,,"
System {
Name "DFIG dq model"
Location [127, 82, 1070, 681]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Uds"
Position [65, 83, 95, 97]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Uqs"
Position [65, 113, 95, 127]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "w1"
Position [30, 203, 60, 217]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Udr"
Position [45, 288, 75, 302]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Uqr"
Position [75, 313, 105, 327]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Tm"
Position [525, 243, 555, 257]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Fcn
Name "Fcn"
Position [655, 100, 715, 130]
Expr "sqrt(u(1)^2+u(2)^2)"
}
Block {
BlockType Gain
Name "Gain"
Position [480, 475, 510, 505]
Orientation "left"
NamePlacement "alternate"
Gain "np"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
Port {
PortNumber 1
Name "wr"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [625, 96, 630, 134]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Rotor"
Ports [5, 2]
Position [165, 284, 260, 406]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Rotor"
Location [634, 351, 1084, 702]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Udr"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Uqr"
Position [30, 313, 60, 327]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "idr"
Position [25, 78, 55, 92]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "iqr"
Position [30, 268, 60, 282]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "w1-wr"
Position [30, 138, 60, 152]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name " "
Position [110, 70, 150, 100]
Gain "rr"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name " "
Ports [3, 1]
Position [215, 242, 235, 308]
Inputs "--+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name " "
Ports [3, 1]
Position [205, 52, 225, 118]
Inputs "+-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name " "
Position [110, 259, 150, 291]
Gain "rr"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name " "
Ports [2, 1]
Position [120, 134, 135, 176]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name " "
Ports [2, 1]
Position [120, 199, 135, 241]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [290, 70, 320, 100]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [290, 260, 320, 290]
IgnoreLimit off
}
Block {
BlockType Outport
Name "phidr"
Position [390, 78, 420, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "phiqr"
Position [395, 268, 425, 282]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "idr"
SrcPort 1
Points [0, 0]
DstBlock " "
DstPort 1
}
Line {
SrcBlock " "
SrcPort 1
DstBlock " "
DstPort 2
}
Line {
SrcBlock "Udr"
SrcPort 1
Points [65, 0; 0, 30]
DstBlock " "
DstPort 1
}
Line {
SrcBlock "iqr"
SrcPort 1
Points [0, 0]
DstBlock " "
DstPort 1
}
Line {
SrcBlock " "
SrcPort 1
DstBlock " "
DstPort 2
}
Line {
SrcBlock "Uqr"
SrcPort 1
Points [75, 0; 0, -25]
DstBlock " "
DstPort 3
}
Line {
SrcBlock "w1-wr"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock " "
DstPort 1
}
Branch {
Points [0, 85]
DstBlock " "
DstPort 2
}
}
Line {
SrcBlock " "
SrcPort 1
Points [25, 0; 0, -50]
DstBlock " "
DstPort 3
}
Line {
SrcBlock " "
SrcPort 1
Points [30, 0; 0, 35]
DstBlock " "
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -