modelTwoPortMatrixRL_N
Model of an RL line parameterized with impedance matrices and neutral line
Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.TwoPort_N (Partial model interface for a two port component with neutral cable).
Information
Resistive-inductive model that connects two AC three-phase unbalanced interfaces with neutral line. This model can be used to represent a cable in a three-phase unbalanced AC system. The voltage between the ports is
where Vi{p,n} is the voltage phasor at the connector p or
n of the i-th phase, while Iip
the current phasor entering from the connector p of the i-th phase.
The model is parameterized with an impedance matrix Z. The matrix is symmetric thus just the upper triangular part of it has to be defined.
Note
The fourth line is the neutral one.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Impedance[2] | Z11 | Element [1,1] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z12 | Element [1,2] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z13 | Element [1,3] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z14 | Element [1,4] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z22 | Element [2,2] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z23 | Element [2,3] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z24 | Element [2,4] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z33 | Element [3,3] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z34 | Element [3,4] of impedance matrix | |
| Modelica.Units.SI.Impedance[2] | Z44 | Element [4,4] of impedance matrix | |
| Modelica.Units.SI.Impedance | Z21 | Z12 | Element [2,1] of impedance matrix |
| Modelica.Units.SI.Impedance | Z31 | Z13 | Element [3,1] of impedance matrix |
| Modelica.Units.SI.Impedance | Z32 | Z23 | Element [3,1] of impedance matrix |
| Modelica.Units.SI.Impedance | Z41 | Z14 | Element [4,1] of impedance matrix |
| Modelica.Units.SI.Impedance | Z42 | Z24 | Element [4,2] of impedance matrix |
| Modelica.Units.SI.Impedance | Z43 | Z34 | Element [4,3] of impedance matrix |
| Nominal conditions | |||
| Modelica.Units.SI.Voltage | V_nominal | Nominal voltage (V_nominal >= 0) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Terminal4_p | terminal_p (from TwoPort_N) | Electric terminal side p | |
| Terminal4_n | terminal_n (from TwoPort_N) | Electric terminal side n |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Current[2] | i1 | terminal_n.phase[1].i | Current in line 1 |
| Modelica.Units.SI.Current[2] | i2 | terminal_n.phase[2].i | Current in line 2 |
| Modelica.Units.SI.Current[2] | i3 | terminal_n.phase[3].i | Current in line 3 |
| Modelica.Units.SI.Current[2] | i4 | terminal_n.phase[4].i | Current in line 4 (neutral) |
| Modelica.Units.SI.Voltage[2] | v1_n | terminal_n.phase[1].v | Voltage in line 1 at connector N |
| Modelica.Units.SI.Voltage[2] | v2_n | terminal_n.phase[2].v | Voltage in line 2 at connector N |
| Modelica.Units.SI.Voltage[2] | v3_n | terminal_n.phase[3].v | Voltage in line 3 at connector N |
| Modelica.Units.SI.Voltage[2] | v4_n | terminal_n.phase[4].v | Voltage in line 4 (neutral) at connector N |
| Modelica.Units.SI.Voltage[2] | v1_p | terminal_p.phase[1].v | Voltage in line 1 at connector P |
| Modelica.Units.SI.Voltage[2] | v2_p | terminal_p.phase[2].v | Voltage in line 2 at connector P |
| Modelica.Units.SI.Voltage[2] | v3_p | terminal_p.phase[3].v | Voltage in line 3 at connector P |
| Modelica.Units.SI.Voltage[2] | v4_p | terminal_p.phase[4].v | Voltage in line 4 (neutral) at connector P |
Contents
| Name | Description |
|---|---|
| Product between complex quantities |
Revisions
-
April 5, 2023, by Michael Wetter:
Set nominal attribute for voltage at terminal. -
November 28, 2016, by Michael Wetter:
Made current and voltage public to allow setting start values.
This is for #584. -
November 28, 2016, by Michael Wetter:
Removed zero start value for currentsi1,i2andi3. Setting a zero start value led Dymola 2017 on Linux to find a different solution for Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YD. Also, the current is typically non-zero and zero is anyway the default start value, hence there is no need to set it.
This is for #584. -
January 14, 2015, by Marco Bonvini:
Created model and documantation.