📄 power_machines.mdl
字号:
SpecifyImpedance on
Resistance "25^2/1000/10"
Inductance "25^2/1000/377"
ShortCircuitLevel "1000e6"
BaseVoltage "25e3"
XRratio "10"
}
Block {
BlockType Reference
Name "3-Phase Breaker"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [310, 93, 370, 147]
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase Breaker"
SourceType "Three-Phase Breaker"
ShowPortLabels on
InitialState "closed"
SwitchA on
SwitchB on
SwitchC on
SwitchTimes "[0.2]"
External off
BreakerResistance "0.01"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "3-Phase Fault"
Ports [0, 0, 0, 0, 0, 3]
Position [194, 180, 236, 230]
Orientation "down"
ForegroundColor "red"
SourceBlock "powerlib/Elements/Three-Phase Fault"
SourceType "Three-Phase Fault"
ShowPortLabels on
FaultA on
FaultB on
FaultC on
FaultResistance "0.01"
GroundFault on
GroundResistance "0.001"
External off
SwitchStatus "[1 0]"
SwitchTimes "[ 0.1 0.4]"
InitialStates "[1 1 0]"
SnubberResistance "inf"
SnubberCapacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "5 MW"
Ports [0, 0, 0, 0, 0, 3]
Position [124, 180, 166, 230]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nParallel RLC Loa"
"d"
SourceType "Three-Phase Parallel RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "25e3"
NominalFrequency "60"
ActivePower "5e6"
InductivePower "0"
CapacitivePower "0"
Measurements "None"
}
Block {
BlockType Scope
Name "ASM"
Ports [2]
Position [855, 92, 885, 123]
BackgroundColor "green"
NamePlacement "alternate"
Floating off
Location [553, 398, 913, 728]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "0.2"
YMin "-5000~-70"
YMax "6000~0"
SaveName "ScopeData1"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Reference
Name "ASM 2250HP"
Ports [1, 1, 0, 0, 0, 3]
Position [590, 72, 660, 148]
BackgroundColor "lightBlue"
AttributesFormatString "\\n"
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Unit"
"s"
SourceType "Asynchronous Machine"
ShowPortLabels on
PresetModel "No"
MechanicalLoad "Torque Tm"
ShowDetailedParameters on
RotorType "Squirrel-cage"
ReferenceFrame "Rotor"
NominalParameters "[ 2250*746, 2400, 60 ]"
Stator "[ 0.029 0.226/377]"
Rotor "[ 0.022 0.226/377]"
Lm "13.04/377"
Mechanical "[ 63.87 0 2 ]"
InitialConditions "[1 0 0 0 0 0 0 0]"
Units "1"
LoadFlowParameters "1492000"
SimulateSaturation off
Saturation "[14.03593122, 27.81365428, 53.79336849, 72.6889"
"0987, 97.98006896, 148.6815601, 215.7428561, 302.9841135, 428.7778367 ; 230, "
"322, 414, 460, 506, 552, 598, 644, 690]"
}
Block {
BlockType SubSystem
Name "B1\n25 kV"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [265, 91, 270, 149]
BackgroundColor "black"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "B1\n25 kV"
Location [556, 317, 913, 720]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType PMIOPort
Name "A1"
Position [30, 58, 60, 72]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "B1"
Position [30, 143, 60, 157]
Port "2"
Side "Left"
}
Block {
BlockType PMIOPort
Name "C1"
Position [30, 218, 60, 232]
Port "3"
Side "Left"
}
Block {
BlockType PMIOPort
Name "A2"
Position [90, 58, 120, 72]
Orientation "left"
Port "4"
Side "Right"
}
Block {
BlockType PMIOPort
Name "B2"
Position [95, 143, 125, 157]
Orientation "left"
Port "5"
Side "Right"
}
Block {
BlockType PMIOPort
Name "C2"
Position [95, 218, 125, 232]
Orientation "left"
Port "6"
Side "Right"
}
Line {
LineType "Connection"
SrcBlock "C1"
SrcPort RConn1
DstBlock "C2"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "B1"
SrcPort RConn1
DstBlock "B2"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "A1"
SrcPort RConn1
DstBlock "A2"
DstPort RConn1
}
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 1]
Position [685, 66, 690, 104]
ShowName off
OutputSignals "Stator measurements.Stator current is_a (A),Sta"
"tor measurements.Stator current is_b (A),Stator measurements.Stator current i"
"s_c (A)"
OutputAsBus on
Port {
PortNumber 1
Name "Stator currents"
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, 1]
Position [685, 111, 690, 149]
ShowName off
OutputSignals "Mechanical.Rotor speed (wm)"
Port {
PortNumber 1
Name "<Rotor speed (wm)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType SubSystem
Name "Diesel Engine\nSpeed & Voltage\nControl"
Ports [3, 4]
Position [110, 280, 180, 370]
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
Port {
PortNumber 1
Name "Pmec (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Vf (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "Vt (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 4
Name "Speed (pu)"
PropagatedSignals "Rotor speed wm (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "Diesel Engine\nSpeed & Voltage\nControl"
Location [264, 354, 792, 726]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "wref"
Position [20, 53, 50, 67]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vtref"
Position [85, 153, 115, 167]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "m"
Position [15, 253, 45, 267]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 1]
Position [80, 71, 85, 109]
ShowName off
OutputSignals "Mechanical.Rotor speed wm (pu)"
Port {
PortNumber 1
Name "<Rotor speed wm (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 1]
Position [80, 241, 85, 279]
ShowName off
OutputSignals "dq0 components.Stator voltage vd (pu),dq0 "
"components.Stator voltage vq (pu)"
OutputAsBus on
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [170, 168, 205, 197]
ShowName off
Outputs "2"
}
Block {
BlockType Reference
Name "EXCITATION"
Ports [4, 1]
Position [300, 152, 350, 213]
SourceBlock "powerlib/Machines/Excitation\nSystem"
SourceType "Excitation System"
ShowPortLabels on
tr "20e-3"
reg "[ 200, 0.02 ]"
exc "[ 1, 0 ]"
tgr "[ 0, 0 ]"
damp "[ 0.001, 0.1 ]"
sat "[ 0, 0 ]"
lim "[ 0, 6, 0 ]"
v0 "[1,1.42734]"
}
Block {
BlockType Fcn
Name "Fcn"
Position [215, 246, 325, 274]
ShowName off
Expr "sqrt(u(1)^2 + u(2)^2)"
}
Block {
BlockType SubSystem
Name "GOVERNOR\n& DIESEL ENGINE"
Ports [2, 1]
Position [300, 45, 350, 105]
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Diesel Engine & Governor"
MaskDescription "This block implements a diesel engine and g"
"overnor system:\n1st and 2nd inputs: Desired and actual speed (pu)\nOutput: D"
"iesel engine mechanical power.Motor inertia should be combined with generator"
".\nController transfer function:\n Hc=K.(1+T3.s)/(1+T1.s+T1.T2.s^2)\nActu"
"ator transfer function : \n Ha= (1+T4.s) / [ (s (1+T5.s)(1+T6.s) ]\nMotor"
" :\n Time delay Td\n\n(See reference in Tutorial Session 5)"
MaskPromptString "Regulator gain K: |Regulator time constants"
" [T1 T2 T3 ] (s) :|Actuator time constants [T4 T5 T6] (s) :|Torque limits [Tm"
"in Tmax] (pu) :|Engine time delay Td (s) :|Initial value of mechanical power "
" Pm0 (pu) :"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskVariables "K=@1;Tr=@2;Ta=@3;Tlim=@4;Td=@5;Pm0=@6;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "40|[0.01 0.02 0.2]|[0.25 0.009 0.0384]|[0 1"
".1]|0.024|0.000270147"
MaskTabNameString ",,,,,"
System {
Name "GOVERNOR\n& DIESEL ENGINE"
Location [121, 514, 950, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "wref (pu)"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "w (pu)"
Position [25, 73, 55, 87]
Port "2"
IconDisplay "Port number"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -