Skip to content

Storage Unit - Outputs

Output attributes are calculated by the optimization solver or power flow analysis. These values are read-only and represent the results of network calculations.

Electrical

AttributeData TypeUnitDefaultRequiredStorage TypeDescription
pfloatMW0Notimeseriesactive power at bus (positive if discharging)
qfloatMVar0Notimeseriesreactive power at bus
p_dispatchfloatMW0Notimeseriesactive power dispatch at bus
p_storefloatMW0Notimeseriesactive power charging at bus

Capacity

AttributeData TypeUnitDefaultRequiredStorage TypeDescription
p_nom_optfloatMW0NostaticOptimised nominal power (p_nom) from capacity expansion optimization.

Energy

AttributeData TypeUnitDefaultRequiredStorage TypeDescription
state_of_chargefloatMWh0NotimeseriesState of charge of storage unit
spillfloatMWh0NotimeseriesSpillage of storage unit

Unit Commitment

AttributeData TypeUnitDefaultRequiredStorage TypeDescription
statusfloatn/a1NotimeseriesStatus (1 is on, 0 is off). Only outputted if committable is True.

Costs

AttributeData TypeUnitDefaultRequiredStorage TypeDescription
mu_upperfloatcurrency/MWh0NotimeseriesShadow price of upper nominal power (p_nom) limit
mu_lowerfloatcurrency/MWh0NotimeseriesShadow price of lower nominal power (p_nom) limit
mu_state_of_charge_setfloatcurrency/MWh0NotimeseriesShadow price of fixed state of charge setpoint (state_of_charge_set)
mu_energy_balancefloatcurrency/MWh0NotimeseriesShadow price of storage consistency equations

© Copyright 2025 Bayesian Energy