Buildings.Electrical.AC.OnePhase.Storage
Package with models for electrical storage with a AC one phase connector
Information
This package contains models for storage elements with an AC one phase 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.OnePhase.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.Interfaces.PartialAcDcParameters (Partial model that contains basic parameters for a DC/AC conversion system).
Parameters
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 |
Connectors
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 |