osier.StorageTechnology.discharge#
- StorageTechnology.discharge(demand, time_delta=unyt_quantity(1, 'hr'))[source]#
Discharges the battery if there is a surplus of energy.
- Parameters:
demand (
unyt.unyt_quantity) – Amount of surplus.time_delta (
unyt.unyt_quantity) – The real time passed between modeled timesteps.
- Returns:
power_level – The current power level of the technology.
- Return type:
unyt.unyt_quantity