Skip to contents

Accumulated storage level

Usage

get_storage_level(power, init = 0, loss = 0, time_resolution = 60)

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)

Value

numeric vector