Storage

Note

Since storage power values are given in the consumer system, positive power models charging and negative power models discharging.

Create Function

Input Parameters

net.storage

Parameter

Datatype

Value Range

Explanation

name

string

Name of the storage unit

bus*

integer

Index of connected bus

p_mw*

float

\(\leq\) 0

Momentary real power of the storage (positive for charging, negative for discharging)

q_mvar*

float

Reactive power of the storage [MVar]

sn_mva

float

\(>\) 0

Nominal power ot the storage [MVA]

scaling*

float

\(\geq\) 0

Scaling factor for the active and reactive power

max_e_mwh

float

The maximum energy content of the storage (maximum charge level)

min_e_mwh

float

The minimum energy content of the storage (minimum charge level)

max_p_mw**

float

Maximum active power

min_p_mw**

float

Minimum active power

soc_percent

float

0 \(\leq\) soc_percent \(\leq\) 100

The state of charge of the storage

max_q_mvar**

float

Maximum reactive power [MVar]

min_q_mvar**

float

Minimum reactive power [MVar]

controllable**

bool

States if sgen is controllable or not, sgen will not be used as a flexibilty if it is not controllable

in_service*

boolean

True / False

Specifies if the generator is in service

*necessary for executing a power flow calculation
**optimal power flow parameter

Electric Model

Storages are modelled as PQ-buses in the power flow calculation:

alternate Text

The PQ-Values are calculated from the parameter table values as:

\begin{align*} P_{storage} &= p\_mw \cdot scaling \\ Q_{storage} &= q\_mvar \cdot scaling \\ \end{align*}

Note

The apparent power value sn_mva, state of charge soc and storage capacity max_e_mwh are provided as additional information for usage in controller or other applications based on panadapower. It is not considered in the power flow!

Result Parameters

net.res_storage

Parameter

Datatype

Explanation

p_mw

float

resulting active power after scaling [MW]

q_mvar

float

resulting reactive power after scaling [MVar]

The power values in the net.res_storage table are equivalent to \(P_{storage}\) and \(Q_{storage}\).