Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses
This package contains the base classes used by the IEEE 4 nodes test feeder
Information
This package contains base classes used by the models that are part of the package Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
IEEE4 | Base model of the IEEE 4 nodes test feeder |
Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BaseClasses.IEEE4
Base model of the IEEE 4 nodes test feeder
Information
This is a partial model that is extended by all the other validation test cases. This model defined replaceable probes and transformer so they can be easily changed when implementing the different tests.
More information can be found in each model that extends this one.
Reference results
The reference results for the tests are saved as parameter of the model and compared to the simulated ones. The error between the results (herein called Xmodel) and the references (herein called Xref) are computed in both absolute and relative way. Note that Xmodel and Xref can be either voltage amplitudes or phase angles.
Errabs = Xmodel - Xref
Err% = Errabs / Xref
The variables that store the results of the comparison are listed in the table below
Variable | Description | Unit |
---|---|---|
err_V2[3] |
Error between simulated voltage at node 2 and reference results | [V] |
err_V3[3] |
Error between simulated voltage at node 3 and reference results | [V] |
err_V4[3] |
Error between simulated voltage at node 4 and reference results | [V] |
err_Theta2[3] |
Error between simulated phase angle at node 2 and reference phase angle | [rad], displayed as [deg] |
err_Theta3[3] |
Error between simulated phase angle at node 2 and reference phase angle | [rad], displayed as [deg] |
err_Theta4[3] |
Error between simulated phase angle at node 2 and reference phase angle | [rad], displayed as [deg] |
err_V2_percent[3] |
Relative error between simulated voltage at node 2 and reference results | [%] |
err_V3_percent[3] |
Relative error between simulated voltage at node 3 and reference results | [%] |
err_V4_percent[3] |
Relative error between simulated voltage at node 4 and reference results | [%] |
err_Theta2_percent[3] |
Relative error between simulated phase angle at node 2 and reference phase angle | [%] |
err_Theta3_percent[3] |
Relative error between simulated phase angle at node 2 and reference phase angle | [%] |
err_Theta4_percent[3] |
Relative error between simulated phase angle at node 2 and reference phase angle | [%] |
Extends from Modelica.Icons.Example (Icon for runnable examples).
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] | {-0.3,-120.3,119.6} | Reference voltage phase angle node 2 - IEEE results [rad] |
Angle | Theta3_ref[3] | {-3.7,-123.5,116.4} | Reference voltage phase angle node 3 - IEEE results [rad] |
Angle | Theta4_ref[3] | {-9.1,-128.3,110.9} | Reference voltage phase angle node 4 - IEEE results [rad] |
GeneralizedProbe | node1 | redeclare Buildings.Electric... | Probe at source |
GeneralizedProbe | node2 | redeclare Buildings.Electric... | Probe at the primary side of the transformer |
GeneralizedProbe | node3 | redeclare Buildings.Electric... | Probe at the secondary side of the transformer |
GeneralizedProbe | node4 | redeclare Buildings.Electric... | Probe at the load |