1. Introduction
Electric vehicles (EVs) are a promising technology to reduce greenhouse gas emission by substituting fossil fuel based cars. In order to significantly reduce the greenhouse gas emission, electricity from renewable sources should be used to charge the electric vehicle [
1]. This can be achieved by using a photovoltaic (PV) generator, which is installed at a household rooftop. This leads to an integrated energy system, comprising of the electricity and the mobility sector. Financial issues are another barrier for a progressing penetration of renewable energy technologies [
2]. However, the installation of a suitable energy management system (EMS) enables to reduce cost [
3].
In general, an EMS can be used for different system architectures and it can apply varying types of algorithms, whereas input data are often based on forecasts.
An example for the usage of an EMS is to control a system with a PV-generator, a micro turbine, a supercapacitor and a battery, considering a load- and PV-forecast [
4]. Van der Meer et al. [
5] developed an EMS to control charging processes of EVs, whereas the energy is provided by PV-generators and the grid and additionally a PV-forecast algorithm was integrated. In [
6] an optimization of operational cost of an energy system is performed, applying a time of use tariff. Bai et al. [
7] investigated power dispatch strategies, considering a load forecast on a virtual power plant with several EVs and also industrial and civil loads. In [
8] an EMS is purposed, which utilizes micro economic principles to coordinate components of a microgrid. Heuristic algorithms, like a genetic algorithm, are capable of load scheduling for smart home appliances, reducing peak to average ratio and electricity cost [
9]. Anvari-Moghaddam et al. [
10] purposed a multi-agent approach for optimizing cost and user comfort at a microgrid energy system, containing distributed generation. In [
11] a deep reinforcement learning based energy management system was used to operate a microgrind with long-term and short-term storage.
Different energy management algorithms result in significantly different calculation times, raging from several seconds to several hours [
12]. Rottondi et al. [
13] showed that an energy management system, based on linear programming, can achieve short calculation times within the sub seconds range, while handling several loads and a storage system for an office building, using a load and PV-forecast.
As mentioned energy management is often based on forecasts, depending on the system of consideration. A stochastic investigation of the effect of forecast uncertainties on a microgrid was performed in [
14]. However, household electrical load depends on the season, the weather and the occupant behavior [
15]. The irregular and very individual consumption pattern of a single household makes forecasting these loads a difficult task [
16].
A broad range forecast algorithms have been developed, based on several principles. Artificial Neural Networks (ANNs) can be used for forecasting PV-generation, utilizing weather data. The property of ANNs that no functional relationship of the input and output on an ANN have to be known in advance becomes useful in this case [
17]. Time series based, statistical methods like autoregressive moving average (ARMA) and some derivations of ARMA are also capable of performing load forecasts [
18]. In [
19] a long term load forecast, utilizing fuzzy logic, was purposed. Humeau et al. [
16] developed a load forecast algorithm based on linear regression and machine learning tools for single houses and districts. Hernández et al. [
20] combined self-organizing maps, k-means clustering and a multilayer perceptron network to predict loads of a town. Ensemble methods, based on decision trees, are capable of performing load forecast for a campus university [
21]. Vazquez et al. [
22] compared several load forecast algorithms, based on least squares, an elastic net, support vector machines and decision trees. In [
23] long short-term memory (LSTM) networks were utilized to perform load forecasts at a household level.
The interaction between a household energy management with different storage options like stationary storage and a mobile storage, while also accounting for the load forecast at a single household system level, has not widely been studied to the authors best knowledge. This is addressed by adding an EV to a household energy system, which provides mobility in varying context. The context is modelled by a primary EV, which is used mainly to get to work and back and by a secondary EV, which is used as a household support vehicle, e.g., going to grocery stores or giving lifts to children. Furthermore, the EV is modelled as a bidirectional system, enabling load balancing services to the household. Thus, additional challenges or opportunities are added for an EMS. These are focused on utilizing the EV storage capacity in an optimal manner and still providing mobility to the household’s inhabitants.
To account for forecast uncertainties of the household electrical load, a forecast algorithm, based on k-means clustering and an ANN, is integrated into the EMS. The load forecast algorithm is aimed to be simple, fast and adaptable to a load time series. The forecast algorithm is similar to the one developed by Hernández et al. [
20], but simplified and it is applied to time series of single households.
The paper is organized as follows:
Section 2 gives information about the simulated system, including the parameters of the components and applied EV schedules.
Section 3 describes the household electrical load forecast algorithm,
Section 4 shows the optimization and simulation framework,
Section 5 describes the results and
Section 6 gives a conclusion.
2. System Description
The energy system under investigation consists of a PV-generator, a home energy storage system (HES), an electric vehicle (EV), a household load and a grid connection.
2.1. Energy System
The system components considered are shown in
Figure 1. The energy system is modelled as a load on a single phase. An EV and a HES are added, in order to increase the flexibility of the system. Additionally, the EV-battery functions as an energy source for an electric vehicle, thus providing mobility for the household. The inverters and the bidirectional wireless charging device model energy losses due to AC–DC or DC–DC conversions in charging- and discharging processes. The PV-generator feeds energy into the system and the household load drains energy from the system. The grid connection balances potential forecast inaccuracies and is able to supply the system with additional energy or can feed surplus energy into the grid.
The household considered in this study has an electricity consumption of 3239 kWh/a. The PV-generator is modelled by a time series of a PV-system, located in Oldenburg, northern Germany, leading to a PV energy production of 4210 kWh/a. The PV time series already takes inverter efficiency into account, which is necessary to convert the DC of the PV generator to the AC of the household electricity grid.
Using energy from the grid is charged with 0.288 €/kWh, which is the average cost of electricity of a German household with a consumption of 3500 kWh in 2016 [
24]. Feeding energy into the grid generated revenues of 0.123 €/kWh, which is the feed in tariff of a PV-system up to 10 kWp, build in Germany, at the beginning of 2017 [
25].
The EV is assumed to be a microcar, suitable for providing mobility in an area close to a city. It has a rather small capacity of 9.6 kWh and an energy consumption of 10.9 kWh/100 km. In order to investigate the stationary storage capacity effect, different HES capacities are simulated, ranging from zero (no HES is used) to 12 kWh. The maximal State of Charge (SoC) of the HES and EV is set to 90%, to avoid overcharges. The minimal SoC of the HES is set to 10%, in order to prevent deep discharge. The minimal SoC of the EV is set to 20%, to prevent deep discharge and provide an energy buffer for rides. Maximum powers are defined symmetrically (equal for both directions) for the grid, the HES and the EV. Maximum EV power is set to 10 kW, maximum HES power to 9 kW and maximum grid power to 40 kW.
Besides losses due to the inverters
, the bidirectional charging device
, the battery charging efficiencies
and battery discharging efficiencies
are taken into consideration. All efficiencies are assumed as constants, to enable usage of a linear optimization based energy management algorithm. This algorithm is introduced in
Section 3.2. The inverter efficiency is taken from [
26], it represents the efficiency at AC–DC operation at a low output power. Thus, it is a conservative estimation of the efficiency, because according to [
26] higher output powers result in higher efficiencies. The efficiency of the bidirectional wireless charging device is assumed to be equal to an unidirectional wireless charging device, with an air gap of 8 cm and a power of 4 kW according to [
27]. The charging- and discharging efficiencies of both batteries are taken from [
28]. They are determined at a current of 1.5 C and a state of charge (SoC) of 10%. An overview of considered efficiencies and its values is given in
Table 1.
To simplify calculations, several efficiencies of single components are combined to efficiencies for every relevant process (i.e., discharging/charging the HES or EV), according to (
1)–(
4).
2.2. EV Schedules
Two schedules are conceived to model the EV-usage. The first schedule is focused on rides from and to the working place. Additionally, trips of variable lengths at the weekend are added, which model EV-usage within spare time. This schedule is called primary EV schedule. The other schedule simulates an EV used for household support. Trips within this schedule simulate bringing or picking up children to and from kindergarten and occasional trips, associated with shopping or social activity. At weekends it is assumed that another vehicle is used for potential rides. This schedule is called secondary EV schedule.
Table 2 shows general aspects of both EV schedules. It indicates that the primary EV schedule consisted of less, but bigger distance rides compared to the secondary EV schedule. Details about the EV schedules are given in the
Appendix A.
The primary EV schedule leads to a profile whereas the EV is mostly not available during the day because the EV is parked at the working place. The secondary EV-profile results in the EV being at the household most of the time. Potential trips of the secondary EV schedule are not only short in distance but also short in duration.
6. Conclusions
In this paper a forecast algorithm for electrical loads is developed and integrated into an energy management system. The energy system contained an electric vehicle (EV), which follows one of two different schedules.
The forecast algorithm is able to perform more accurate than both benchmarks (last day persistence and last equal weekday persistence), at a forecast horizon of 24 h. At the test procedure, the forecast algorithm shows a lower mean average percentage error (MAPE) compared to these benchmarks. Although, a tendency to underestimate values is indicated by the negative mean bias error, leaving room for improvement. If compared to a minute wise forecast, the developed forecast algorithm performs worse. Thus, a combination of the minute wise forecast and the developed forecast algorithm is integrated into the purposed energy management system (EMS) to enable precise operation and planning.
It is shown that load forecast uncertainty affects the electricity cost of a household, depending on the available storage capacities, using a constant price of energy and feed in tariff. If the EV is used as a primary vehicle (mainly trips from and to work), increasing the stationary storage capacity leads to an increased significance of forecast uncertainties. Without stationary storage capacity, the forecast uncertainties barely increase the cost. With 12 kWh stationary storage capacity, the costs are increased by around 11%. If the EV is used as a secondary vehicle (short trips over the course of a day), adding more stationary storage capacity affects the impact of forecast uncertainty less than in the primary use case, but in general the cost increase is bigger. Without stationary storage, forecast uncertainties increases the cost by around 9%. With a storage capacity of 12 kWh, the cost are increased by 14%. This shows that the bigger the storage and the higher the availability of the storage during power production, the more significant accurate load forecasts becomes. Adding a PV-forecast has a similar effect as the load forecast, as it further increase the electricity cost.
Furthermore, the primary EV schedule leads to bigger electricity cost than the secondary EV. Especially without a stationary storage, the secondary EV is able to save electricity cost. In this case the EV acts like storage rather than adding additional load to the household. Without any stationary storage, a secondary EV saves around 60 € in almost one year compared to a primary EV. If a 12 kWh stationary storage is added to the household energy system, the difference between primary and secondary EV is decreased to almost zero. Because of the high saving without having a stationary storage, an EV with a secondary usage profile can be an adequate substitution for stationary storage or make smaller stationary storage devices more viable to save cost. This is also reflected in shorter payback times of a system which comprises a secondary EV instead of a primary one. This is particularly relevant for low HES capacities. However, adding stationary storage is very expensive and thus increases the payback time to a level of no overall economic benefit.
Future research addresses a more in depth investigation of uncertainties under operation. Additionally, in this research the EV is moved according to a synthetic schedule, which is known by the EMS and does not fully catch real world EV movement patterns. Forecasting the EV movement, based on real word data, could be integrated. Thus, the EMS can operate more autonomously, avoiding currently necessary user input and increasing the users’ comfort. Furthermore, a comprehensive investigation on the investment and maintenance cost, especially regarding the impact of a bidirectional EV, is necessary for an overall cost assessment.