Buildings.Electrical.AC.ThreePhasesBalanced.Storage
Package with models for electrical storage with a AC three-phase balanced connector
Information
This package contains models for storage elements with an AC three-phase balanced connector.
Extends from Modelica.Icons.Package (Icon for standard packages).
Package Content
Name | Description |
---|---|
Battery | Simple model of a battery |
Examples | Package with example models |
Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Battery
Simple model of a battery
Information
Simple model of a battery.
This model takes as an input the power to be extracted from the AC line and stored in the battery (if P > 0) or to be fed into the AC line after being extracted from the battery. The actual power stored or extracted in the battery differs from P due to AC/DC conversion losses and battery charge and discharge efficiencies.
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).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package PhaseSystem | OnePhase | 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] | |
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 |
Connectors
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 |