modelResistiveLoad
Partial model of a resistive load
Extends from Load (Partial model for a generic load).
Information
This is a model of a generic resistive load. This model is an extension of the base load model Buildings.Electrical.Interfaces.Load.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| 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 |
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 |
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 14, 2015, by Marco Bonvini:
Created model to solve problems related to OpenModelica as described in issue #415.
OpenModelica cannot determine the valuePhaseSystem.nwhen models like Buildings.Electrical.AC.OnePhase.Loads.Resistive inherit directly from Buildings.Electrical.Interfaces.LoadBuildings.Electrical.Interfaces.Load.
The same problem does not happen with models like Buildings.Electrical.AC.OnePhase.Loads.Capacitive or Buildings.Electrical.AC.OnePhase.Loads.Inductive since they inherit from a different model.
For such a reason this interface for resistive load model has been added to the library.