📄 circuitbreaker_3.mdl
字号:
DstPort 1
}
Branch {
DstBlock "ideal_switch"
DstPort 1
}
Branch {
DstBlock "transit"
DstPort 2
}
}
Line {
SrcBlock "MasterMux"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Line {
SrcBlock "MuxSwitch"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "MasterMux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "MasterMux"
DstPort 1
}
Line {
SrcBlock "ideal_switch"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "ideal_switch"
SrcPort 2
DstBlock "MuxSwitch"
DstPort 1
}
Line {
SrcBlock "electrical sources"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType PMIOPort
Name "+"
Position [15, 28, 45, 42]
Port "1"
Side "left"
}
Block {
BlockType PMIOPort
Name "-"
Position [190, 24, 215, 46]
Orientation "left"
Port "2"
Side "left"
}
Block {
BlockType Outport
Name "v"
Position [405, 139, 425, 161]
FontSize 16
InitialOutput "0"
}
Line {
LineType "Connection"
SrcBlock "-"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "+"
SrcPort RConn1
Points [0, 0]
DstBlock "VoltageMeasurement"
DstPort LConn1
}
Line {
SrcBlock "Simulation method"
SrcPort 1
DstBlock "Phasor Measurements"
DstPort enable
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Phasor Measurements"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "v"
DstPort 1
}
Line {
SrcBlock "source"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Phasor Measurements"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Mux"
DstPort 2
}
}
}
}
Block {
BlockType Reference
Name "R Load"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [555, 146, 625, 174]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "1"
Inductance "0"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Gain
Name "Rated Current"
Position [150, 265, 180, 295]
Gain "5"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [755, 84, 795, 206]
Location [311, 403, 1084, 814]
Open on
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "50"
YMin "0~0~0~0"
YMax "50~55~50~1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType SubSystem
Name "Signal Builder\n1=100% of load"
Tag "STV Subsys"
Ports [0, 2]
Position [30, 259, 110, 341]
CopyFcn "sigbuilder_block('copy');"
DeleteFcn "sigbuilder_block('delete');"
LoadFcn "sigbuilder_block('open',[126 70.5 526.5 286.5 ]"
");"
ModelCloseFcn "sigbuilder_block('modelClose');"
PreSaveFcn "sigbuilder_block('preSave');"
StartFcn "sigbuilder_block('start');"
StopFcn "sigbuilder_block('stop');"
NameChangeFcn "sigbuilder_block('namechange');"
ClipboardFcn "sigbuilder_block('clipboard');"
OpenFcn "sigbuilder_block('open',[44.25 356.25 526.5 286"
".5 ]);"
CloseFcn "sigbuilder_block('close');"
TreatAsAtomicUnit off
MaskType "Sigbuilder block"
MaskDescription "Sigbuilder GUI"
MaskInitialization "if ~strcmp(get_param(bdroot,'SimulationStatus')"
",'stopped') tuvar = sigbuilder_block('maskInit'); end"
MaskDisplay "plot(0,0,100,100,[10,10,40,40,10],[80,20,20,80,"
"80],[40,10],[50,50], [40,27,10],[65,72,56],[40,25,25,10],[28,28,43,43]);"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
Port {
PortNumber 2
Name "Reset"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Signal Builder\n1=100% of load"
Location [480, 85, 980, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Demux
Name "Demux"
Tag "STV Demux"
Ports [1, 2]
Position [150, 42, 160, 618]
Outputs "2"
}
Block {
BlockType FromWorkspace
Name "FromWs"
Tag "STV FromWs"
Position [30, 300, 115, 350]
VariableName "tuvar"
SampleTime "0"
SigBuilderData "DataTag0"
}
Block {
BlockType Outport
Name "Signal 2"
Tag "STV Outport"
Position [280, 30, 300, 40]
}
Block {
BlockType Outport
Name "Reset"
Tag "STV Outport"
Position [280, 60, 300, 70]
Port "2"
}
Line {
SrcBlock "FromWs"
SrcPort 1
Points [15, 0]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Signal 2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Reset"
DstPort 1
}
}
}
Line {
LineType "Connection"
Points [385, 295; 15, 0; 125, 0]
Branch {
ConnectType "SRC_SRC"
Points [-100, 0]
DstBlock "CVS"
DstPort LConn1
}
Branch {
ConnectType "SRC_SRC"
Points [0, -55]
DstBlock "Ground"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [145, 0; 0, -135]
DstBlock "R Load"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, -35]
DstBlock "Load Voltage"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "CVS"
SrcPort RConn1
Points [0, -5]
DstBlock "5A Breaker"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "R Load"
SrcPort LConn1
Points [0, 0; -15, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "5A Breaker"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, 90]
DstBlock "Load Voltage"
DstPort LConn1
}
}
Line {
Name "Vload"
Labels [3, 0]
SrcBlock "Load Voltage"
SrcPort 1
Points [90, 0; 0, -95]
DstBlock "Scope"
DstPort 3
}
Line {
Name "Isw"
Labels [-1, 1]
SrcBlock "5A Breaker"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
Name "Vsw"
Labels [-1, 1]
SrcBlock "5A Breaker"
SrcPort 2
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Signal Builder\n1=100% of load"
SrcPort 1
DstBlock "Rated Current"
DstPort 1
}
Line {
SrcBlock "Rated Current"
SrcPort 1
Points [80, 0]
DstBlock "CVS"
DstPort 1
}
Line {
Name "Reset"
Labels [0, 0]
SrcBlock "Signal Builder\n1=100% of load"
SrcPort 2
Points [215, 0]
Branch {
Points [0, -210]
DstBlock "5A Breaker"
DstPort 1
}
Branch {
Points [385, 0; 0, -130]
DstBlock "Scope"
DstPort 4
}
}
}
}
MatData {
NumRecords 1
DataRecord {
Tag DataTag0
Data " %)30 . < \\ 8 ( @ % "
"\" $ ! 0 % 0 # $ !( 9W)I9%-E='1I;F< 8VAA;FYE;', "
" 87AE<P 8V]M;6]N 9&%T85-E= 9&%T85-E=$ED> #@ # "
" & \" 0 !0 @ ! @ $ ! $ &\\ ;@ . P @ "
" 8 ( @ % \" $ \" 0 % 0 \"@ $ \"\""
" >$1A=&$ 'E$871A !S=&5P6 <W1E<%D 'E-:6X !Y36%X "
" 8V]L;W( &QI;F53='EL90!L:6YE5VED=&@ ;&%B96P &]U=$EN9&5X !A;&"
"Q81&%T80 86QL641A=&$ X ! !@ @ & 4 ( 0 "
" ( ! D 0 D0 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\\ #@ / \" & \" ( !0 @ ! "
" @ $ !0 $ L ! -P &-H86YN96QS >4QI;0 !L86)E;%"
"!O<P &QA8F5L2 ;&%B96Q0871C: #@ #@ & \" 8 !0 "
"@ ! 0 $ \"0 @ 0 X ! !@ @ & "
" 4 ( 0 ( ! D 0 FIF9F9F9N;^:F9F9F9GQ/PX P "
" !@ @ $ 4 ( 0 ( ! 0 ! !4 $P #@ #@ &"
" \" 8 !0 @ ! 0 $ \"0 @ L@-K,0 X"
" X !@ @ & 4 ( 0 $ ! D ( "
"- #:S$ . . 8 ( !@ % \" $ ! 0 ) "
"\" / _#@ $ & \" 8 !0 @ ! @ $ "
" \"0 ! B0 \"9 #@ # & \" 0 !0 "
" @ ! @ $ ! $ %0 3 . . 8 ( !@ % \""
" $ ! 0 ) \" #R V,Q #@ #@ & \" 8 "
" !0 @ ! 0 $ \"0 @ \\ -C,0 X !H 0 !@ @"
" \" 4 ( 0 $ ! 4 ! ) 0 \"0 !D:7-P5&"
"EM90!D:7-P36]D90!M:6Y4:6UE !M87A4:6UE #@ $ & \" 8 "
" !0 @ ! @ $ \"0 ! \"1 #@ #@ "
" & \" 8 !0 @ ! 0 $ \"0 @ #P"
"/PX X !@ @ & 4 ( 0 $ ! D ( "
" . . 8 ( !@ % \" $ ! 0 ) "
" \" \"1 #@ $ ! & \" ( !0 @ ! 0 $"
" !0 $ X ! *@ &%C=&EV941I<W!)9'@ =&EM95)A;F=E !N86UE "
" X ! !@ @ & 4 ( 0 ( ! "
" D 0 $ #P/PX ! !@ @ & 4 ( "
" 0 ( ! D 0 D0 X ! !@ @ "
"$ 4 ( 0 < ! 0 . 1P!R &\\ =0!P \" ,0 "
"X X !@ @ & 4 ( 0 $ ! D ( "
" \\#\\"
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -