📄 d.mdl
字号:
}
Block {
BlockType Reference
Name "DC 400V"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [175, 245, 195, 280]
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 "400"
Measurements "None"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [545, 102, 555, 178]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain1"
Position [625, 420, 655, 450]
Gain "2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Multimeter"
Ports [0, 1]
Position [445, 121, 485, 159]
SourceBlock "powerlib/Measurements/Multimeter"
SourceType "MultimeterPSB"
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"
PhasorSimulation off
OutputType "Complex"
sel "[1 9 4]"
L "10"
Gain "[1 1 1]"
yselected "{'Uag: Three-Phase Series RLC Load','Ibg: Three"
"-Phase Series RLC Load','Uab: Universal Bridge'};"
PSBOutputType "1"
PSBequivalent "0"
AxesSetting "[0,0.1,-100,100]"
Display "0"
SavedBlockNames "-11"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [500, 369, 505, 461]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [630, 101, 660, 204]
Floating off
Location [1, 47, 1025, 737]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-300~-2~-500~0"
YMax "300~2~500~1.75"
SaveToWorkspace on
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [570, 506, 595, 544]
Floating off
Location [5, 47, 1029, 743]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-300"
YMax "300"
SaveToWorkspace on
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 1]
Position [670, 404, 770, 446]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem"
Location [2, 77, 1014, 728]
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 [220, 183, 250, 197]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc"
Position [220, 88, 250, 102]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion10"
Position [460, 99, 505, 121]
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion11"
Position [600, 99, 645, 121]
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion6"
Position [460, 199, 505, 221]
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion7"
Position [605, 199, 650, 221]
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion8"
Position [605, 149, 650, 171]
ShowName off
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion9"
Position [460, 149, 505, 171]
ShowName off
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 3]
Position [280, 75, 285, 115]
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux4"
Ports [1, 3]
Position [280, 170, 285, 210]
ShowName off
Outputs "3"
}
Block {
BlockType Logic
Name "Logical\nOperator3"
Ports [1, 1]
Position [545, 100, 575, 120]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator4"
Ports [1, 1]
Position [540, 150, 570, 170]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator5"
Ports [1, 1]
Position [540, 200, 570, 220]
ShowName off
Operator "NOT"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1]
Position [675, 70, 680, 225]
ShowName off
Inputs "6"
}
Block {
BlockType Relay
Name "Relay1"
Position [395, 122, 415, 148]
ShowName off
OnSwitchValue "0.05"
OffSwitchValue "-0.05"
}
Block {
BlockType Relay
Name "Relay2"
Position [395, 172, 415, 198]
ShowName off
OnSwitchValue "0.05"
OffSwitchValue "-0.05"
}
Block {
BlockType Relay
Name "Relay3"
Position [395, 72, 415, 98]
ShowName off
OnSwitchValue "0.05"
OffSwitchValue "-0.05"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [355, 74, 375, 96]
ShowName off
Inputs "-+"
CollapseMode "All dimensions"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [355, 124, 375, 146]
ShowName off
Inputs "-+"
CollapseMode "All dimensions"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [355, 174, 375, 196]
ShowName off
Inputs "-+"
CollapseMode "All dimensions"
}
Block {
BlockType Outport
Name "Pulses"
Position [705, 143, 735, 157]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Data Type Conversion11"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Data Type Conversion10"
SrcPort 1
DstBlock "Logical\nOperator3"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion9"
SrcPort 1
DstBlock "Logical\nOperator4"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion8"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Data Type Conversion7"
SrcPort 1
DstBlock "Mux1"
DstPort 6
}
Line {
SrcBlock "Data Type Conversion6"
SrcPort 1
DstBlock "Logical\nOperator5"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay3"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 2
Points [25, 0; 0, 35]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Pulses"
DstPort 1
}
Line {
SrcBlock "Iabc"
SrcPort 1
DstBlock "Demux3"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 3
Points [15, 0; 0, 70]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Demux4"
SrcPort 3
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Demux4"
SrcPort 2
Points [45, 0; 0, -50]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Demux4"
SrcPort 1
Points [35, 0; 0, -85]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Iabc*"
SrcPort 1
DstBlock "Demux4"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -