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

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

Information

This package contains examples for the IEEE 4 nodes test validation whith unbalanced load and step down 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.UnbalancedStepDown.DD DD IEEE 4 node test feeder model with unbalanced load and D - D connection (step down)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY DY IEEE 4 node test feeder model with unbalanced load and D - Y connection (step down)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD YD IEEE 4 node test feeder model with unbalanced load and Y - D connection (step down)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY YY IEEE 4 node test feeder model with unbalanced load and Y - Y connection (step down)

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

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_side24.16e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [VA]
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]{12341,12370,12302}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{3902,3972,3871}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{3431,3647,3294}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 down)" 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=4.16e3, final VARbase=6000e3, final V2_ref={12341,12370,12302}, final V3_ref={3902,3972,3871}, final V4_ref={3431,3647,3294}, final Theta2_ref=Modelica.Constants.pi/180.0*{29.8,-90.5,149.5}, final Theta3_ref=Modelica.Constants.pi/180.0*{27.2,-93.9,145.7}, final Theta4_ref=Modelica.Constants.pi/180.0*{24.3,-100.4,138.6}, 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, line1.terminal_n); 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.UnbalancedStepDown.DY Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_side24.16e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [VA]
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]{12350,12314,12333}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{2290,2261,2214}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{2157,1936,1849}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 down)" 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=4.16e3, final VARbase=6000e3, final V2_ref={12350,12314,12333}, final V3_ref={2290,2261,2214}, final V4_ref={2157,1936,1849}, final Theta2_ref=Modelica.Constants.pi/180.0*{29.6,-90.4,149.8}, final Theta3_ref=Modelica.Constants.pi/180.0*{-32.4,-153.8,85.2}, final Theta4_ref=Modelica.Constants.pi/180.0*{-34.2,-157.0,73.4}, loadRL(use_pf_in=true), line2(terminal_p(each phase(v(each start=-1))))); Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepDownDY 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 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.UnbalancedStepDown.YD Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YD

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_side24.16e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [VA]
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]{7113,7144,7111}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{3896,3972,3875}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{3425,3646,3298}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 down)" 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=4.16e3, final VARbase=6000e3, final V2_ref={7113,7144,7111}, final V3_ref={3896,3972,3875}, final V4_ref={3425,3646,3298}, final Theta2_ref=Modelica.Constants.pi/180.0*{-0.2,-120.4,119.5}, final Theta3_ref=Modelica.Constants.pi/180.0*{-2.8,-123.8,115.7}, final Theta4_ref=Modelica.Constants.pi/180.0*{-5.8,-130.3,108.6}, loadRL( loadConn=Buildings.Electrical.Types.LoadConnection.wye_to_delta, use_pf_in=true, load1(v(each start=3000))), line1(i1(each start=200))); Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepDownYD 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.UnbalancedStepDown.YY Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_side24.16e3Voltage line to line side 2 [V]
ApparentPowerVARbase6000e3Base VA power of the transformer [VA]
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]{7164,7110,7082}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{2305,2255,2203}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{2175,1930,1833}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 down)" 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=4.16e3, final VARbase=6000e3, final V2_ref={7164,7110,7082}, final V3_ref={2305,2255,2203}, final V4_ref={2175,1930,1833}, final Theta2_ref=Modelica.Constants.pi/180.0*{-0.1,-120.2,119.3}, final Theta3_ref=Modelica.Constants.pi/180.0*{-2.3,-123.6,114.8}, final Theta4_ref=Modelica.Constants.pi/180.0*{-4.1,-126.8,102.8}, loadRL(use_pf_in=true), line1( i1(start={180,-130}), i2(start={-300,-160}), i3(start={40,450})), line2(i2(start={-900,-480}), i3(start={130,1400}))); Modelica.Blocks.Sources.Constant load1(k=-1275e3); Modelica.Blocks.Sources.Constant load2(k=-1800e3); Modelica.Blocks.Sources.Constant load3(k=-2375e3); 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); equation 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(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;