📄 eighteen_mod.mdl
字号:
Vpu off
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
Vbase "500e3"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement1"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [555, 322, 605, 398]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurement"
SourceType "Three-Phase VI Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
VoltageMeasurement "phase-to-phase"
SetLabelV off
LabelV "Vabc"
Vpu off
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
Vbase "500e3"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement2"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [570, 452, 620, 528]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurement"
SourceType "Three-Phase VI Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
VoltageMeasurement "phase-to-phase"
SetLabelV off
LabelV "Vabc"
Vpu off
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
Vbase "500e3"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Three-Phase Source"
Ports [0, 0, 0, 0, 0, 0, 3]
Position [95, 326, 180, 384]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Electrical\nSources/Three-Phase Source"
SourceType "Three-Phase Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Voltage "440"
PhaseAngle "0"
Frequency "60"
InternalConnection "Yg"
SpecifyImpedance on
Resistance "0.8929"
Inductance "16.58e-3"
ShortCircuitLevel "50e3"
BaseVoltage "440"
XRratio "7"
}
Block {
BlockType Reference
Name "Universal Bridge"
Ports [0, 0, 0, 0, 0, 3, 2]
Position [695, 87, 750, 163]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
converterType "Rectifier"
}
Block {
BlockType Reference
Name "Universal Bridge1"
Ports [0, 0, 0, 0, 0, 3, 2]
Position [725, 327, 780, 403]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
converterType "Rectifier"
}
Block {
BlockType Reference
Name "Universal Bridge2"
Ports [0, 0, 0, 0, 0, 3, 2]
Position [745, 462, 800, 538]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
converterType "Rectifier"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Ports [0, 1, 0, 0, 0, 2]
Position [1600, 163, 1625, 187]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Zigzag\nPhase-Shifting Transformer"
Ports [0, 0, 0, 0, 0, 6, 3]
Position [415, 315, 500, 410]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Elements/Zigzag\nPhase-Shifting Transformer"
SourceType "Zigzag Phase-Shifting Transformer"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SecondaryConnection "Y"
UNITS "pu"
NominalPower "[ 1.5e3 60] "
PrimaryVoltage "440"
SecondaryVoltage "[ 880 20]"
Winding1 "[ 0.002 0.08 ]"
Winding2 "[ 0.002 0.08 ] "
Winding3 "[ 0.002 0.08 ] "
SetSaturation off
RmLm " [ 500 500 ]"
Rm "500"
Saturation "[ 0,0 ; 0.0024,1.2 ; 1.0,1.52 ]"
Measurements "None"
InitialFluxes "[0,0,0]"
MoreParameters on
BreakLoop off
DataType off
}
Block {
BlockType Reference
Name "Zigzag\nPhase-Shifting Transformer1"
Ports [0, 0, 0, 0, 0, 6, 3]
Position [415, 448, 500, 547]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Elements/Zigzag\nPhase-Shifting Transformer"
SourceType "Zigzag Phase-Shifting Transformer"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SecondaryConnection "Y"
UNITS "pu"
NominalPower "[ 1.5e3 60] "
PrimaryVoltage "440"
SecondaryVoltage "[ 880 40]"
Winding1 "[ 0.002 0.08 ]"
Winding2 "[ 0.002 0.08 ] "
Winding3 "[ 0.002 0.08 ] "
SetSaturation off
RmLm " [ 500 500 ]"
Rm "500"
Saturation "[ 0,0 ; 0.0024,1.2 ; 1.0,1.52 ]"
Measurements "None"
InitialFluxes "[0,0,0]"
MoreParameters on
BreakLoop off
DataType off
}
Block {
BlockType Reference
Name "output Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [350, 580, 370, 600]
Orientation "down"
ShowName off
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [15, 200, 115, 223]
UserDataPersistent on
UserData "DataTag0"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimulationMode "Discrete"
SampleTime "1e-6"
frequency "60"
SPID off
SwTol "0"
Interpol off
x0status "blocks"
echomessages off
HookPort off
FunctionMessages off
EnableUseOfTLC off
RestoreLinks "warning"
frequencyindice "60"
Frange "[0:2:500]"
Ylog off
Xlog on
ShowGrid off
save off
variable "ZData"
structure "ScopeData1"
ZoomFFT on
StartTime "0.5"
cycles "2"
DisplayStyle "2"
fundamental "50"
FreqAxis off
MaxFrequency "1000"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
methode off
}
Block {
BlockType SubSystem
Name "vector control of IM drive"
Ports [0, 3, 0, 0, 0, 2]
Position [1540, 241, 1630, 319]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "vector control of IM drive"
Location [2, 82, 1014, 744]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 1]
Position [405, 481, 410, 519]
ShowName off
OutputSignals "Stator measurements.Stator current is_a (A),Stator measurements.Stator current is_b (A),Stator measurements.Stator current is_c (A)"
OutputAsBus on
Port {
PortNumber 1
Name "Iabc (A)"
PropagatedSignals "Stator current is_a (A), Stator current is_b (A), Stator current is_c (A)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 2]
Position [405, 511, 410, 549]
ShowName off
OutputSignals "Mechanical.Rotor speed (wm),Mechanical.Electromagnetic torque Te (N*m)"
Port {
PortNumber 1
Name "<Rotor speed (wm)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -