Accumulated storage level
Arguments
- power
numeric vector, being positive when charging and negative when discharging
- init
numeric, initial storage level (in energy units, not %)
- loss
numeric, the hourly storage loss in percentage (%/hour), passed to
get_storage_losses
function- time_resolution
numeric, time resolution of the time-series (in minutes)