📄 circuitbreaker_1.mdl
字号:
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "my breaker"
Location [131, 208, 879, 566]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Reset"
Position [15, 123, 45, 137]
}
Block {
BlockType Abs
Name "Abs"
Position [555, 105, 585, 135]
Orientation "up"
}
Block {
BlockType Terminator
Name "Ahhnuld"
Position [270, 165, 290, 185]
}
Block {
BlockType DataTypeConversion
Name "Conv"
Position [250, 116, 305, 144]
DataType "double"
}
Block {
BlockType DataTypeConversion
Name "Conv1"
Position [75, 116, 130, 144]
DataType "boolean"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [480, 173, 485, 242]
BackgroundColor "black"
ShowName off
Outputs "2"
Port {
PortNumber 1
Name "Isw"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "Vsw"
PropagatedSignals "Vak"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Ideal Switch"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [355, 184, 415, 286]
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Ideal Switch"
SourceType "Ideal Switch"
Ron "0.001"
Lon "0"
IC "1"
Rs "0"
Cs "0"
Measurements on
}
Block {
BlockType TransferFcn
Name "Mechanical Reaction"
Position [465, 27, 540, 63]
Orientation "left"
Denominator "[Tau 1]"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [370, 37, 400, 68]
Orientation "left"
InputSameDT off
}
Block {
BlockType Reference
Name "S-R\nFlip-Flop"
Ports [2, 2]
Position [175, 107, 220, 198]
SourceBlock "simulink_extras/Flip Flops/S-R\nFlip-Flop"
SourceType "SRFlipFlop"
initial_condition "1"
}
Block {
BlockType Constant
Name "Static Trip Current "
Position [370, 110, 400, 140]
Value "Iset"
}
Block {
BlockType PMIOPort
Name "Conn1"
Position [240, 253, 270, 267]
Port "1"
Side "left"
}
Block {
BlockType PMIOPort
Name "Conn2"
Position [505, 253, 535, 267]
Orientation "left"
Port "2"
Side "right"
}
Block {
BlockType Outport
Name "Ibreaker"
Position [610, 183, 640, 197]
}
Block {
BlockType Outport
Name "Vbreaker"
Position [610, 218, 640, 232]
Port "2"
}
Line {
SrcBlock "Ideal Switch"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
Name "Isw"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 1
Points [80, 0]
Branch {
DstBlock "Ibreaker"
DstPort 1
}
Branch {
DstBlock "Abs"
DstPort 1
}
}
Line {
SrcBlock "Mechanical Reaction"
SrcPort 1
DstBlock "Relational\nOperator"
DstPort 1
}
Line {
SrcBlock "Static Trip Current "
SrcPort 1
Points [25, 0; 0, -65]
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "S-R\nFlip-Flop"
SrcPort 1
DstBlock "Conv"
DstPort 1
}
Line {
SrcBlock "Conv"
SrcPort 1
Points [15, 0; 0, 80]
DstBlock "Ideal Switch"
DstPort 1
}
Line {
Name "Vsw"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 2
DstBlock "Vbreaker"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Ideal Switch"
SrcPort LConn1
Points [0, 0]
DstBlock "Conn1"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Ideal Switch"
SrcPort RConn1
Points [0, 0]
DstBlock "Conn2"
DstPort RConn1
}
Line {
SrcBlock "Reset"
SrcPort 1
DstBlock "Conv1"
DstPort 1
}
Line {
SrcBlock "Conv1"
SrcPort 1
DstBlock "S-R\nFlip-Flop"
DstPort 1
}
Line {
SrcBlock "S-R\nFlip-Flop"
SrcPort 2
DstBlock "Ahhnuld"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [-220, 0; 0, 120]
DstBlock "S-R\nFlip-Flop"
DstPort 2
}
Line {
SrcBlock "Abs"
SrcPort 1
Points [0, -55]
DstBlock "Mechanical Reaction"
DstPort 1
}
Annotation {
Name "Isw"
Position [546, 188]
}
}
}
Line {
LineType "Connection"
SrcBlock "R Load"
SrcPort RConn1
Points [30, 0; 0, 45]
Branch {
ConnectType "DEST_SRC"
Points [0, 90; -170, 0]
Branch {
ConnectType "DEST_SRC"
Points [-115, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Ground"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [-115, 0]
DstBlock "CVS"
DstPort LConn1
}
}
Branch {
ConnectType "DEST_SRC"
Points [0, -35]
DstBlock "Voltage Measurement"
DstPort LConn2
}
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "L R Load"
SrcPort RConn1
Points [35, 0]
}
}
Line {
LineType "Connection"
SrcBlock "CVS"
SrcPort RConn1
Points [0, -5]
DstBlock "my breaker"
DstPort LConn1
}
Line {
SrcBlock "Signal Builder"
SrcPort 1
Points [55, 0]
DstBlock "CVS"
DstPort 1
}
Line {
LineType "Connection"
Points [410, 115; 25, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "my breaker"
SrcPort RConn1
Points [50, 0]
}
Branch {
ConnectType "SRC_SRC"
Points [0, 90]
DstBlock "Voltage Measurement"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "R Load"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, 45]
DstBlock "L R Load"
DstPort LConn1
}
}
Line {
Name "Reset"
Labels [0, 0]
SrcBlock "Signal Builder"
SrcPort 2
Points [20, 0]
Branch {
Points [0, -160]
DstBlock "my breaker"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, 75; 500, 0; 0, -155]
DstBlock "Scope"
DstPort 4
}
}
Line {
Name "Vload"
Labels [3, 0]
SrcBlock "Voltage Measurement"
SrcPort 1
Points [90, 0; 0, -95]
DstBlock "Scope"
DstPort 3
}
Line {
Name "Isw"
Labels [-1, 1]
SrcBlock "my breaker"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
Name "Vsw"
Labels [-1, 1]
SrcBlock "my breaker"
SrcPort 2
DstBlock "Scope"
DstPort 2
}
}
}
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 @ ! @ $ ! $ &\\ ;@ . 0 D"
" 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 8 ! D P ! #P/P$ / _D,+U*%R/\\C^0P"
"O4H7(_R/P \"1 #@ & & \" 8 !0 @ ! !@ $ "
" \"0 # FIF9F9F9,T\":F9F9F9DS0#0S,S,S,QM 9V9"
"F9F9F+D . . 8 ( !@ % \" $ ! 0 ) "
" \" #@ #@ & \" 8 !0 @ ! 0 $ "
" \"0 @ X P !@ @ & 4 ( "
" ! D #@ # & \" 8 !0 @ "
" $ \"0 . 2 8 ( !@ % \" $ # "
" 0 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@ % \" $ ! 0 ) \" "
" ! #@ $ & \" 8 !0 @ ! @ $ \"0 ! "
" \":F9F9F9FYOYJ9F9F9F?$_#@ # & \" 0 !0 @ ! @ "
" $ ! $ %0 3 . . 8 ( !@ % \" $ ! "
" 0 ) \" !A 8=! #@ #@ & \" 8 !0 @ "
" ! 0 $ \"0 @ < &'00 X X !@ @ & "
"4 ( 0 $ ! D ( \\#\\. 0 8 ( !"
"@ % \" $ \" 0 ) $ !3 .4 ."
" , 8 ( ! % \" $ \" 0 $ 0 5 !, X"
" X !@ @ & 4 ( 0 $ ! D ( "
"'$!@T$ . . 8 ( !@ % \" $ ! 0 ) "
"\" !P 8-! #@ &@! & \" ( !0 @ ! 0 $ "
" !0 $ D ! ) &1I<W!4:6UE &1I<W!-;V1E &UI;E1I;64 &UA>%1I;64 "
" . 0 8 ( !@ % \" $ \" 0 ) $ "
" )$ . . 8 ( !@ % \" $ ! "
" 0 ) \" / _#@ #@ & \" 8 !0 @ "
" ! 0 $ \"0 @ X X !@ @ & "
"4 ( 0 $ ! D ( )$ . 0 $ 8 ( @ "
" % \" $ ! 0 % 0 #@ $ J 86-T:79E1&ES<$E"
"D> !T:6UE4F%N9V4 &YA;64 #@ $ & \" 8 "
" !0 @ ! @ $ \"0 ! 0 / _#@ $ "
" & \" 8 !0 @ ! @ $ \"0 ! "
" \"1 #@ $ & \" 0 !0 @ ! !P $ "
" ! X !' '( ;P!U ' ( Q #@ #@ & \" 8 !0 @ "
" ! 0 $ \"0 @ #P/P"
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -