📄 se_duanlu.mdl
字号:
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
}
Block {
BlockType Terminator
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "se_duanlu"
Location [2, 74, 1014, 724]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AC Voltage Source"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [118, 150, 142, 185]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A " 500e3/sqrt(3)"
P "0"
F "60"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Breaker"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [295, 116, 345, 154]
SourceBlock "powerlib2/Elements/Breaker"
SourceType "Breaker"
a "0.01"
c "0"
rs "1e6"
cs "inf"
times "[0 ]"
Ts "0"
comext off
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Breaker1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [520, 165, 570, 205]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Elements/Breaker"
SourceType "Breaker"
a "0.00000001"
c "0"
rs "1e6"
cs "inf"
times "[0.5]"
Ts "0"
comext off
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Bus Bar (vert)"
Tag "PoWeRsYsTeMbLoCk"
Ports [3]
Position [605, 129, 610, 241]
BackgroundColor "black"
ShowName off
FontSize 10
SourceBlock "powerlib2/Connectors/Bus Bar (vert)"
SourceType "Bus Bar"
entrees "3"
sorties "0"
PSBOutputType "11111111111111111111111111111111111111111111111"
"111111111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [230, 113, 260, 142]
ShowName off
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [445, 128, 475, 157]
ShowName off
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "1"
}
Block {
BlockType Reference
Name "Ground (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [114, 205, 146, 235]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Ground (output)1"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [324, 220, 356, 250]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Saturable Transformer"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [355, 117, 405, 223]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Elements/Saturable Transformer"
SourceType "Saturable Transformer"
a "[150e6 60]"
b "[ 500e3/sqrt(3) 0.002 0.08 ]"
c "[230e3/sqrt(3) 0.002 0.08]"
w3check off
d "[315e3/sqrt(3) 0.002 0.08]"
e "[0 0; 0.0 1.2; 1.0 1.52]"
f "[500 0.8]"
H off
matfile "'hysteresis'"
Initialslope "+1"
mesure "None"
PSBOutputType "1111"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [500, 87, 530, 118]
Location [184, 264, 730, 640]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
YMin "-5~-5"
YMax "5~5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Series RLC Branch1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [530, 132, 570, 168]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "100"
b "1e-03"
c "inf"
mesure "None"
PSBOutputType "1"
}
Line {
SrcBlock "Current Measurement"
SrcPort 2
DstBlock "Breaker"
DstPort 1
}
Line {
SrcBlock "AC Voltage Source"
SrcPort 1
Points [0, -15]
DstBlock "Current Measurement"
DstPort 1
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
DstBlock "AC Voltage Source"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [0, -25]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Current Measurement1"
SrcPort 1
Points [5, 0]
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Current Measurement1"
SrcPort 2
Points [20, 0]
Branch {
DstBlock "Series RLC Branch1"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Breaker1"
DstPort 1
}
}
Line {
SrcBlock "Series RLC Branch1"
SrcPort 1
DstBlock "Bus Bar (vert)"
DstPort 1
}
Line {
SrcBlock "Breaker1"
SrcPort 1
DstBlock "Bus Bar (vert)"
DstPort 2
}
Line {
SrcBlock "Ground (output)1"
SrcPort 1
DstBlock "Saturable Transformer"
DstPort 2
}
Line {
SrcBlock "Breaker"
SrcPort 1
Points [0, 10]
DstBlock "Saturable Transformer"
DstPort 1
}
Line {
SrcBlock "Saturable Transformer"
SrcPort 2
Points [20, 0]
DstBlock "Current Measurement1"
DstPort 1
}
Line {
SrcBlock "Saturable Transformer"
SrcPort 1
Points [10, 0; 0, 75]
DstBlock "Bus Bar (vert)"
DstPort 3
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -