EV model object

knitr::opts_chunk$set(echo = TRUE)
library(evprof)

The EV model object defined by {evprof} is generated with function get_ev_model(). This function returns an object of class evmodel. This object prints a summary of its components. The package provides an example of evmodel created in the California study case article, using the charging sessions data provided by ACN.

evprof::california_ev_model

The evmodelobject has two components:

The model itself is composed by multiple Gaussian models (GMM). The connection_models are Gaussian models of two variables (connection start time and connection duration) and the energy_models are built with a single variable (energy). Thus, the statistic features of connection_models are a centroid ($\mu$), a covariance matrix ($\Sigma$) and the weight or ratio of the corresponding model. Besides, the statistic features of energy_models are a mean ($\mu$), a standard deviation ($\sigma$) and the weight or ratio of the corresponding model.

Let's take a look to these statistical features of the Worktime user profile for Working days in the California model:

california_ev_model$models
workday_model <- california_ev_model$models$user_profiles[[1]]
workday_model
worktime_model <- workday_model[2, ]

The connection model is a mixture of 3 bi-variate Gaussian Models:

worktime_model$connection_models

On the other hand, the energy models can be based on the charging rate (Power variable) of the sessions. It has been observed that the energy demand increases together with the charging power (big vehicles have larger batteries and can charge at higher rates). Thus, function get_energy_models has the logical parameter by_power to fit the Energy Gaussian Models for the different groups of charging powers separately. In the case of California study case, we set by_power=FALSE, that's why we got the Unknown in the energy_models tibble with a ratio of 1:

worktime_model$energy_models[[1]]

Thus, the energy model of all Worktime sessions is a mixture of 9 Gaussian models:

worktime_model$energy_models[[1]]$energy_models[[1]]


Try the evprof package in your browser

Any scripts or data that you put into this service are public.

evprof documentation built on May 29, 2024, 2:36 a.m.