Package with models for electrical storage with a AC one phase connector
This package contains models for storage elements with an AC one phase connector.
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
Battery | Simple model of a battery |
Examples | Package with example models |
Simple model of a battery
Simple model of a battery.
This model takes as an input the power to be stored in the battery (if P > 0) or to be extracted from the battery. This model has a one phase AC connector and takes into account the efficiency of the conversion between DC and AC ηDCAC.
The output connector SOC
is the state of charge of the battery.
This model does not enforce that the state of charge is between zero and one.
However, each time the state of charge crosses zero or one, a warning will
be written to the simulation log file.
The model also does not limit the current through the battery. The user should
provide a control so that only a reasonable amount of power is exchanged,
and that the state of charge remains between zero and one.
Extends from Buildings.Electrical.Interfaces.PartialAcDcParameters (Partial model that contains basic parameters for a DC/AC conversion system).
Type | Name | Default | Description |
---|---|---|---|
replaceable package PhaseSystem | Buildings.Electrical.PhaseSy... | Phase system | |
Efficiency | etaCha | 0.9 | Efficiency during charging [1] |
Efficiency | etaDis | 0.9 | Efficiency during discharging [1] |
Real | SOC_start | Initial charge | |
Energy | EMax | Maximum available charge [J] | |
Voltage | V_nominal | Nominal voltage (V_nominal >= 0) [V] | |
Boolean | linearized | false | If =true introduce a linearization in the load |
Terminal_p | terminal | redeclare Buildings.Electric... | Generalized terminal |
AC-Conversion | |||
Real | pf | 0.9 | Power factor |
Real | eta_DCAC | 0.9 | Efficiency of DC/AC conversion |
Initialization | |||
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator |
Type | Name | Description |
---|---|---|
replaceable package PhaseSystem | Phase system | |
input RealInput | P | Power stored in battery (if positive), or extracted from battery (if negative) [W] |
output RealOutput | SOC | State of charge |
Terminal_p | terminal | Generalized terminal |