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 |
DD
|
IEEE 4 node test feeder model with balanced load and D - D connection (step down) |
DY
|
IEEE 4 node test feeder model with balanced load and D - Y connection (step down) |
YD
|
IEEE 4 node test feeder model with balanced load and Y - D connection (step down) |
YY
|
IEEE 4 node test feeder model with balanced load and Y - Y connection (step down) |
IEEE 4 node test feeder model with balanced load and D - D connection (step down)
Information
IEEE 4 nodes validation test case with the following characteristics
- balanced load,
- power consumption on each phase P1,2,3 = 1800 kW
- power factor on each phase cosφ1,2,3 = 0.9
- voltage step-down transformer (VPri=12.47 kV,
VSec = 4.16kV),
- D-D transformer
Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).
Parameters
Type | Name | Default | Description |
Voltage | VLL_side1 | 12.47e3 | Voltage line to line side 1 [V] |
Voltage | VLL_side2 | 4.16e3 | Voltage line to line side 2 [V] |
ApparentPower | VARbase | 6000e3 | Base VA power of the transformer [VA] |
Boolean | line1_use_Z_y | false | Choose between Zy or Zd impedance matrix for line 1 |
Boolean | line2_use_Z_y | false | Choose between Zy or Zd impedance matrix for line 2 |
Voltage | V2_ref[3] | {12339,12349,12321} | Reference RMS voltage node 2 - IEEE results [V] |
Voltage | V3_ref[3] | {3911,3914,3905} | Reference RMS voltage node 3 - IEEE results [V] |
Voltage | V4_ref[3] | {3442,3497,3384} | Reference RMS voltage node 4 - IEEE results [V] |
Angle | Theta2_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 2 - IEEE results [rad] |
Angle | Theta3_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 3 - IEEE results [rad] |
Angle | Theta4_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 4 - IEEE results [rad] |
Modelica definition
model DD
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;
IEEE 4 node test feeder model with balanced load and D - Y connection (step down)
Information
IEEE 4 nodes validation test case with the following characteristics
- balanced load,
- power consumption on each phase P1,2,3 = 1800 kW
- power factor on each phase cosφ1,2,3 = 0.9
- voltage step-down transformer (VPri=12.47 kV,
VSec = 4.16kV),
- D-Y transformer
Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).
Parameters
Type | Name | Default | Description |
Voltage | VLL_side1 | 12.47e3 | Voltage line to line side 1 [V] |
Voltage | VLL_side2 | 4.16e3 | Voltage line to line side 2 [V] |
ApparentPower | VARbase | 6000e3 | Base VA power of the transformer [VA] |
Boolean | line1_use_Z_y | false | Choose between Zy or Zd impedance matrix for line 1 |
Boolean | line2_use_Z_y | true | Choose between Zy or Zd impedance matrix for line 2 |
Voltage | V2_ref[3] | {12340,12349,12318} | Reference RMS voltage node 2 - IEEE results [V] |
Voltage | V3_ref[3] | {2249,2263,2259} | Reference RMS voltage node 3 - IEEE results [V] |
Voltage | V4_ref[3] | {1920,2054,1986} | Reference RMS voltage node 4 - IEEE results [V] |
Angle | Theta2_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 2 - IEEE results [rad] |
Angle | Theta3_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 3 - IEEE results [rad] |
Angle | Theta4_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 4 - IEEE results [rad] |
Modelica definition
model DY
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;
IEEE 4 node test feeder model with balanced load and Y - D connection (step down)
Information
IEEE 4 nodes validation test case with the following characteristics
- balanced load,
- power consumption on each phase P1,2,3 = 1800 kW
- power factor on each phase cosφ1,2,3 = 0.9
- voltage step-down transformer (VPri=12.47 kV,
VSec = 4.16kV),
- Y-D transformer
Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).
Parameters
Type | Name | Default | Description |
Voltage | VLL_side1 | 12.47e3 | Voltage line to line side 1 [V] |
Voltage | VLL_side2 | 4.16e3 | Voltage line to line side 2 [V] |
ApparentPower | VARbase | 6000e3 | Base VA power of the transformer [VA] |
Boolean | line1_use_Z_y | true | Choose between Zy or Zd impedance matrix for line 1 |
Boolean | line2_use_Z_y | false | Choose between Zy or Zd impedance matrix for line 2 |
Voltage | V2_ref[3] | {7113,7132,7123} | Reference RMS voltage node 2 - IEEE results [V] |
Voltage | V3_ref[3] | {3906,3915,3909} | Reference RMS voltage node 3 - IEEE results [V] |
Voltage | V4_ref[3] | {3437,3497,3388} | Reference RMS voltage node 4 - IEEE results [V] |
Angle | Theta2_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 2 - IEEE results [rad] |
Angle | Theta3_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 3 - IEEE results [rad] |
Angle | Theta4_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 4 - IEEE results [rad] |
Modelica definition
model YD
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);
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;
IEEE 4 node test feeder model with balanced load and Y - Y connection (step down)
Information
IEEE 4 nodes validation test case with the following characteristics
- balanced load,
- power consumption on each phase P1,2,3 = 1800 kW
- power factor on each phase cosφ1,2,3 = 0.9
- voltage step-down transformer (VPri=12.47 kV,
VSec = 4.16kV),
- Y-Y transformer
Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4 (Base model of the IEEE 4 nodes test feeder).
Parameters
Type | Name | Default | Description |
Voltage | VLL_side1 | 12.47e3 | Voltage line to line side 1 [V] |
Voltage | VLL_side2 | 4.16e3 | Voltage line to line side 2 [V] |
ApparentPower | VARbase | 6000e3 | Base VA power of the transformer [VA] |
Boolean | line1_use_Z_y | true | Choose between Zy or Zd impedance matrix for line 1 |
Boolean | line2_use_Z_y | true | Choose between Zy or Zd impedance matrix for line 2 |
Voltage | V2_ref[3] | {7107,7140,7121} | Reference RMS voltage node 2 - IEEE results [V] |
Voltage | V3_ref[3] | {2247,2269,2256} | Reference RMS voltage node 3 - IEEE results [V] |
Voltage | V4_ref[3] | {1918,2061,1981} | Reference RMS voltage node 4 - IEEE results [V] |
Angle | Theta2_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 2 - IEEE results [rad] |
Angle | Theta3_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 3 - IEEE results [rad] |
Angle | Theta4_ref[3] | Modelica.Constants.pi/180.0*... | Reference voltage phase angle node 4 - IEEE results [rad] |
Modelica definition
model YY
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;
http://simulationresearch.lbl.gov/modelica