Package with models for electrical storage with a AC three-phase balanced connector
This package contains models for storage elements with an AC three-phase balanced 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 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.AC.OnePhase.Storage.Battery (Simple model of a battery).
Type | Name | Default | Description |
---|---|---|---|
replaceable package PhaseSystem | OnePhase | Phase system | |
Real | etaCha | 0.9 | Efficiency during charging [1] |
Real | etaDis | 0.9 | Efficiency during discharging [1] |
Real | SOC_start | Initial charge | |
Energy | EMax | Maximum available charge [J] | |
Boolean | linearized | false | If =true introduce a linearization in the load |
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 |
---|---|---|
input RealInput | P | Power stored in battery (if positive), or extracted from battery (if negative) [W] |
output RealOutput | SOC | State of charge |