expand_sessions {evsim} | R Documentation |
Expand sessions along time slots
Description
Every session in sessions
is divided in multiple time slots
with the corresponding Power
consumption, among other variables.
Usage
expand_sessions(sessions, resolution)
Arguments
sessions |
tibble, sessions data set in standard format marked by |
resolution |
integer, time resolution (in minutes) of the time slots |
Details
The Power
value is calculated for every time slot according to the original
required energy. The columns NominalPower
, RequiredEnergy
and
FlexibilityHours
correspond to the values of the original session, and not
to the expanded session in every time slot. The column ID
shows the number
of the time slot corresponding to the original session.
Value
tibble
Examples
library(dplyr)
sessions <- head(evsim::california_ev_sessions, 10)
expand_sessions(
sessions,
resolution = 60
)
[Package evsim version 1.5.0 Index]