modelTwoPortRLC

Model of an RLC element with two electrical ports

Extends from Buildings.Electrical.Transmission.BaseClasses.PartialTwoPortRLC (Partial model of an RLC element that links two electrical connectors).

Information

This model represents a series of two resistive-inductive impedances and a capacitance that connects two AC single phase interfaces. This model can be used to represent a cable in a AC grid.

The model represents the lumped resistances and capacity, as a T-model, as shown in the figure below.

image

As can be seen in the figure, the resistance R and the inductance L are split in two halves and the capacitance is located in the center. The capacitance in the center is optional. If it is not present, set the parameter C=0. The model is either dynamic or static depending on the presence of the capacitive effect.

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.ResistanceR (from PartialTwoPortRLC)Resistance at temperature T_ref
Modelica.Units.SI.TemperatureT_ref (from PartialTwoPortRLC)298.15Reference temperature
Modelica.Units.SI.TemperatureM (from PartialTwoPortRLC)507.65Temperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref))
Modelica.Units.SI.CapacitanceC (from PartialTwoPortRLC)Capacity
Modelica.Units.SI.InductanceL (from PartialTwoPortRLC)Inductance
Modelica.Units.SI.Voltage[2]Vc_start{V_nominal, 0}Initial voltage phasor of the capacitance located in the middle of the line
Nominal conditions
Modelica.Units.SI.VoltageV_nominal (from PartialTwoPortRLC)Nominal voltage (V_nominal >= 0)
Modeling assumption
Buildings.Electrical.Types.LoadmodeBuildings.Electrical.Types.Load.FixedZ_steady_stateType of model (e.g., steady state, dynamic, prescribed power consumption, etc.)

Connectors

TypeNameDefaultDescription
Buildings.Electrical.Interfaces.BaseTerminalterminal_n (from PartialBaseTwoPort)Electric terminal side p
Buildings.Electrical.Interfaces.BaseTerminalterminal_p (from PartialBaseTwoPort)Electric terminal side n
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)Conditional heat port

Components

TypeNameDefaultDescription
SI.PowerLossPower (from ConditionalHeatPort)Loss power leaving component via heatPort
SI.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of heatPort
Modelica.Units.SI.ResistanceR_actual (from PartialTwoPortRLC)Actual resistance = R*(M + T_heatPort)/(M + T_ref)

Revisions

  • November 8, 2016, by Michael Wetter:
    Added replaceable to terminal redeclaration as they are redeclared by Buildings.Electrical.AC.ThreePhasesBalanced.Lines.TwoPortRLC.
  • May 26, 2016, by Michael Wetter:
    Moved function call to PhaseSystem.thetaRef out of derivative operator as this is not yet supported by JModelica.
  • March 9, 2015, by Marco Bonvini:
    Added parameter for start value of the voltage.
  • August 5, 2014, by Marco Bonvini:
    Revised model and documentation.