StorageGen

Model interface of StorageGen

This component is a generic model for storage available with any energy vector.

IO StorageGen

Fig. 50 I/O StorageGen

The stored quantity (ie electrical energy, thermal energy, fluid or material mass) and the corresponding flows (resp. power or mass flow rates) are set by the energy vector managed by the bus it is connected to.

Hence the units are managed by the energy vector: use the following, instead of the IS Units leading to scaling troubles during solving step

  • Mass Flow : kg/h

  • Power flow : MW

  • Mass : kg

  • Energy : MWh

  • Time : h

Expressions table of StorageGen

See also Expressions table of TechnicalSubModel for generic options

Table. 23 StorageGen

Expression name

Unit

Mandatory

Description

Flow

mExpFlowBank

mEnergyVector->pFluxUnit

Storage balance of flows (including CapcityMuliplier) = Discharge Flow - Charge Flow, ie negative if charging, positive if discharging \

DischargeFlow

mExpFlowDischargeBank

mEnergyVector->pFluxUnit

Storage discharged flow (including CapcityMuliplier) \

ChargeFlow

mExpFlowChargeBank

mEnergyVector->pFluxUnit

Storage charged flow (including CapcityMuliplier) \

InternalLosses

mExpLosses

mEnergyVector->pFluxUnit

Storage discharged flow (including CapcityMuliplier) \

EnergyVariation

mExpEnergyBank

mEnergyVector->pStorageUnit

Computed current Storage content variation (including CapcityMuliplier), in energy (MWh electrical or thermal carriers) or mass (kg fluids) \

MaxEsto

mExpSizeMax

mEnergyVector->pStorageUnit

Computed Storage Unit maximum content, in energy (MWh electrical or thermal carriers) or mass (kg fluids), ie optimized value if maximum content was given negative value as input data \

EstockUnit

mExpEsto

mEnergyVector->pStorageUnit

Computed current Storage Unit content, in energy (MWh electrical or thermal carriers) or mass (kg fluids) \

FlowUnit

mExpFlow

mEnergyVector->pFluxUnit

Storage Unit balance of flows = Discharge Flow - Charge Flow, ie negative if charging, positive if discharging \

PressureIn

mExpPressure

portFluid->pFluxUnit

Inlet Pressure if pressure mode used {“Bar/Pa”}\

Model variables of StorageGen

Table. 24 StorageGen variables table

Variable name

dimension

Associated Expr

size

varMin

varMax

varType

mVarStoIni

0

0

fabs(getMaxBound())

double

mVarEsto

1

mHorizon

getMinBound()

fabs(getMaxBound())

double

mVarFlowCharge

1

mHorizon

mMinFlowCharge

mMaxFlowCharge

double

mVarFlowDischarge

1

mHorizon

mMinFlowDischarge

mMaxFlowDischarge

double

mVarFlowDirection

1

mExpFlowDirection

mHorizon

0

1

int

mVarPressureIn

1

mHorizon

0

mPressureMax

double