📄 no_load_hazha.mdl
字号:
}
Block {
BlockType Sin
SineType "Time based"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
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 "no_load_hazha"
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 [128, 150, 152, 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 [310, 131, 360, 169]
SourceBlock "powerlib2/Elements/Breaker"
SourceType "Breaker"
a "0.01"
c "0"
rs "1e6"
cs "inf"
times "[ 4/60 ]"
Ts "0"
comext off
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [1, 2]
Position [255, 113, 285, 142]
ShowName off
SourceBlock "powerlib2/Measurements/Current Measurement"
SourceType "Current Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "01"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Ground (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [124, 210, 156, 240]
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 [269, 210, 301, 240]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [595, 155, 625, 185]
InitialCondition "0.8"
}
Block {
BlockType Reference
Name "Saturable Transformer"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [395, 119, 440, 226]
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 [650, 111, 680, 144]
Location [252, 285, 726, 609]
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 Branch"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [175, 118, 235, 142]
SourceBlock "powerlib2/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
a "10"
b "1e-03"
c "inf"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Gain
Name "V.s>pu"
Position [545, 155, 575, 185]
Gain "1/(230e3/sqrt(3)*sqrt(2)/2/pi/60)"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [485, 153, 515, 182]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Line {
SrcBlock "Current Measurement"
SrcPort 2
Points [5, 0]
DstBlock "Breaker"
DstPort 1
}
Line {
SrcBlock "AC Voltage Source"
SrcPort 1
Points [0, -15]
DstBlock "Series RLC Branch"
DstPort 1
}
Line {
SrcBlock "Series RLC Branch"
SrcPort 1
DstBlock "Current Measurement"
DstPort 1
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
DstBlock "AC Voltage Source"
DstPort 1
}
Line {
SrcBlock "Ground (output)1"
SrcPort 1
Points [0, -5]
DstBlock "Saturable Transformer"
DstPort 2
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Saturable Transformer"
SrcPort 1
Points [20, 0; 0, 15]
DstBlock "Voltage Measurement"
DstPort 1
}
Line {
SrcBlock "Saturable Transformer"
SrcPort 2
Points [20, 0; 0, -25]
DstBlock "Voltage Measurement"
DstPort 2
}
Line {
SrcBlock "Breaker"
SrcPort 1
Points [0, -5]
DstBlock "Saturable Transformer"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "V.s>pu"
DstPort 1
}
Line {
SrcBlock "V.s>pu"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [5, 0]
DstBlock "Scope"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -