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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | inductive (from Impedance) | true | If true, the load is inductive, otherwise it is capacitive |
| Modelica.Units.SI.Resistance | R (from Impedance) | 1 | Resistance |
| Modelica.Units.SI.Inductance | L (from Impedance) | 0 | Inductance |
| Modelica.Units.SI.Capacitance | C (from Impedance) | 0 | Capacitance |
| Boolean | star | true | Type of load connection: true = star, false = triangle |
| Modeling assumption | |||
| Boolean | linearized (from Load) | false | If true, the load model is linearized |
| Buildings.Electrical.Types.Load | mode (from Load) | Buildings.Electrical.Types.Load.FixedZ_steady_state | Type of load model (e.g., steady state, dynamic, prescribed power consumption, etc.) |
| Nominal conditions | |||
| Modelica.Units.SI.Power | P_nominal (from Load) | 0 | Nominal power (negative if consumed, positive if generated). Used if mode <> Buildings.Electrical.Types.Load.VariableZ_P_input |
| Modelica.Units.SI.Voltage | V_nominal (from Load) | Nominal voltage (V_nominal >= 0) | |
| Initialization | |||
| Buildings.Electrical.Types.InitMode | initMode (from Load) | Buildings.Electrical.Types.InitMode.linearized | Initialization mode for homotopy operator |
| Variable load › Resistance | |||
| Boolean | use_R_in (from Impedance) | false | If true, R is specified by an input |
| Modelica.Units.SI.Resistance | RMin (from Impedance) | 1e-4 | Minimum value of the resistance |
| Modelica.Units.SI.Resistance | RMax (from Impedance) | 1e2 | Maximum value of the resistance |
| Variable load › Capacitance | |||
| Boolean | use_C_in (from Impedance) | false | If true, C is specified by an input |
| Modelica.Units.SI.Capacitance | CMin (from Impedance) | 1e-4 | Minimum value of the capacitance |
| Modelica.Units.SI.Capacitance | CMax (from Impedance) | 1e2 | Maximum value of the capacitance |
| Variable load › Inductance | |||
| Boolean | use_L_in (from Impedance) | false | If true, L is specified by an input |
| Modelica.Units.SI.Inductance | LMin (from Impedance) | 1e-4 | Minimum value of the inductance |
| Modelica.Units.SI.Inductance | LMax (from Impedance) | 1e2 | Maximum value of the inductance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | y (from Load) | Fraction of the nominal power consumed | |
| Modelica.Blocks.Interfaces.RealInput | Pow (from Load) | Power consumed | |
| Buildings.Electrical.Interfaces.Terminal | terminal (from Load) | Generalized electric terminal | |
| Modelica.Blocks.Interfaces.RealInput | y_R (from Impedance) | Input that sepecify variable R | |
| Modelica.Blocks.Interfaces.RealInput | y_C (from Impedance) | Input that sepecify variable C | |
| Modelica.Blocks.Interfaces.RealInput | y_L (from Impedance) | Input that sepecify variable L |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage[:] | v (from Load) | terminal.v | Voltage vector |
| Modelica.Units.SI.Current[:] | i (from Load) | terminal.i | Current vector |
| Modelica.Units.SI.Power[PhaseSystem.n] | S (from Load) | PhaseSystem.phasePowers_vi(v, -i) | Phase powers |
| Modelica.Units.SI.Power | P (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 toPhaseSystem.thetaRefout 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.