📄 untitled.mdl
字号:
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
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 "untitled"
Location [158, 343, 722, 668]
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 "\n"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [25, 81, 60, 99]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
Amplitude "100"
Phase "0"
Frequency "60"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "\n\n"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [25, 136, 65, 154]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
Amplitude "100"
Phase "0"
Frequency "60"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "\n1"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [25, 111, 65, 129]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
Amplitude "100"
Phase "0"
Frequency "60"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Asynchronous Machine\nSI Units"
Ports [1, 1, 0, 0, 0, 3, 3]
Position [170, 181, 250, 269]
AttributesFormatString "\\n"
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Unit"
"s"
SourceType "Asynchronous Machine"
RotorType "Wound"
ReferenceFrame "Rotor"
NominalParameters "[ 3*746, 220, 60 ]"
Stator "[ 0.435 2.0e-3 ]"
Rotor "[ 0.816 2.0e-3 ]"
Lm "69.31e-3"
Mechanical "[ 0.089 0 2 ]"
InitialConditions "[ 1,0 0,0,0 0,0,0 ]"
Units "1"
LoadFlowParameters "0"
}
Block {
BlockType Reference
Name "Asynchronous Machine\npu Units"
Ports [1, 1, 0, 0, 0, 3, 3]
Position [290, 176, 370, 264]
AttributesFormatString "\\n"
SourceBlock "powerlib/Machines/Asynchronous Machine\npu Unit"
"s"
SourceType "Asynchronous Machine"
RotorType "Wound"
ReferenceFrame "Rotor"
NominalParameters "[ 3*746, 220, 60 ]"
Stator "[ 0.02,0.0349 ]"
Rotor "[ 0.0377,0.0349 ]"
Lm "1.2082"
Mechanical "[ 0.7065,0,2 ]"
InitialConditions "[ 1,0 0,0,0 0,0,0 ]"
Units "0"
LoadFlowParameters "0"
}
Block {
BlockType Constant
Name "Constant"
Position [230, 77, 250, 93]
Value "30"
}
Block {
BlockType Gain
Name "Gain"
Position [340, 15, 370, 45]
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [190, 75, 210, 95]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [290, 20, 310, 40]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [250, 20, 270, 40]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Terminator
Name "Terminator"
Position [160, 78, 170, 92]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [415, 13, 425, 27]
}
Block {
BlockType Terminator
Name "Terminator2"
Position [460, 18, 470, 32]
}
Block {
BlockType Terminator
Name "Terminator3"
Position [500, 13, 510, 27]
}
Block {
BlockType Terminator
Name "Terminator4"
Position [530, 13, 540, 27]
}
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [95, 77, 145, 153]
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
VoltageMeasurement "phase-to-ground"
SetLabelV off
LabelV "V1"
Vpu off
Vbase "500e3"
CurrentMeasurement "yes"
SetLabelI off
LabelI "A1"
Ipu off
Pbase "100e6"
OutputType "Magnitude"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Three-Phase Breaker"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [170, 107, 220, 153]
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase Breaker"
SourceType "Three-Phase Breaker"
InitialState "open"
SwitchA on
SwitchB on
SwitchC on
SwitchTimes "[4/60 10/60]"
External off
BreakerResistance "0.001"
SnubberResistance "1e6"
SnubberCapacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [35, 320, 115, 365]
Priority "2"
FontSize 11
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
Frange "[0:2:500]"
Ylog off
Xlog on
save off
variable "ZData"
ZoomFFT on
StartTime "0.0"
cycles "1"
DisplayStyle "1"
fundamental "60"
FreqAxis off
MaxFrequency "1000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
methode off
frequency "60"
echomessages off
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -