modelLine

Model of an electrical line

Extends from Buildings.Electrical.Transmission.BaseClasses.PartialLine (Partial cable line dispersion model).

Information

This model represents an AC single phase cable. The model is based on Buildings.Electrical.AC.OnePhase.Lines.TwoPortRLC and provides functionalities to parametrize the values of R, L and C, either using commercial cables or using default values.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.Lengthl (from PartialBaseLine)Length of the line
Modelica.Units.SI.PowerP_nominal (from PartialBaseLine)Nominal power of the line
Modelica.Units.SI.VoltageV_nominal (from PartialBaseLine)Nominal voltage of the line
Modelica.Units.SI.Frequencyf_n (from PartialBaseLine)50Frequency considered in the definition of cables properties
Buildings.Electrical.Transmission.LowVoltageCables.GenericcommercialCable (from PartialBaseLine)
Modelica.Units.SI.TemperatureT_ref (from PartialBaseLine)commercialCable.T_refReference temperature of the line
Modelica.Units.SI.TemperatureM (from PartialBaseLine)commercialCable.MTemperature constant (R_actual = R*(M + T_heatPort)/(M + T_ref))
Modelica.Units.SI.ResistanceR (from PartialBaseLine)commercialCable.lineResistance(l, f_n, commercialCable)Resistance of the cable
Modelica.Units.SI.InductanceL (from PartialBaseLine)commercialCable.lineInductance(l, f_n, commercialCable)Inductance of the cable due to mutual and self inductance
Modelica.Units.SI.CapacitanceC (from PartialBaseLine)commercialCable.lineCapacitance(l, f_n, commercialCable)Capacitance of the cable
Model › Assumptions
Booleanuse_C (from PartialBaseLine)falseSet to true to add a capacitance in the center of the line
Buildings.Electrical.Types.LoadmodelMode (from PartialBaseLine)Buildings.Electrical.Types.Load.FixedZ_steady_stateSelect between steady state and dynamic model
Model › Thermal
Booleanuse_T (from PartialBaseLine)falseIf true, enables the input for the temperature of the cable
Modelica.Units.SI.TemperatureTCable (from PartialBaseLine)T_refFixed temperature of the cable
Tech. specification › Auto/Manual mode
Buildings.Electrical.Types.CableModemode (from PartialBaseLine)Buildings.Electrical.Types.CableMode.automaticSelect if choosing the cable automatically or between a list of commercial options

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.Blocks.Interfaces.RealInputT (from PartialBaseLine)Temperature of the cable

Components

TypeNameDefaultDescription
Buildings.HeatTransfer.Sources.PrescribedTemperaturecableTemp (from PartialBaseLine)Temperature of the cable
Modelica.Blocks.Sources.RealExpressioncableTemperature (from PartialBaseLine)Temperature of the cable
RealVoltageLosses (from PartialLine)abs(PhaseSystem_p.systemVoltage(terminal_p.v) - PhaseSystem_n.systemVoltage(terminal_n.v))/Buildings.Utilities.Math.Functions.smoothMax(PhaseSystem_p.systemVoltage(terminal_p.v), PhaseSystem_n.systemVoltage(terminal_n.v), 1.0)Percentage of voltage losses across the line

Revisions

  • November 8, 2016, by Michael Wetter:
    Added replaceable to terminal redeclaration as they are redeclared by Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Line.
  • November 8, 2016, by Michael Wetter:
    Corrected wrong assignment of parameter mode.
    This is for #571.
  • September 23, 2014, by Marco Bonvini:
    Moved here the default declaration of the parameter commercialCable.

    commercialCable = Buildings.Electrical.Transmission.Functions.selectCable_low (P_nominal, V_nominal)

  • August 24, 2014, by Marco Bonvini:
    Revised documentation.