
modelPiLine
Extends from Base.Interfaces.ComplexPhasor.SinglePhase.TwoPin (Shell model for models with two electrical connectors ).
Parameters
| Type | Name | Default | Description |
| Real | length | 20 | Length of line in km |
| Modelica.SIunits.Resistance | r | 0.207 | Series Resistance per km |
| Modelica.SIunits.Reactance | x | 0.121 | Series Reactance per km |
| Modelica.SIunits.Susceptance | b | 40e-6 | Shunt Susceptance per km |
| Modelica.SIunits.Conductance | g | 0.0 | Shunt Conductance per km |
| SI.Power | Sr | 1 | rated apparent power |
| Modelica.SIunits.Current | Imax | 100 | maximal current |
Components
| Type | Name | Default | Description |
| SI.ComplexVoltage | v (from TwoPin) | | Voltage between Pin1 and Pin2 |
| SI.ComplexCurrent | i (from TwoPin) | | Difference between input and output current |
| SI.ComplexVoltage | v1 (from TwoPin) | | Voltage at Pin1 |
| SI.ComplexVoltage | v2 (from TwoPin) | | Voltage at Pin2 |
| SI.ComplexCurrent | i1 (from TwoPin) | | Current flowing into the component at Pin1 |
| SI.ComplexCurrent | i2 (from TwoPin) | | Current flowing out of the component at Pin2 |
| SI.Voltage | V (from TwoPin) | | Voltage RMS phase-to-neutral |
| SI.Voltage | Vpp (from TwoPin) | | Voltage RMS phase-to-phase |
| SI.Voltage | V1 (from TwoPin) | | Voltage RMS phase-to-neutral at Pin1 |
| SI.Voltage | V2 (from TwoPin) | | Voltage RMS phase-to-neutral at Pin2 |
| SI.Current | I (from TwoPin) | | Current RMS |
| SI.Current | I1 (from TwoPin) | | Current RMS into the component at Pin1 |
| SI.Current | I2 (from TwoPin) | | Current RMS out of the component at Pin2 |
| SI.Angle | Vangle (from TwoPin) | | Voltage phase |
| SI.Angle | Iangle (from TwoPin) | | Current phase |
| SI.Voltage | Vpeak (from TwoPin) | | Voltage peak phase-to-neutral |
| SI.Current | Ipeak (from TwoPin) | | Current peak |
| ModPowerSystems.Base.System | system | | |
| Modelica.SIunits.Resistance | R | r*length | |
| Modelica.SIunits.Reactance | X | x*length | |
| Modelica.SIunits.Susceptance | B | b*length | |
| Modelica.SIunits.Conductance | G | g*length | |
| Modelica.SIunits.Inductance | L | X/system.omega | |
| Modelica.SIunits.Capacitance | C | B/system.omega | |
| Modelica.SIunits.ComplexCurrent | i_rx | | |
| Modelica.SIunits.Current | Irel | I1/Imax*100 | |
| SI.Power | S1 | 3*V1*I1 | apparent power into the component at P1 |
| SI.Power | S2 | 3*V2*I2 | apparent power out of the component at P2 |
| SI.Power | Srel | S2/Sr*100 | |
| SI.Power | Slosses | abs(S1 - S2) | |