📄 power_compensated.mdl
字号:
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay " disp('315 kV\\nEquivalent')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem2"
Location [609, 465, 929, 690]
Open off
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 Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [69, 180, 91, 205]
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 "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [249, 180, 271, 205]
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 "Load"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [235, 105, 285, 145]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Parallel RLC Load"
SourceType "Parallel RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
NominalVoltage "315000/sqrt(3)"
NominalFrequency "60"
ActivePower "200e6"
InductivePower "0"
CapacitivePower "50e6"
Setx0 off
InitialVoltage "0"
SetiL0 off
InitialCurrent "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Z1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [105, 33, 165, 57]
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "RL"
Resistance "0.734"
Inductance "0.02085"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Zs"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [105, 63, 165, 87]
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "RL"
Resistance "11.0"
Inductance "0.2925"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "vs2"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [68, 115, 92, 150]
Orientation "up"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Sou"
"rce"
SourceType "AC Voltage 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"
Amplitude "315000/sqrt(3)*sqrt(2)"
Phase "20"
Frequency "60"
SampleTime "0"
Measurements "None"
}
Block {
BlockType PMIOPort
Name "in1"
Position [30, 38, 60, 52]
Port "1"
Side "Left"
}
Line {
LineType "Connection"
SrcBlock "Load"
SrcPort RConn1
DstBlock "Ground1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Z1"
SrcPort RConn1
Points [24, 0; 0, 30]
Branch {
ConnectType "DEST_SRC"
Points [56, 0]
DstBlock "Load"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Zs"
SrcPort RConn1
Points [24, 0]
}
}
Line {
LineType "Connection"
SrcBlock "in1"
SrcPort RConn1
DstBlock "Z1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "vs2"
SrcPort RConn1
Points [0, -25]
DstBlock "Zs"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Ground"
SrcPort LConn1
DstBlock "vs2"
DstPort LConn1
}
}
}
Block {
BlockType Reference
Name "T1 \n250MVA / phase\n 735 / 315 kV"
Ports [0, 0, 0, 0, 0, 2, 2]
Position [745, 122, 790, 198]
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Saturable Transformer"
SourceType "Saturable 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"
UNITS "pu"
NominalPower "[750e6/3,60]"
Winding1 "[735000/sqrt(3), 0.001 ,0.15]"
Winding2 "[315000/sqrt(3), 0.001,0]"
ThreeWindings off
Winding3 "[315000/sqrt(3), 0.001,0]"
Saturation "[0 0 ; 0.0012 1.2; 1.0 1.45 ]"
CoreLoss "[1000]"
Hysteresis off
DataFile "'hysteresis'"
Measurements "Flux and magnetization current ( Imag )"
InitialFlux "-1606.09832312947"
TransfoNumber "1"
MoreParameters off
DataType off
BreakLoop off
}
Block {
BlockType Reference
Name "UB2"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [595, 48, 625, 77]
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
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 "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Gain
Name "V.s>pu"
Position [370, 370, 400, 400]
Gain "1/ (735e3/sqrt(3)*sqrt(2)/(2*pi*60))"
Port {
PortNumber 1
Name "Flux T1 (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Gain
Name "V>pu"
Position [655, 50, 695, 80]
Gain "1/ (735e3/sqrt(3)*sqrt(2))"
Port {
PortNumber 1
Name " U B2 (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Vs1"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [23, 190, 47, 225]
Orientation "up"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage 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"
Amplitude "735000/sqrt(3)*sqrt(2)"
Phase "0"
Frequency "60"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Z(f)"
Ports [0, 0, 0, 0, 0, 2]
Position [565, 199, 590, 226]
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Impedance Measurement"
SourceType "Impedance Measurement"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "+|-"
Factor "1"
}
Block {
BlockType Reference
Name "Z_eq"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [130, 104, 180, 156]
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
BranchType "RLC"
Resistance "180.1"
Inductance ".026525"
SetiL0 off
InitialCurrent "0"
Capacitance "117.84e-06"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [20, 363, 111, 404]
DropShadow on
ShowName off
Priority "2"
FontSize 12
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 "Continuous"
SampleTime "0"
echomessages off
RestoreLinks "warning"
x0status "blocks"
Frange "0:500"
Ylog off
Xlog off
ShowGrid off
save off
variable "ZData"
ZoomFFT on
StartTime "0.0"
cycles "2"
DisplayStyle "off"
fundamental "60"
FreqAxis off
MaxFrequency "1000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
frequency "60"
methode off
HookPort off
Interpol off
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -