📄 gaopinzhurull.mdl
字号:
Block {
BlockType Step
Name "Step"
Position [505, 150, 535, 180]
Orientation "down"
NamePlacement "alternate"
Time "0"
After "0"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [1, 2]
Position [720, 220, 760, 280]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem1"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "iabc"
Position [190, 158, 220, 172]
IconDisplay "Port number"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [370, 168, 395, 192]
ShowName off
Expr "(sqrt(3)*u(2)/2-sqrt(3)*u(3)/2)*2/3"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [360, 108, 385, 132]
ShowName off
Expr "(u(1)-0.5*u(2)-0.5*u(3))*2/3"
}
Block {
BlockType Outport
Name "ia"
Position [475, 98, 505, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ib"
Position [590, 203, 620, 217]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "iabc"
SrcPort 1
Points [60, 0]
Branch {
Points [0, -45]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 15]
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [35, 0; 0, -15]
DstBlock "ia"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [85, 0; 0, 30]
DstBlock "ib"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [2, 0, 0, 0, 0, 3]
Position [470, 223, 510, 287]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem2"
Location [2, 83, 1014, 726]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "ua"
Position [80, 123, 110, 137]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ub"
Position [85, 173, 115, 187]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [95, 325, 125, 355]
Value "300"
}
Block {
BlockType Constant
Name "Constant1"
Position [90, 220, 120, 250]
Value "0.0001"
}
Block {
BlockType Reference
Name "DC Voltage Source2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [640, 410, 660, 445]
Orientation "up"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou"
"rce"
SourceType "DC Voltage Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Amplitude "300"
Measurements "None"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1]
Position [1110, 143, 1125, 352]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "N1"
Ports [2, 1]
Position [245, 127, 285, 203]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "N1"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Ubeta"
Position [55, 83, 85, 97]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ualfa"
Position [20, 358, 50, 372]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [175, 25, 205, 55]
}
Block {
BlockType Constant
Name "Constant1"
Position [165, 460, 195, 490]
Value "0"
}
Block {
BlockType Gain
Name "Gain"
Position [85, 250, 115, 280]
Gain "1.732"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [90, 400, 120, 430]
Gain "-1.732"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [315, 190, 345, 220]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [325, 355, 355, 385]
Gain "4"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [150, 177, 185, 233]
ShowName off
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [150, 342, 185, 398]
ShowName off
Inputs "|-+"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [390, 104, 420, 256]
ShowName off
Inputs "|+++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch"
Position [250, 54, 285, 126]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch1"
Position [250, 169, 285, 241]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch2"
Position [250, 334, 285, 406]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "N"
Position [510, 173, 540, 187]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Ubeta"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Switch"
DstPort 2
}
Branch {
Labels [1, 0]
Points [0, 115]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 165]
DstBlock "Sum1"
DstPort 1
}
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [20, 0; 0, 25]
Branch {
DstBlock "Switch"
DstPort 1
}
Branch {
Points [0, 115]
Branch {
Points [0, 165]
DstBlock "Switch2"
DstPort 1
}
Branch {
DstBlock "Switch1"
DstPort 1
}
}
}
Line {
SrcBlock "Ualfa"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 50]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -40]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Switch1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Switch2"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [5, 0; 0, -25]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, 0; 0, -85]
Branch {
Points [0, -160]
Branch {
Points [0, -115]
DstBlock "Switch"
DstPort 3
}
Branch {
DstBlock "Switch1"
DstPort 3
}
}
Branch {
Points [35, 0]
DstBlock "Switch2"
DstPort 3
}
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Switch2"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [25, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [55, 0; 0, 70]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [10, 0; 0, -130]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "N"
DstPort 1
}
}
}
Block {
BlockType Relay
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -