get_charging_rates_distribution {evsim}R Documentation

Charging rates distribution

Description

Get charging rates distribution in percentages from a charging sessions data set

Usage

get_charging_rates_distribution(sessions, unit = "year", power_interval = NULL)

Arguments

sessions

tibble, sessions data set in standard format marked by {evprof} package (see this article)t

unit

character. Valid base units are second, minute, hour, day, week, month, bimonth, quarter, season, halfyear and year. It corresponds to unit parameter in lubridate::floor_date function.

power_interval

numeric, interval of kW between power rates. It is used to round the Power values into this interval resolution. It can also be NULL to use all the original Power values.

Value

tibble

Examples

get_charging_rates_distribution(evsim::california_ev_sessions, unit = "year")



[Package evsim version 1.5.0 Index]