modelImpedance

Model of a resistive load

Extends from Buildings.Electrical.Interfaces.Impedance (Partial model representing a generalized impedance).

Information

Model of a three-phase balanced impedance.

If inductive=true, then the inductance is a parameter, otherwise the capacitance is a parameter.

The boolean parameter star is used to select whether the star (Y) or triangle (D) configuration is used to connect the impedance. By default, the impedance is assumed to be connected with a star configuration.

When the connection type changes from star to triangle, the value of the impedance is recomputed in such a way that the nominal power consumed by the impedance does not change.

Parameters

TypeNameDefaultDescription
Booleaninductive (from Impedance)trueIf true, the load is inductive, otherwise it is capacitive
Modelica.Units.SI.ResistanceR (from Impedance)1Resistance
Modelica.Units.SI.InductanceL (from Impedance)0Inductance
Modelica.Units.SI.CapacitanceC (from Impedance)0Capacitance
BooleanstartrueType of load connection: true = star, false = triangle
Modeling assumption
Booleanlinearized (from Load)falseIf true, the load model is linearized
Buildings.Electrical.Types.Loadmode (from Load)Buildings.Electrical.Types.Load.FixedZ_steady_stateType of load model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Nominal conditions
Modelica.Units.SI.PowerP_nominal (from Load)0Nominal power (negative if consumed, positive if generated). Used if mode <> Buildings.Electrical.Types.Load.VariableZ_P_input
Modelica.Units.SI.VoltageV_nominal (from Load)Nominal voltage (V_nominal >= 0)
Initialization
Buildings.Electrical.Types.InitModeinitMode (from Load)Buildings.Electrical.Types.InitMode.linearizedInitialization mode for homotopy operator
Variable load › Resistance
Booleanuse_R_in (from Impedance)falseIf true, R is specified by an input
Modelica.Units.SI.ResistanceRMin (from Impedance)1e-4Minimum value of the resistance
Modelica.Units.SI.ResistanceRMax (from Impedance)1e2Maximum value of the resistance
Variable load › Capacitance
Booleanuse_C_in (from Impedance)falseIf true, C is specified by an input
Modelica.Units.SI.CapacitanceCMin (from Impedance)1e-4Minimum value of the capacitance
Modelica.Units.SI.CapacitanceCMax (from Impedance)1e2Maximum value of the capacitance
Variable load › Inductance
Booleanuse_L_in (from Impedance)falseIf true, L is specified by an input
Modelica.Units.SI.InductanceLMin (from Impedance)1e-4Minimum value of the inductance
Modelica.Units.SI.InductanceLMax (from Impedance)1e2Maximum value of the inductance

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputy (from Load)Fraction of the nominal power consumed
Modelica.Blocks.Interfaces.RealInputPow (from Load)Power consumed
Buildings.Electrical.Interfaces.Terminalterminal (from Load)Generalized electric terminal
Modelica.Blocks.Interfaces.RealInputy_R (from Impedance)Input that sepecify variable R
Modelica.Blocks.Interfaces.RealInputy_C (from Impedance)Input that sepecify variable C
Modelica.Blocks.Interfaces.RealInputy_L (from Impedance)Input that sepecify variable L

Components

TypeNameDefaultDescription
Modelica.Units.SI.Voltage[:]v (from Load)terminal.vVoltage vector
Modelica.Units.SI.Current[:]i (from Load)terminal.iCurrent vector
Modelica.Units.SI.Power[PhaseSystem.n]S (from Load)PhaseSystem.phasePowers_vi(v, -i)Phase powers
Modelica.Units.SI.PowerP (from Load)Power of the load (negative if consumed, positive if fed into the electrical grid)

Revisions

  • May 26, 2016, by Michael Wetter:
    Moved function call to PhaseSystem.thetaRef out of derivative operator as this is not yet supported by JModelica.
  • August 24, 2014, by Marco Bonvini:
    Revised documentation.
  • January 2, 2012, by Michael Wetter:
    First implementation.