📄 simim_dtc.mdl
字号:
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels on
VoltageMeasurement "phase-to-ground"
SetLabelV off
LabelV "Vabc"
Vpu off
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
Vbase "500e3"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Constant
Name "UDC"
Position [1195, 545, 1225, 575]
Orientation "left"
NamePlacement "alternate"
Value "100"
}
Block {
BlockType SubSystem
Name "U_3/2"
Ports [1, 2]
Position [940, 546, 1000, 604]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "U_3/2"
Location [-404, 459, 864, 1354]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Us_abc"
Position [15, 228, 45, 242]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [75, 125, 80, 345]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain"
Position [240, 140, 270, 170]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [240, 197, 265, 233]
Gain "sqrt(3)/2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [450, 110, 480, 140]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [240, 320, 270, 350]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [245, 387, 270, 423]
Gain "sqrt(3)/2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [450, 440, 480, 470]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [3, 1]
Position [395, 88, 410, 162]
Inputs "+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [2, 1]
Position [400, 423, 415, 487]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "UA"
Position [540, 118, 570, 132]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "UB"
Position [565, 448, 595, 462]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Us_abc"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "UA"
DstPort 1
}
Line {
SrcBlock "Subtract"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "UB"
DstPort 1
}
Line {
SrcBlock "Subtract1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [60, 0; 0, -20; 40, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [60, 0; 0, 25; 50, 0]
Branch {
Points [0, 70]
DstBlock "Gain4"
DstPort 1
}
Branch {
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [55, 0; 0, 65]
DstBlock "Subtract1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [30, 0; 0, 165; 85, 0]
DstBlock "Subtract1"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [80, 0; 0, -185]
DstBlock "Subtract"
DstPort 3
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [50, 0; 0, -30]
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [65, 0; 0, -60]
DstBlock "Subtract"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Uabc_calculate"
Ports [2, 3]
Position [1065, 542, 1165, 608]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Uabc_calculate"
Location [2, 82, 1270, 977]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "UDC"
Position [900, 133, 930, 147]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "sabc"
Position [250, 393, 280, 407]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [3, 1]
Position [920, 204, 945, 276]
Inputs "+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [3, 1]
Position [920, 384, 945, 456]
Inputs "-+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [3, 1]
Position [920, 539, 945, 611]
Inputs "--+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [645, 200, 675, 230]
Value "2"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [375, 331, 380, 469]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [765, 234, 795, 276]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [755, 409, 785, 451]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide2"
Ports [2, 1]
Position [765, 569, 795, 611]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide3"
Ports [2, 1]
Position [1035, 219, 1065, 261]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide4"
Ports [2, 1]
Position [1040, 384, 1070, 426]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide5"
Ports [2, 1]
Position [1045, 574, 1075, 616]
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
Position [960, 125, 990, 155]
Gain "1/3"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "UA"
Position [1110, 233, 1140, 247]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "UB"
Position [1110, 408, 1140, 422]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "UC"
Position [1105, 593, 1135, 607]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [25, 0; 0, 30]
Branch {
DstBlock "Divide"
DstPort 1
}
Branch {
Points [0, 195]
Branch {
DstBlock "Divide1"
DstPort 2
}
Branch {
Points [0, 160]
DstBlock "Divide2"
DstPort 2
}
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [205, 0; 0, -65; 160, 0]
Branch {
DstBlock "Divide"
DstPort 2
}
Branch {
Points [50, 0]
Branch {
Points [0, 230; 105, 0]
DstBlock "Add2"
DstPort 1
}
Branch {
Points [105, 0]
DstBlock "Add1"
DstPort 1
}
}
}
Line {
SrcBlock "Divide"
SrcPort 1
Points [15, 0; 0, -40]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [0, -5; 345, 0]
Branch {
Points [0, 25]
DstBlock "Divide1"
DstPort 1
}
Branch {
Points [95, 0]
Branch {
Points [0, -155]
DstBlock "Add"
DstPort 2
}
Branch {
Points [0, 180]
DstBlock "Add2"
DstPort 2
}
}
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [295, 0; 0, 95; 55, 0]
Branch {
Points [0, 40]
DstBlock "Divide2"
DstPort 1
}
Branch {
Points [105, 0; 0, -95]
Branch {
Points [0, -180]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -