Description Usage Arguments Value
Smart charging algorithm
1 2 3 4 5 6 7 8 9 10 11 12 13 | smart_charging(
sessions,
fitting_data,
dttm_seq,
window_length,
opt_weights,
responsive,
power_th = 0,
grid_cap = NULL,
up_to_G = TRUE,
sort_by_flex = TRUE,
include_msg = FALSE
)
|
sessions |
sessions data set |
fitting_data |
optimization fitting data, first column being |
dttm_seq |
datetime sequence to apply smart charging |
window_length |
optimization window length |
opt_weights |
Named list with the optimization weight |
responsive |
Named list with the ratio of sessions responsive to smart charging program for each profile. The names of the list must exactly match the user profiles names. |
power_th |
power threshold from to consider flexibility required |
grid_cap |
numeric, grid power capacity (in kW) |
up_to_G |
logical, whether to limit the flexible EV demand up to renewable Generation |
sort_by_flex |
logical, whether to sort the sessions to shift from higher to lower flexibility |
include_msg |
logical, whether to output the algorithm messages for every user profile and time-slot |
a list with two elements: optimization setpoints and coordinated sessions schedule
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.