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

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

Information

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

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

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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]{12339,12349,12321}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{3911,3914,3905}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{3442,3497,3384}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 balanced 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={12339,12349,12321}, final V3_ref={3911,3914,3905}, final V4_ref={3442,3497,3384}, final Theta2_ref=Modelica.Constants.pi/180.0*{29.7,-90.4,149.6}, final Theta3_ref=Modelica.Constants.pi/180.0*{26.5,-93.6,146.4}, final Theta4_ref=Modelica.Constants.pi/180.0*{22.3,-99.4,140.7}, loadRL(use_pf_in=false, loadConn=Buildings.Electrical.Types.LoadConnection.wye_to_delta)); Modelica.Blocks.Sources.Constant load(k=-1800e3); 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); equation connect(load.y, loadRL.Pow1); connect(load.y, loadRL.Pow2); connect(load.y, loadRL.Pow3); 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 DD;

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

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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]{12340,12349,12318}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{2249,2263,2259}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{1920,2054,1986}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 balanced 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={12340,12349,12318}, final V3_ref={2249,2263,2259}, final V4_ref={1920,2054,1986}, final Theta2_ref=Modelica.Constants.pi/180.0*{29.7,-90.4,149.6}, final Theta3_ref=Modelica.Constants.pi/180.0*{-33.7,-153.4,86.4}, final Theta4_ref=Modelica.Constants.pi/180.0*{-39.1,-158.3,80.9}, loadRL(use_pf_in=false)); Modelica.Blocks.Sources.Constant load(k=-1800e3); 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); equation connect(load.y, loadRL.Pow1); connect(load.y, loadRL.Pow2); connect(load.y, loadRL.Pow3); 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 DY;

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

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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,7132,7123}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{3906,3915,3909}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{3437,3497,3388}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 balanced 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,7132,7123}, final V3_ref={3906,3915,3909}, final V4_ref={3437,3497,3388}, final Theta2_ref=Modelica.Constants.pi/180.0*{-0.3,-120.3,119.6}, final Theta3_ref=Modelica.Constants.pi/180.0*{-3.5,-123.6,116.3}, final Theta4_ref=Modelica.Constants.pi/180.0*{-7.8,-129.3,110.6}, loadRL(use_pf_in=false, loadConn=Buildings.Electrical.Types.LoadConnection.wye_to_delta)); Modelica.Blocks.Sources.Constant load(k=-1800e3); 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, conv1( terminal_p(i(start={-477, 327})), V1(start={7000, -400}))); equation connect(load.y, loadRL.Pow1); connect(load.y, loadRL.Pow2); connect(load.y, loadRL.Pow3); 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 YD;

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

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

Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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]{7107,7140,7121}Reference RMS voltage node 2 - IEEE results [V]
VoltageV3_ref[3]{2247,2269,2256}Reference RMS voltage node 3 - IEEE results [V]
VoltageV4_ref[3]{1918,2061,1981}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 balanced 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={7107,7140,7121}, final V3_ref={2247,2269,2256}, final V4_ref={1918,2061,1981}, final Theta2_ref=Modelica.Constants.pi/180.0*{-0.3,-120.3,119.6}, final Theta3_ref=Modelica.Constants.pi/180.0*{-3.7,-123.5,116.4}, final Theta4_ref=Modelica.Constants.pi/180.0*{-9.1,-128.3,110.9}, loadRL(use_pf_in=false)); Modelica.Blocks.Sources.Constant load(k=-1800e3); 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(load.y, loadRL.Pow1); connect(load.y, loadRL.Pow2); connect(load.y, loadRL.Pow3); 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;