Changelog
Source:NEWS.md
evsim 1.6.0
- Parameter
align_time
has been removed from all functions in favour of internal automatic alignment thanks to introduction of funcionis_aligned
. - Changed variable names in
expand_session
function (NominalPower
->PowerNominal
,RequiredEnergy
->EnergyRequired
) - Bug fix in
adapt_charging_features
function:ConnectionHours
now rounded to 2 digits to improve accuracy of calculations - Simulated energy using log-normal distribution with a minimum of 1 kWh and simulated connections with a minimum of 30 minute duration, to be more realistic.
- Bug fix in
get_evmodel_summary()
- New legend formatting for
plot_ts()
- Added parameter
n_sockets
to functionadd_charging_infrastructure()
to specify the number of sockets per charging point
evsim 1.5.0
CRAN release: 2024-04-11
- In
simulate_sessions
nowuser_profiles
can also beNULL
to use the defaultevmodel
config. - Changed
get_ev_model
toget_custom_ev_model
to avoid using auxiliary functions to get GMM from parameters. Thus, the argumentparameters_lst
has been introduced to directly use all time-cycles parameters, and functionsget_connection_models_from_parameters
andget_energy_models_from_parameters
are now internal and not exported. - Custom models ratio’s in
parameters_lst
argument of functionget_custom_ev_model
must be now between 0 and 1 and not between 0 and 100, to be consistent with theevmodel
created byevprof
. - Introduced
power_interval
parameter inget_charging_rates_distribution
function. It is used to round thePower
values into this interval resolution. It can also beNULL
to use all the originalPower
values. - Now
plot_ts
function plots with the data timezone by default withdygraphs::dyOptions
parameteruseDataTimezone=TRUE
.
evsim 1.4.0
CRAN release: 2024-03-14
- Renamed
get_n_connections
toget_occupancy
- Added function
plot_occupancy_duration_curve
- Removed dependency from
xts
package - Removed parameter
group
fromplot_ts
function - Improved reference documentation and examples in multiple functions
evsim 1.3.0
CRAN release: 2024-02-04
- Improved the efficiency of
get_demand
andget_n_connections
- Added function
plot_ts
to plot time-series in adygraphs
HTML plot - Added multi-core processing for Windows distribution
- Energy GMM inside of
evmodel
also contain theratio
of everycharging_rate
- Function
expand_sessions
is now exported - Added functions to create summary tables from
evmodel
object
evsim 1.2.0
CRAN release: 2024-01-23
- Improved functions for calculating demand and occupancy (now with multi-core processing)
- Included more example data (
evsim::california_ev_sessions
andevsim::california_ev_sessions_profiles
). - Included functions to create a model from Gaussian Mixture Models parameters.
evsim 1.1.0
- Added
read_ev_model
function to read an EV model JSON file generated by package evprof
evsim 1.0.0
- Bug fix in the
evmodel
class printing function - Adding California’s EV model as example evmodel (
evsim::california_ev_model
). - Function “simulate_sessions” now requires a “user_profiles” parameter with the ratio of every user profile and the optional specific power.
- Add function “get_user_profiles_distribution” to facilitate the creation of the newly requested parameter “user_profiles” by function “simulate_sessions”
- Remove function
update_profiles_ratios
in favour ofprepare_models
. This new function is used inside thesimulate_sessions
function using thesessions_day
anduser_profiles
parameters to modify theevmodel
input.