📄 dtc.mdl
字号:
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "3/2"
Ports [1, 2]
Position [505, 219, 535, 281]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "3/2"
Location [104, 239, 654, 514]
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 "abc"
Position [25, 68, 55, 82]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [120, 38, 125, 112]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain"
Position [245, 50, 275, 80]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [245, 105, 275, 135]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [405, 70, 435, 100]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [265, 160, 295, 190]
Gain "sqrt(3)/2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [265, 220, 295, 250]
Gain "sqrt(3)/2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [405, 160, 435, 190]
Gain "sqrt(2/3)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [325, 62, 350, 108]
ShowName off
Inputs "|+--"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [330, 147, 355, 203]
ShowName off
Inputs "|+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "a"
Position [490, 78, 520, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "b"
Position [495, 168, 525, 182]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [40, 0; 0, -20; 140, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [5, 0; 0, 25]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [40, 0; 0, -10; 55, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [40, 0; 0, 20; 45, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 115]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "a"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [10, 0; 0, -40]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "b"
DstPort 1
}
Line {
SrcBlock "abc"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
}
}
Block {
BlockType Abs
Name "Abs"
Position [865, 395, 895, 425]
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Asynchronous Machine\nSI Units"
Ports [1, 1, 0, 0, 0, 3]
Position [690, 42, 770, 128]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Unit"
"s"
SourceType "Asynchronous Machine"
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"
PresetModel "No"
MechanicalLoad "Torque Tm"
ShowDetailedParameters on
RotorType "Squirrel-cage"
ReferenceFrame "Stationary"
NominalParameters "[3730 460 50]"
Stator "[1.115 0.005974]"
Rotor "[1.083 0.005974]"
Lm "0.2037"
Mechanical "[0.02 0.005752 2]"
PolePairs "2"
InitialConditions "[ 1,0 0,0,0 0,0,0 ] "
Units "1"
LoadFlowParameters "0"
SimulateSaturation off
Saturation "[9.9249,19.6672,38.0377,51.3988,69.2824,105.133"
"7,152.5532,214.2421,303.1917;230, 322, 414, 460, 506, 552, 598, 644, 690]"
}
Block {
BlockType Reference
Name "DC "
Ports [0, 0, 0, 0, 0, 1, 1]
Position [35, 100, 55, 135]
Orientation "up"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
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 "510"
Measurements "None"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 6]
Position [250, 347, 255, 628]
BackgroundColor "black"
ShowName off
Outputs "6"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [965, 676, 970, 714]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 3]
Position [1085, 31, 1090, 69]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux4"
Ports [1, 3]
Position [405, 16, 410, 54]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain"
Position [985, 81, 1060, 119]
Gain "9.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [34, 250, 56, 275]
Orientation "down"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 4]
Position [860, 38, 925, 137]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
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"
machType "Asynchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 off
sm2 off
sm3 off
sm4 off
sm5 off
sm6 off
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 off
sm12 off
sm13 off
sm14 off
asm1 off
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 on
asm8 off
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 off
pmsm5 on
pmsm6 on
pmsm7 on
lastType "1"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [750, 229, 755, 291]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [1140, 239, 1145, 371]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Relay
Name "Relay"
Position [990, 245, 1020, 275]
OnSwitchValue "0.005"
OffSwitchValue "-0.005"
ZeroCross off
}
Block {
BlockType Relay
Name "Relay1"
Position [1000, 395, 1030, 425]
OnSwitchValue "1"
OffSwitchValue "-1"
ZeroCross off
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [890, 545, 950, 575]
FunctionName "cilian"
}
Block {
BlockType "S-Function"
Name "S-Function1"
Ports [1, 1]
Position [490, 625, 550, 655]
Orientation "left"
FunctionName "pulse"
}
Block {
BlockType "S-Function"
Name "S-Function2"
Ports [1, 1]
Position [875, 625, 935, 655]
Orientation "left"
FunctionName "kaiguan"
}
Block {
BlockType Scope
Name "Scope"
Ports [3]
Position [1035, 679, 1065, 711]
Floating off
Location [188, 390, 512, 629]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
YMin "-5~-5~-5"
YMax "5~5~5"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -