Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp

Package that contains the examples for unbalanced loads and step up transformer

Information

This package contains examples for the IEEE 4 nodes test validation whith unbalanced load and step up in the voltage of the transformers.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DD DD IEEE 4 node test feeder model with unbalanced load and D - D connection (step up)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY DY IEEE 4 node test feeder model with unbalanced load and D - Y connection (step up)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YD YD IEEE 4 node test feeder model with unbalanced load and Y - D connection (step up)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY YY IEEE 4 node test feeder model with unbalanced load and Y - Y connection (step up)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DD Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DD

IEEE 4 node test feeder model with unbalanced load and D - D connection (step up)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DD

Information

IEEE 4 nodes validation test case with the following characteristics

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).

Parameters

TypeNameDefaultDescription
VoltageVLL_side112.47e3Voltage line to line side 1 [V]
VoltageVLL_side224.9e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [V.A]
Booleanline1_use_Z_yfalseChoose between Zy or Zd impedance matrix for line 1
Booleanline2_use_Z_yfalseChoose between Zy or Zd impedance matrix for line 2
VoltageV2_ref[3]{12362,12392,12334}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{23675,24060,23573}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{23610,24015,23492}Reference RMS voltage node 4 - IEEE results [V]
AngleTheta2_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 2 - IEEE results [rad]
AngleTheta3_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 3 - IEEE results [rad]
AngleTheta4_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 4 - IEEE results [rad]

Modelica definition

model DD "IEEE 4 node test feeder model with unbalanced load and D - D connection (step up)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 ( final line1_use_Z_y=false, final line2_use_Z_y=false, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node1, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node3, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node4, final VLL_side1=12.47e3, final VLL_side2=24.9e3, final VARbase=6000e3, final V2_ref={12362,12392,12334}, final V3_ref={23675,24060,23573}, final V4_ref={23610,24015,23492}, final Theta2_ref=Modelica.Constants.pi/180.0*{29.8,-90.4,149.5}, final Theta3_ref=Modelica.Constants.pi/180.0*{27.2,-93.6,146.0}, final Theta4_ref=Modelica.Constants.pi/180.0*{27.2,-93.7,145.9}, loadRL(loadConn=Buildings.Electrical.Types.LoadConnection.wye_to_delta, use_pf_in=true)); Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerDD transformer( VHigh=VLL_side1, VLow=VLL_side2, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=VARbase); Modelica.Blocks.Sources.Constant load3(k=-2375e3); Modelica.Blocks.Sources.Constant load2(k=-1800e3); Modelica.Blocks.Sources.Constant load1(k=-1275e3); Modelica.Blocks.Sources.Constant pf1(k=0.85); Modelica.Blocks.Sources.Constant pf2(k=0.9); Modelica.Blocks.Sources.Constant pf3(k=0.95); equation connect(line1.terminal_p, transformer.terminal_n); connect(transformer.terminal_p, line2.terminal_n); connect(load1.y, loadRL.Pow1); connect(load2.y, loadRL.Pow2); connect(load3.y, loadRL.Pow3); connect(pf1.y, loadRL.pf_in_1); connect(pf2.y, loadRL.pf_in_2); connect(pf3.y, loadRL.pf_in_3); connect(node1.term, source.terminal); connect(node2.term, transformer.terminal_n); connect(node3.term, line2.terminal_n); connect(node4.term, loadRL.terminal); end DD;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY

IEEE 4 node test feeder model with unbalanced load and D - Y connection (step up)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY

Information

IEEE 4 nodes validation test case with the following characteristics

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).

Parameters

TypeNameDefaultDescription
VoltageVLL_side112.47e3Voltage line to line side 1 [V]
VoltageVLL_side224.9e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [V.A]
Booleanline1_use_Z_yfalseChoose between Zy or Zd impedance matrix for line 1
Booleanline2_use_Z_ytrueChoose between Zy or Zd impedance matrix for line 2
VoltageV2_ref[3]{12364,12391,12333}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{13792,13733,13641}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{13768,13684,13600}Reference RMS voltage node 4 - IEEE results [V]
AngleTheta2_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 2 - IEEE results [rad]
AngleTheta3_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 3 - IEEE results [rad]
AngleTheta4_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 4 - IEEE results [rad]

Modelica definition

model DY "IEEE 4 node test feeder model with unbalanced load and D - Y connection (step up)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 ( final line1_use_Z_y=false, final line2_use_Z_y=true, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node1, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node3, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node4, final VLL_side1=12.47e3, final VLL_side2=24.9e3, final VARbase=6000e3, final V2_ref={12364,12391,12333}, final V3_ref={13792,13733,13641}, final V4_ref={13768,13684,13600}, final Theta2_ref=Modelica.Constants.pi/180.0*{29.8,-90.5,149.6}, final Theta3_ref=Modelica.Constants.pi/180.0*{27.7,-93.5,145.4}, final Theta4_ref=Modelica.Constants.pi/180.0*{27.7,-93.6,145.2}, loadRL(use_pf_in=true)); Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepUpDY transformer( VHigh=VLL_side1, VLow=VLL_side2, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=VARbase, conv1(V1(start={10E3, 5.5E3}))); Modelica.Blocks.Sources.Constant load3(k=-2375e3); Modelica.Blocks.Sources.Constant load2(k=-1800e3); Modelica.Blocks.Sources.Constant pf1(k=0.85); Modelica.Blocks.Sources.Constant pf2(k=0.9); Modelica.Blocks.Sources.Constant pf3(k=0.95); Modelica.Blocks.Sources.Constant load1(k=-1275e3); equation connect(line1.terminal_p, transformer.terminal_n); connect(transformer.terminal_p, line2.terminal_n); connect(pf1.y, loadRL.pf_in_1); connect(pf2.y, loadRL.pf_in_2); connect(pf3.y, loadRL.pf_in_3); connect(load2.y, loadRL.Pow2); connect(load3.y, loadRL.Pow3); connect(load1.y, loadRL.Pow1); connect(node1.term, line1.terminal_n); connect(node2.term, transformer.terminal_n); connect(node3.term, line2.terminal_n); connect(node4.term, loadRL.terminal); end DY;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YD Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YD

IEEE 4 node test feeder model with unbalanced load and Y - D connection (step up)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YD

Information

IEEE 4 nodes validation test case with the following characteristics

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).

Parameters

TypeNameDefaultDescription
VoltageVLL_side112.47e3Voltage line to line side 1 [V]
VoltageVLL_side224.9e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [V.A]
Booleanline1_use_Z_ytrueChoose between Zy or Zd impedance matrix for line 1
Booleanline2_use_Z_yfalseChoose between Zy or Zd impedance matrix for line 2
VoltageV2_ref[3]{7121,7147,7150}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{23703,24040,23576}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{23637,23995,23496}Reference RMS voltage node 4 - IEEE results [V]
AngleTheta2_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 2 - IEEE results [rad]
AngleTheta3_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 3 - IEEE results [rad]
AngleTheta4_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 4 - IEEE results [rad]

Modelica definition

model YD "IEEE 4 node test feeder model with unbalanced load and Y - D connection (step up)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 ( final line1_use_Z_y=true, final line2_use_Z_y=false, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node1, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node3, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta node4, final VLL_side1=12.47e3, final VLL_side2=24.9e3, final VARbase=6000e3, final V2_ref={7121,7147,7150}, final V3_ref={23703,24040,23576}, final V4_ref={23637,23995,23496}, final Theta2_ref=Modelica.Constants.pi/180.0*{-0.4,-120.3,119.5}, final Theta3_ref=Modelica.Constants.pi/180.0*{57.2,-63.6,176.1}, final Theta4_ref=Modelica.Constants.pi/180.0*{57.1,-63.8,175.9}, loadRL(loadConn=Buildings.Electrical.Types.LoadConnection.wye_to_delta, use_pf_in=true)); Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepUpYD transformer( VHigh=VLL_side1, VLow=VLL_side2, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=VARbase); Modelica.Blocks.Sources.Constant load3(k=-2375e3); Modelica.Blocks.Sources.Constant load2(k=-1800e3); Modelica.Blocks.Sources.Constant load1(k=-1275e3); Modelica.Blocks.Sources.Constant pf1(k=0.85); Modelica.Blocks.Sources.Constant pf2(k=0.9); Modelica.Blocks.Sources.Constant pf3(k=0.95); equation connect(line1.terminal_p, transformer.terminal_n); connect(transformer.terminal_p, line2.terminal_n); connect(load2.y, loadRL.Pow2); connect(load3.y, loadRL.Pow3); connect(load1.y, loadRL.Pow1); connect(pf1.y, loadRL.pf_in_1); connect(pf2.y, loadRL.pf_in_2); connect(pf3.y, loadRL.pf_in_3); connect(node1.term, line1.terminal_n); connect(node2.term, transformer.terminal_n); connect(node3.term, line2.terminal_n); connect(node4.term, loadRL.terminal); end YD;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY

IEEE 4 node test feeder model with unbalanced load and Y - Y connection (step up)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY

Information

IEEE 4 nodes validation test case with the following characteristics

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).

Parameters

TypeNameDefaultDescription
VoltageVLL_side112.47e3Voltage line to line side 1 [V]
VoltageVLL_side224.9e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [V.A]
Booleanline1_use_Z_ytrueChoose between Zy or Zd impedance matrix for line 1
Booleanline2_use_Z_ytrueChoose between Zy or Zd impedance matrix for line 2
VoltageV2_ref[3]{7161,7120,7128}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{13839,13663,13655}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{13815,13614,13615}Reference RMS voltage node 4 - IEEE results [V]
AngleTheta2_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 2 - IEEE results [rad]
AngleTheta3_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 3 - IEEE results [rad]
AngleTheta4_ref[3]Modelica.Constants.pi/180.0*...Reference voltage phase angle node 4 - IEEE results [rad]

Modelica definition

model YY "IEEE 4 node test feeder model with unbalanced load and Y - Y connection (step up)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 ( final line1_use_Z_y=true, final line2_use_Z_y=true, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node1, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node3, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye node4, final VLL_side1=12.47e3, final VLL_side2=24.9e3, final VARbase=6000e3, final V2_ref={7161,7120,7128}, final V3_ref={13839,13663,13655}, final V4_ref={13815,13614,13615}, final Theta2_ref=Modelica.Constants.pi/180.0*{-0.1,-120.3,119.3}, final Theta3_ref=Modelica.Constants.pi/180.0*{-2.1,-123.3,115.1}, final Theta4_ref=Modelica.Constants.pi/180.0*{-2.2,-123.4,114.9}, loadRL(use_pf_in=true)); Modelica.Blocks.Sources.Constant load2(k=-1800e3); Modelica.Blocks.Sources.Constant load3(k=-2375e3); Modelica.Blocks.Sources.Constant load1(k=-1275e3); Modelica.Blocks.Sources.Constant pf1(k=0.85); Modelica.Blocks.Sources.Constant pf2(k=0.9); Modelica.Blocks.Sources.Constant pf3(k=0.95); Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformer transformer( VHigh=VLL_side1, VLow=VLL_side2, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=VARbase, conv1(V1(start={6.9E3, -250})), conv2(V1(start={-3.8E3, -5.7E3}))); equation connect(load2.y, loadRL.Pow2); connect(load3.y, loadRL.Pow3); connect(load1.y, loadRL.Pow1); connect(pf1.y, loadRL.pf_in_1); connect(pf2.y, loadRL.pf_in_2); connect(pf3.y, loadRL.pf_in_3); connect(line1.terminal_p, transformer.terminal_n); connect(transformer.terminal_p, line2.terminal_n); connect(node1.term, line1.terminal_n); connect(node2.term, transformer.terminal_n); connect(node3.term, line2.terminal_n); connect(node4.term, loadRL.terminal); end YY;