modelCapacitiveLoad

Partial model of a capacitive load

Extends from Load (Partial model for a generic load).

Information

This is a model of a generic capacitive load. This model is an extension of the base load model Buildings.Electrical.Interfaces.Load.

This model assumes a fixed power factor pf when the flag use_pf_in = false otherwise it uses the power factor specified by the input pf_in.

The power factor (either the input or the parameter) is used to compute the reactive power Q given the active power P

Q = - P * tan(arccos(pf))

Parameters

TypeNameDefaultDescription
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.)
Booleanuse_pf_infalseIf true, the power factor is defined by an input
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)
Realpf0.8Power factor
Initialization
Buildings.Electrical.Types.InitModeinitMode (from Load)Buildings.Electrical.Types.InitMode.linearizedInitialization mode for homotopy operator

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.RealInputpf_inPower factor

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)

Contents

NameDescription
jprotectedJ operator that rotates of 90 degrees

Revisions

  • June 06, 2014, by Marco Bonvini:
    Added power factor input pf_in and updated documentation.
  • May 15, 2014, by Marco Bonvini:
    Created documentation.
  • October 31, 2013, by Marco Bonvini:
    Model included into the Buildings library.