📄 hw_resistorstart.mdl
字号:
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [269, 245, 291, 270]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ro1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [60, 92, 90, 118]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0.107"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Ro2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [155, 92, 185, 118]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0.057"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Ro3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [250, 92, 280, 118]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0.023"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Scope
Name "Scope"
Ports [5]
Position [395, 144, 430, 206]
Location [520, 135, 859, 575]
Open off
NumInputPorts "5"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
}
YMin "-100~-500~0.95~-100~-500"
YMax "1000~3500~1.05~600~600"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Step
Name "Step1"
Position [25, 55, 45, 75]
NamePlacement "alternate"
Time "2.8"
SampleTime "0"
}
Block {
BlockType Step
Name "Step2"
Position [120, 55, 140, 75]
NamePlacement "alternate"
Time "4.8"
SampleTime "0"
}
Block {
BlockType Step
Name "Step3"
Position [215, 55, 235, 75]
NamePlacement "alternate"
Time "6.8"
SampleTime "0"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [400, 14, 440, 36]
VariableName "nout"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [400, 58, 440, 82]
VariableName "iaout"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [400, 103, 440, 127]
VariableName "Temout"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Reference
Name "Vf"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [185, 245, 220, 265]
Orientation "left"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "220"
Measurements "None"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [325, 198, 350, 222]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
Port {
PortNumber 1
Name "U"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Line {
SrcBlock "DC Machine"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
Name "n"
SrcBlock "Demux"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Labels [-1, 1]
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, -130]
DstBlock "To Workspace1"
DstPort 1
}
}
Line {
Name "ia"
SrcBlock "Demux"
SrcPort 2
Points [0, 0; 50, 0]
Branch {
Labels [-1, 1]
DstBlock "Scope"
DstPort 2
}
Branch {
Points [0, -95]
DstBlock "To Workspace2"
DstPort 1
}
}
Line {
Name "if"
Labels [-1, 1]
SrcBlock "Demux"
SrcPort 3
DstBlock "Scope"
DstPort 3
}
Line {
Name "Tem"
SrcBlock "Demux"
SrcPort 4
Points [0, 0; 65, 0]
Branch {
Labels [-1, 1]
DstBlock "Scope"
DstPort 4
}
Branch {
Points [0, -70]
DstBlock "To Workspace3"
DstPort 1
}
}
Line {
LineType "Connection"
SrcBlock "Vf"
SrcPort RConn1
Points [-20, 0]
DstBlock "DC Machine"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "Vf"
SrcPort LConn1
Points [30, 0]
DstBlock "DC Machine"
DstPort RConn2
}
Line {
SrcBlock "Step1"
SrcPort 1
DstBlock "Breaker1"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "DC "
SrcPort RConn1
Points [0, 30; 0, -35]
Branch {
ConnectType "DEST_SRC"
Points [0, -25]
DstBlock "Breaker1"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Ro1"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Breaker2"
SrcPort LConn1
Points [0, 0; -25, 0]
Branch {
ConnectType "DEST_SRC"
Points [0, 25]
Branch {
ConnectType "DEST_DEST"
SrcBlock "Ro1"
SrcPort RConn1
Points [0, 0; 10, 0]
}
Branch {
ConnectType "DEST_SRC"
Points [30, 0]
DstBlock "Ro2"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
Points [0, -5]
DstBlock "Breaker1"
DstPort RConn1
}
}
Line {
SrcBlock "Step2"
SrcPort 1
DstBlock "Breaker2"
DstPort 1
}
Line {
LineType "Connection"
Points [210, 80; 0, 5; 0, 20]
Branch {
ConnectType "SRC_SRC"
DstBlock "Breaker3"
DstPort LConn1
}
Branch {
ConnectType "SRC_SRC"
Points [0, -5]
DstBlock "Breaker2"
DstPort RConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Ro2"
SrcPort RConn1
Points [5, 0; 5, 0]
}
Branch {
ConnectType "DEST_SRC"
Points [30, 0]
DstBlock "Ro3"
DstPort LConn1
}
}
Line {
SrcBlock "Step3"
SrcPort 1
DstBlock "Breaker3"
DstPort 1
}
Line {
LineType "Connection"
Points [125, 200; 0, 95; 170, 0; 0, -90; 15, 0]
DstBlock "Voltage Measurement"
DstPort LConn1
Branch {
ConnectType "SRC_DEST"
Points [305, 105; 0, 30; -180, 0; 0, 65]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Breaker3"
SrcPort RConn1
Points [0, 0; 0, 30]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "Ro3"
SrcPort RConn1
Points [5, 0; 5, 0]
}
}
Branch {
ConnectType "SRC_SRC"
DstBlock "DC Machine"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Ground"
SrcPort LConn1
DstBlock "DC "
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Ground1"
SrcPort LConn1
Points [0, 0; 0, -15]
Branch {
ConnectType "DEST_SRC"
Points [0, -15]
DstBlock "DC Machine"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Voltage Measurement"
DstPort LConn2
}
}
Line {
Name "U"
Labels [3, 0]
SrcBlock "Voltage Measurement"
SrcPort 1
Points [10, 0; 0, -15]
DstBlock "Scope"
DstPort 5
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "DC Machine"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -