ConnectionHours
calculation.align_time
has been removed from all functions in favour of internal automatic alignment thanks to introduction of funcion is_aligned
.expand_session
function (NominalPower
-> PowerNominal
, RequiredEnergy
-> EnergyRequired
)adapt_charging_features
function: ConnectionHours
now rounded to 2 digits to improve accuracy of calculationsget_evmodel_summary()
plot_ts()
n_sockets
to function add_charging_infrastructure()
to specify the number of sockets per charging pointsimulate_sessions
now user_profiles
can also be NULL
to use the default evmodel
config.get_ev_model
to get_custom_ev_model
to avoid using auxiliary functions to get GMM from parameters. Thus, the argument parameters_lst
has been introduced to directly use all time-cycles parameters, and functions get_connection_models_from_parameters
and get_energy_models_from_parameters
are now internal and not exported.parameters_lst
argument of function get_custom_ev_model
must be now between 0 and 1 and not between 0 and 100, to be consistent with the evmodel
created by evprof
.power_interval
parameter in get_charging_rates_distribution
function. It is used to round the Power
values into this interval resolution. It can also be NULL
to use all the original Power
values.plot_ts
function plots with the data timezone by default with dygraphs::dyOptions
parameter useDataTimezone=TRUE
.get_n_connections
to get_occupancy
plot_occupancy_duration_curve
xts
packagegroup
from plot_ts
functionget_demand
and get_n_connections
plot_ts
to plot time-series in a dygraphs
HTML plotevmodel
also contain the ratio
of every charging_rate
expand_sessions
is now exportedevmodel
objectevsim::california_ev_sessions
and evsim::california_ev_sessions_profiles
).read_ev_model
function to read an EV model JSON file generated by package {evprof}
evmodel
class printing functionevsim::california_ev_model
).update_profiles_ratios
in favour of prepare_models
. This new function is used inside the simulate_sessions
function using the sessions_day
and user_profiles
parameters to modify the evmodel
input.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.