modelTwoPortRLC

Model of an RLC element with two electrical ports

Extends from Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network), Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.TwoPort (Partial model interface for a two port component without neutral cable).

Information

RLC line model (T-model) that connects two AC three-phase unbalanced interfaces. This model can be used to represent a cable in a three-phase unbalanced AC system.

image

The model represents the lumped impedances as shown in the figure above. Assuming that the overall cable has a resistance R, an inductance L, and a capacitance C, each line has an inductance equal to L/3, a resistance equal to R/3 and a capacity equal to C/3.

Parameters

TypeNameDefaultDescription
BooleanuseHeatPort (from ConditionalHeatPort)false= true, if heatPort is enabled
SI.TemperatureT (from ConditionalHeatPort)293.15Fixed device temperature if useHeatPort = false
Modelica.Units.SI.ResistanceRResistance at temperature T_ref
Modelica.Units.SI.CapacitanceCCapacity
Modelica.Units.SI.InductanceLInductance
Modelica.Units.SI.TemperatureT_ref298.15Reference temperature
Modelica.Units.SI.TemperatureM507.65Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref))
Modelica.Units.SI.Voltage[2]Vc1_startV_nominal/sqrt(3)*{1, 0}Initial voltage phasor of the capacitance located in the middle of phase 1
Modelica.Units.SI.Voltage[2]Vc2_startV_nominal/sqrt(3)*{-1/2, -sqrt(3)/2}Initial voltage phasor of the capacitance located in the middle of phase 1
Modelica.Units.SI.Voltage[2]Vc3_startV_nominal/sqrt(3)*{-1/2, +sqrt(3)/2}Initial voltage phasor of the capacitance located in the middle of phase 1
Modeling assumption
Buildings.Electrical.Types.LoadmodeBuildings.Electrical.Types.Load.FixedZ_steady_stateType of model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Nominal conditions
Modelica.Units.SI.VoltageV_nominalNominal voltage (V_nominal >= 0)

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)Conditional heat port
Terminal_pterminal_p (from TwoPort)Electric terminal side p
Terminal_nterminal_n (from TwoPort)Electric terminal side n

Components

TypeNameDefaultDescription
SI.PowerLossPower (from ConditionalHeatPort)Loss power leaving component via heatPort
SI.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of heatPort
OnePhase.Lines.TwoPortRLCphase1Impedance line 1
OnePhase.Lines.TwoPortRLCphase2Impedance line 2
OnePhase.Lines.TwoPortRLCphase3Impedance line 3

Revisions

  • April 5, 2023, by Michael Wetter:
    Set nominal attribute for voltage at terminal.
  • September 17, 2016, by Michael Wetter:
    Corrected wrong annotation to avoid an error in the pedantic model check in Dymola 2017 FD01 beta2.
    This is for issue 557.
  • March 9, 2015, by Marco Bonvini:
    Added parameter for start value of the voltage.
  • January 14, 2015, by Marco Bonvini:
    Added equation that represents Joule losses
  • October 6, 2014, by Marco Bonvini:
    Revised documentation and model.