Next Article in Journal
A Single-Phase Modular Multilevel Converter Based on a Battery Energy Storage System for Residential UPS with Two-Level Active Balancing Control
Previous Article in Journal
Euclidean Distance-Based Tree Algorithm for Fault Detection and Diagnosis in Photovoltaic Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quantifying the Economic Advantages of Energy Management Systems for Domestic Prosumers with Electric Vehicles

1
Department of Energy, Politecnico di Milano, 20156 Milan, Italy
2
Edison Spa, 20121 Milan, Italy
*
Author to whom correspondence should be addressed.
Energies 2025, 18(7), 1774; https://doi.org/10.3390/en18071774
Submission received: 17 February 2025 / Revised: 15 March 2025 / Accepted: 20 March 2025 / Published: 1 April 2025
(This article belongs to the Section A1: Smart Grids and Microgrids)

Abstract

:
The increasing adoption of intermittent renewable energy sources and electric vehicles in households necessitates effective energy management systems (EMS) in the residential sector. This study quantifies the economic benefits of using a state-of-the-art EMS for optimally controlling a grid-connected smart home, which includes PV panels, a battery, and an EV charging station with either monodirectional or bidirectional charging modes. The EMS uses a two-layer approach: the first layer handles strategic decisions with day-ahead forecasts and solving a mixed-integer linear program (MILP) model; the second layer manages the real-time control decisions based on a heuristic strategy. Tested on 396 real-world case studies (based on measured data) with varying user types and energy systems (different PV plant sizes, with or without BESS, and different EV charging modes), different EV models, and weekly commutes, the results demonstrate the EMS’s cost-effectiveness compared to current non-predictive heuristic strategies. Annual cost savings exceed 20% in all cases and reach up to 900 €/year for configurations with large (6 kW) PV plants. Additionally, while installing a battery is not economically advantageous, bidirectional EV chargers yield 10–15% additional savings compared to monodirectional chargers, increasing with more weekly remote working days.

1. Introduction

The objectives to reach climate neutrality by 2050 are pushing the spread of renewable energy sources (RES) generation and the penetration of electric vehicles (EV), strongly affecting the residential environment. In the EU, the Commission has introduced the EU Solar Energy Strategy as part of the REPowerEU plan, aiming to accelerate the deployment of solar technologies. The objective is to install over 320 GW of solar photovoltaic (PV) capacity by 2025 and nearly 600 GW by 2030. To facilitate this transition, the European Solar Rooftop Initiative has been launched to tap into the vast, underutilized potential of rooftops for clean energy production. This initiative includes a phased obligation to install solar panels on various building types, starting with new public and commercial structures and gradually extending to residential buildings [1]. In 2022, rooftop solar photovoltaic (PV) panels contributed an additional 25 GW of capacity, marking an increase of 8 GW compared to 2021. This growth was particularly notable in the residential and small commercial sectors, where investment decisions are made swiftly and system installations are relatively quick to complete [2]. Meanwhile, EV adoption is also accelerating; in June 2023, new battery-electric car registrations in the EU increased by 66.2%, reaching 158,252 units. This boosted their market share to 15.1% (up from 10.7% in June 2022), making EVs the third most popular choice among new car buyers, surpassing diesel for the first time [3].
This evolving landscape of energy systems mandates a critical examination of energy management and control within the residential sector to properly integrate the RES generation with the EV requirements. Presently, the deployment of smart metering systems stands out as a significant opportunity, offering nearly real-time feedback on energy consumption and production. EU is actively promoting the widespread adoption of these systems [4], alongside the integration of energy systems [5], to achieve cost-effective decarbonization of EU economies.
Italy’s Integrated National Energy and Climate Plan [6,7] places citizens and businesses at the center of the green transition, encouraging them to take an active role in the energy transformation. A major challenge is the inefficiency of Italy’s residential building stock, with 55% of homes classified in the lowest energy efficiency categories. To address this, the PNIEC aims to increase renovation rates, promote electrification, and support automation, control, and insulation improvements. One particularly promising avenue for integration is the electrification of transport, which can foster a more flexible, decentralized, and digitalized energy system. However, conventional heuristic management and control strategies currently used in residential energy systems are inadequate for achieving optimal integration between EVs and rooftop PV installations [8].
To overcome these limitations, significant efforts are being directed toward the development of advanced energy management systems (EMSs) based on predictive approaches [9]. This study methodically evaluates the advantages of predictive EMSs over heuristic strategies in residential settings through extensive real-world case studies conducted in collaboration with industrial partners. The following section provides an overview of the EMSs specifically developed for the optimal management of domestic plants.

1.1. Relevant Literature

Numerous studies have explored residential energy management, employing various methodologies to address the challenges in this field [8]. Among these, it is worth mentioning stochastic dynamic programming (SDP), reinforcement learning (RL), and mixed-integer linear programming (MILP). These tools are versatile, applicable not only to the management of individual households but also to broader scales such as buildings, energy communities, or microgrids (MG).
Wu et al. [10,11] utilized SDP to optimize energy management in a smart home with plug-in electric vehicles (PEVs). Particularly suitable for handling uncertainty, SDP in these instances modeled trip time and trip length through probability distributions, resulting in cost savings across various operational modes. RL represents a powerful tool for managing systems with increasing complexity, such as energy communities with a growing number of users, EVs or storage. Shin et al. [12] applied a multi-agent deep RL approach to a system where a single private enterprise managed multiple EV charging stations equipped with renewable energy resources, each independently connected to battery energy storage systems (BESSs). This method effectively reduced the operating costs of the EV charging stations.
Another well-established framework in the smart home EMS is the MILP, which is also the method adopted in this work. Wi et al. [13] developed an EMS based on a MILP optimization module with an intelligent EV charging strategy for smart homes and buildings equipped with PV systems. The implemented EMS effectively aligned EV charging schedules with user preferences. Erdinc [14] employed MILP to assess demand response (DR) strategies in grid-connected smart households, equipped with bi-directional power flow capability EVs and energy storage systems, significantly impacting household power consumption patterns. Paterakis et al. [15] formulated an EMS to optimize day-ahead appliance scheduling while considering hourly electricity pricing and peak power constraints. The model efficiently handled both thermostatically controlled (e.g., air conditioners and water heaters) and non-thermostatically controlled (e.g., washing machines and dishwashers) appliances, along with EVs, proving computationally efficient even in realistic case studies. Tostado-Véliz et al. [16] investigated management strategies for isolated homes adopting a MILP formulation to leverage deferrable loads and vehicle-to-home (V2H) strategies. By jointly adopting these strategies, cost savings of up to 41.5% were achieved compared to a benchmark off-grid residential case. MILP models can be seamlessly integrated into a real-time rolling horizon optimization framework, as shown by Paterakis et al. in [17]. This work proposed a home EMS to minimize energy procurement costs for households enrolled in dynamic pricing tariff schemes. The rolling horizon approach effectively handled uncertainties in PV generation, user consumption, and EV behavior by continuously updating system parameters based on real-time data. In addition, MILP frameworks can be applied to optimally size smart households in terms of RES generation and storage capabilities, as demonstrated by Erdinc et al. in [18]. Pilotti et al. [19] used MILP to optimize the operation of a microgrid featuring an e-fleet parking lot, PV panels, stationary batteries, and industrial loads, highlighting the benefits of participating in energy-intensive reserve programs to align EV charging with service provisioning. Tostado-Véliz et al. [20] effectively addressed uncertainty by developing a stochastic many-objective solution based on MILP, which was tested on a home layout. Tostado-Véliz et al. [21] focused on nearly zero energy buildings, which aim to achieve a yearly near-zero net energy consumption. They exploited a combination of stochastic programming and information-gap decision theory (IGDT) with a modular MILP formulation to minimize various objective functions while preserving robustness and efficiency. Zhang et al. [22] proposed a MILP model to manage smart homes using an MG system to minimize daily energy cost and CO2 emissions. Residential communities were addressed by Erdinç [23] through a rolling horizon approach that was able to guarantee a fair allocation of shared resources and sustain cost effectiveness. Thomas et al. [24] compared deterministic and stochastic EMS approaches for buildings with EV fleets capable of bidirectional energy trading, confirming that stochastic optimization consistently reduced total daily system costs compared to deterministic alternatives.
EMS architectures typically adopt a hierarchical structure, with layers addressing different time scales and technical aspects of energy management [25]. Upper layers oversee the medium-term operation solving the unit commitment problem that is based on profiles generated by the forecast generation module. Lower layers implement strategic decisions from upper layers, handling real-time system dispatch by acting on its components. Moretti et al. [26] developed a two-layer predictive EMS for an off-grid hybrid MG, integrating controllable and non-controllable generation alongside storage. Tested on a rural MG in Somalia, this strategy achieved significant renewable energy penetration and reduced fuel consumption by 24.1% compared to the best heuristic alternative. Esmaeel Nezhad et al. [27] employ MILP within a shrinking horizon (SH) model predictive control (MPC) framework for a home EMS, targeting the reduction of electricity costs. The case studies analyzed demonstrate that the SH MPC effectively lowers costs and generates profits for prosumers equipped with PV and BESS by optimizing the integration of load-shifting programs, local power generation, and storage systems. This approach proves beneficial under both time-of-use tariffs and real-time pricing schemes. Jiang et al. [28] designed an EMS to enhance the MG reliability. Leveraging coordination between the schedule layer and the dispatch layer, this EMS dynamically allocated and updated an adequate active power reserve for real-time MG dispatch, addressing the indeterminacy of uncontrollable units in both grid-connected and stand-alone modes. Additionally, Fusco et al. [29] utilized a hierarchical EMS to manage a single-bus system comprising PV and BESS assets, optimizing participation in the Italian day-ahead and intra-day electricity markets. The system successfully executed and maintained a sequential bidding strategy through the integration of load and PV forecasts with energy management.

1.2. Motivation and Contribution

The objective of this work is to quantify the economic gain (cost savings) achievable by adopting a state-of-the-art EMS for the optimal operation of a domestic plant consisting of rooftop PV, EV charger (monodirectional or bidirectional), and (optionally) battery energy storage (BESS). The scheme is shown in Figure 1.
Unlike previous studies that focus on the development of novel energy management algorithms, this work is centered on evaluating the financial advantages of EMS implementation. In order to have sufficient statistical relevance, the analysis considers a large number of cases (about 400), all featuring real-world data (measured profiles), and the operation of the domestic plant for the whole year. The case studies cover different user profiles, energy systems (different sizes of the PV plant, with or without BESS, with monodirectional or bidirectional EV charging station), EV models, and weekly commutes, resulting in a total of 396 instances.
The implemented EMS is based on the same structure and state-of-the-art methods adopted in today’s EMS for industrial plans and microgrids. It is structured on two main modules: the forecast module and the optimization module. The forecast module uses artificial intelligence algorithms to predict the production of PV panels and the electricity consumption of the house for the next 24 h. The optimization module is structured in two layers: the first layer is the strategic planning problem (energy flows exchanged between PV, EV, and BESS in the next 24 h), which is modeled and solved as a MILP; the second layer uses a rule-based heuristic strategy to adjust the power exchanged between the different units to meet the current power demands and PV production. The implemented EMS represents the best trade-off between complexity (input data, computational time, and resources required to solve the optimization problem) and optimality. More advanced EMS based on stochastic (e.g., [30,31]) or robust optimization approaches (e.g., [32,33]) require additional input data (e.g., uncertainty set definition or scenarios definition) and may yield computationally intensive problems (requiring expensive MILP solvers and powerful hardware for the calculator), making them not suitable for practical implementation in a domestic plant. To assess the reliability of the proposed framework, the impact of forecast accuracy is thoroughly investigated, identifying the most significant sources of uncertainty affecting economic performance.
The remainder of the paper is structured as follows. Section 2 presents the home EMS. This section covers the hierarchical structure approach and the mathematical formulation describing the first and second layers and introduces the benchmark algorithm. Section 3 describes the analyzed case studies. Section 4 reports the results and a detailed comparison between the developed home EMS and the reference benchmark. Finally, Section 5 concludes the paper and suggests directions for future research.

2. EMS Structure and Methodology

The operation planning problem to be solved by the EMS can be stated as follows:
Given the following:
  • The PV panels, the EV charging station, and the BESS installed in the household with their size/capacity, and technical operational limits;
  • The day-ahead hourly forecast and real-time measurements of residential consumption, L o a d ¯ t f o r e and L o a d ¯ t r e a l ;
  • The day-ahead hourly forecast and real-time measurements of PV production, P V ¯ t f o r e and P V ¯ t r e a l ;
  • The forecast of electricity purchase and selling price profiles, c ¯ t p u r c h , r ¯ t s e l l ;
  • The day-ahead forecast schedule of the electric vehicle usage (in particular, the time periods t in which the EV is at used, A v a i l ¯ e v , t = 0, and the expected energy consumption for the trip, D e m a n d ¯ e v , t ).
Determine the optimal planning of controllable components (BESS and EV), i.e., the battery charge/discharge profile, P e s , t n e t , and the electric vehicle charge/discharge profile, P e v , t n e t , which minimize the total operational cost for the house.
The operational planning solution must meet the following constraints:
  • The storage operational constraints;
  • The maximum grid import and export limitation;
  • The power balance of the house;
  • The achievement of a minimum state of charge (SOC) of the EV battery at the time requested by the user.
The scheme of the developed home energy management system (HEMS) is shown in Figure 2. It follows a rolling-horizon approach: a time-dependent model is solved repeatedly, and its planning interval is moved forward in time. It consists of two layers: the first layer solves a predictive optimization problem over a time horizon of 24 h with a time discretization of 1 h, while the second layer controls the instantaneous power balance. The second layer adjusts the BESS and the EV charge/discharge power to compensate for the errors in the forecasts of PV power production and load demands.
The control structure for the second layer adopts a heuristic model that mitigates deviations between forecasts and actual outcomes. The heuristic model acts on each step of the first-layer models with a time discretization of 15 min. It is noteworthy that the heuristic model computational time is very short, allowing for potential frequency increases, even down to seconds. However, the frequency of the second layer aligns with the measurements provided by Edison, which are associated with second-generation smart meters collecting data every 15 min.

2.1. Forecasting Module

The forecasting module supplies the home EMS with input profiles necessary for predictive optimization, enabling strategic planning for system components. As shown in Figure 2, these forecasted profiles are the house consumption, PV generation, electricity prices (purchase and selling prices), EV time of usage (i.e., time periods in which the EV is not connected to the charging station), and energy consumption of the EV in the travels.
The PV generation and the house consumption forecasts deliver predictions for the upcoming day at its initiation. These predictions are developed by Edison, and they are detailed in Section 3.2 and Section 3.3.
As far as electricity prices for Italian domestic clients are concerned, the selling price follows the “Ritiro Dedicato” [34] scheme, where electricity injected into the grid is sold at the zonal price, “Prezzo Zonale” (PZ). Regarding the purchase price, due to transport costs and taxes, it is about twice the market clearing price, known as “Prezzo Unico Nazionale” (PUN) in Italy. It is worth noting that PZ and PUN are typically quite similar, differing only when market splitting occurs in the day-ahead market (DAM) resolution [35], particularly in the north bidding zone. In normal socio-economic conditions, the PUN (thus the electricity selling and purchasing prices) can be day-ahead forecasted with 15–20% mean absolute percentage error (MAPE) error [36] using support vector machine algorithms. However, during the EMS testing period, which ranges from 28 January 2022 until 28 January 2023, electricity prices were very volatile as a consequence of geopolitical tensions, when minimums around 20 €/MWh and peaks up to 870 €/MWh were recorded (see Figure 3). Therefore, instead of developing a forecasting module, historical data for purchase and selling prices have been considered, which were available from [37]. Future testing activities of the EMS, hopefully in stable geo-political periods, will also include the price forecast module.
As for the EV, unfortunately, the number of clients with EV is insufficient to derive a consistent methodology for forecasting EV usage (availability time and consumed energy). Thus, the EMS has been tested assuming a set of four different EVs’ expected usage profiles, as detailed in Section 3.5. Additionally, the economic impact of EV usage forecast errors has been assessed for different error scenarios for both a winter week and a summer week, as discussed in Section 4.7.

2.2. First Layer—MILP Mathematical Formulation

The first layer of the home EMS is designed as a deterministic MILP, where all operational variables and constraints are defined for each timestep. The variables used in this work are listed and described in the nomenclature section.
The decision variables in the optimization problem include the following:
  • Battery storage: average charging power P e s , t c h , discharging power P e s , t d i s c h , net power exchange P e s , t n e t , and state-of-energy S O E e s , t for each timestep t;
  • Electric vehicle: average charging power P e v , t c h , discharging power P e v , t d i s c h , net power exchange P e v , t n e t , and state-of-energy S O E e v , t for each timestep t;
  • Grid interaction: average power purchased from the grid P t g r i d , p u r c h and power sold back to the grid P t g r i d , s e l l for each timestep t.
Since the time horizon is discretized, the power-related operational variables (e.g., P e s , t d i s c h as kW) are considered timestep-averaged values. The corresponding energy quantities are obtained by multiplying the power values by the timestep duration d t ¯ 1 . For instance, if the timestep duration is one hour, then the numerical values for average power and energy remain identical.
The optimization problem focuses on defining the household’s strategic planning and economic dispatch by minimizing total operational costs, expressed as follows:
O F = m i n t     T 1 Φ t O p e x
The key constraints governing the model include the following:
  • Storage dynamics: for both the battery and the EV, constraints define charging and discharging power limits as well as the state-of-charge evolution over time;
  • Grid constraints: electricity purchased and sold must comply with the contractual limits of the user;
  • Power balance: at each timestep, the total electricity generated by non-dispatchable sources, energy discharged from storage, and energy purchased from the grid must always balance the total energy used for storage charging and exports to the grid.
For brevity, the complete MILP mathematical model is not provided here. The developed model, encompassing constraints and the objective function, adheres to the deterministic formulations proposed by Thomas et al. [24] and Melhem et al. [38].

2.3. Second Layer—Heuristic Control

The second layer of the home EMS is a rule-based control algorithm that refines the optimal setpoints obtained from the first-layer MILP model. Its primary function is to manage the net demand forecast error—caused by inaccuracies in predicting PV generation and household consumption—by redistributing this error among system components while respecting their technical limitations. This layer dynamically adjusts power setpoints based on real-time system measurements, ensuring an effective interaction between the BESS and the EV in maintaining home energy balance.
The net demand forecast error can be computed as follows:
e r r ¯ t = L o a d ¯ t r e a l L o a d ¯ t f o r e P V ¯ t r e a l P V ¯ t f o r e                                           t T 2
Additionally, at each timestep, adjustments must be made to the EV and BESS power setpoints to account for situations where technical constraints prevent their full execution. This is reflected in the planned state-of-energy (SOE) evolution for the BESS and EV:
S O E e s , t p l a n = S O E e s , t 1 · η ¯ e s S D + ( P e s , t c h , s e t p o i n t · η ¯ e s c h P e s , t d i s c h , s e t p o i n t η ¯ e s d i s c h ) · d t ¯ 2                           t T 2
S O E e v , t p l a n = S O E e v , t 1 · η ¯ e v S D + ( P e v , t c h , s e t p o i n t · η ¯ e v c h P e v , t d i s c h , s e t p o i n t η ¯ e v d i s c h ) · d t ¯ 2                     t T 2
If these planned SOE values violate operational limits, power setpoints are adjusted accordingly:
P e s , t d i s c h , c u t = m i n P e s , t d i s c h ,   s e t p o i n t ,   m a x η ¯ e s d i s c h · S O E ¯ e s m i n S O E e s , t p l a n d t ¯ 2 , 0                         t T 2
P e s , t c h , c u t = m i n P e s , t c h ,   s e t p o i n t ,   m a x S O E e s , t p l a n S O E ¯ e s m i n η ¯ e s c h · d t ¯ 2 , 0                               t T 2
P e v , t d i s c h , c u t = m i n P e v , t d i s c h ,   s e t p o i n t ,   m a x η ¯ e v d i s c h · S O E ¯ e v m i n S O E e v , t p l a n d t ¯ 2 , 0                             t T 2
P e v , t c h , c u t = m i n P e v , t c h ,   s e t p o i n t ,   m a x S O E e v , t p l a n S O E ¯ e v m i n η ¯ e v c h · d t ¯ 2 , 0                             t T 2
The computed S O E e s , t p l a n and S O E e v , t p l a n , shown in Equations (3) and (4), determined at the beginning of this second layer, represent the expected energy levels of the BESS and EV if they were to fully adhere to the first-layer setpoints. The adjustments in power setpoints, Equations (5)–(8), ensure compliance with technical constraints and the optimization strategy.
The total power imbalance to be managed in the second layer is then given by the following:
Δ P t = e r r ¯ t + P e s , t d i s c h , c u t + P e v , t d i s c h , c u t P e s , t c h , c u t + P e v , t c h , c u t                             t T 2
Depending on whether Δ P t is positive or negative, the system must address either a power deficit or a power surplus. Figure 4 presents a block-flow diagram of the second-layer heuristic strategy, detailing the priority order for managing these scenarios:
  • Reduce grid interaction;
  • BESS or EV power supply (different priority according to power deficit/excess and selected strategy);
  • Increase grid interaction;
  • Additional cut of planned EV setpoint;
  • Unmet demand or curtailment.
In this work, two EV management strategies have been implemented: unidirectional smart charging (V1H) and bidirectional smart charging, also known as vehicle-to-home (V2H). In the second layer of the V1H mode, the EV is charged in the case of power excess taking priority over the BESS, and it is not discharged to cover the power deficit. In the V2H mode, the EV is discharged, giving priority to the BESS. Moreover, the EV discharge in the second layer is enabled only if the residential consumption exceeds the user’s power connection limits.

2.4. Benchmark Algorithm

It is necessary to define a benchmark algorithm to properly assess the HEMS performances from operative and economic perspectives. Since the HEMS relies on predictive optimization, the benchmark algorithm is designed as a non-predictive heuristic control. Boynuegri et al. [39] proposed a heuristic approach to residential environment management, outlining various priority orders among house components to enhance renewable self-consumption. In this study, the benchmark algorithm is similar but with different priority orders according to the EV availability and the net power consumption of the house (computed as the difference between the measured house consumption and PV production). The logic of the benchmark algorithm is depicted in Figure 5. The goal is to replicate the priorities observed in the second layer heuristic control and model the EV charging process to resemble current charging stations. In this context, the EV is charged as rapidly as possible to reach a minimum SOE close to its maximum capacity while adhering to the technical limitations of the system.

3. Case Studies

In this section, the case studies to which the aforementioned methodology is applied are presented.
Each case study differs in terms of users’ weekly commuting habits (ranging from no remote working days to three days per week). A reference case has also been included, denoted as case 0, in order to address scenarios with no electric mobility. Assessing this simpler design is essential for understanding the impact of increasing system complexity in terms of components and management strategies. Additionally, this case offers a reference point for calculating the costs and revenues associated with the annual energy consumption of various users in the analyzed configurations, facilitating the computation of the electric mobility effect in subsequent cases. Each case study aims to assess the techno-economic performance of six users in various smart home configurations. The objective is to evaluate the benefits offered by the proposed HEMS in comparison to a benchmark heuristic algorithm.
The analyzed configurations of the smart home environment depend on factors such as the size of the PV system, which varies based on whether the user has low or high annual energy consumption, as well as the presence or absence of BESS and the EV management in V1H or V2H mode. Test cases are summarized in Table 1.
The simulations have all been performed on a 1-year period, ranging from 28 January 2022 until 28 January 2023. The considered customers are located in the north of Italy. Overall, 396 instances have been evaluated.
The EMS has been coded in Pyomo (v6.4) [40,41], an open-source Python-based optimization modeling framework that supports a variety of optimization techniques. The first-layer MILP problem is solved using Gurobi Optimizer (v9.5.2) [42]. All optimization simulations have been executed on a workstation equipped with a 3.2 GHz 10-core Apple M1 Pro processor and 16 GB of RAM.

3.1. Key Performance Indicators

3.1.1. Forecast Module Characterization

To comprehensively evaluate the home EMS, it is necessary to introduce and characterize the inputs that drive its performance since these inputs wield a significant influence. Specifically, quantifying errors linked to the forecast module is crucial. In this study, the assessment utilizes the symmetric mean absolute percentage error (SMAPE) and the weighted mean absolute error (WMAE) to gauge the accuracy of the forecasts.
S M A P E [ % ] = 100 n i = 1 n y i y ^ i y i + y ^ i / 2
W M A E [ ] = i = 1 n y i y ^ i i = 1 n y i
where y ^ i is the forecast and y i is the measurement. These metrics are commonly used to evaluate the accuracy of forecasting models. SMAPE calculates the percentage difference between forecasted and actual values and normalizes it by their mean. It is symmetric, meaning it does not favor overestimations or underestimations. On the other hand, WMAE assesses the average absolute error between forecasted and actual values, with a weighting based on the energy observed throughout the simulation period. This allows for assigning less importance to errors occurring at lower power levels.

3.1.2. Techno-Economic Assessment

The techno-economic performance has been assessed by defining key performance indicators (KPIs) that compare the total costs (TC) of the predictive home EMS with those of the benchmark algorithm. The objective is to quantify the benefits in absolutes (e.g., total costs [€/y]) and relative terms (e.g., annual percentage savings [%]). Relative indicators will be referred to as relative savings (RS), and they can be evaluated for the predictive EMS in either V1H or V2H mode, using the benchmark algorithm as a reference. It is important to clarify that the total costs considered in these KPIs have been adjusted to exclude the operational costs of EV and BESS, focusing solely on the purchase and injection of power into the grid for the economic analysis.
R S E M S = T C b e n c h T C E M S T C b e n c h
The absolute value is used in the denominator to prevent sign changes caused by scenarios that generate annual revenues.
Another noteworthy metric pertains to the cost-effectiveness of adding the stationary BESS. This cost-effectiveness has been assessed using the break-even cost (BEC), which is determined by the operational savings generated by the BESS. The BEC represents the maximum price at which it would be advisable to invest in the installation of the BESS. Below this threshold, there is a net gain, while exceeding it results in a financial loss. Calculating the BEC involves the use of the capital recovery factor (CRF), a ratio for assessing the present value of an annuity (assuming a series of equal annual cash flows). CRF depends on the real discount rate and the BESS lifetime, which are specified in Section 3.4.
C R F B E S S = i · 1 + i N B E S S 1 + i N B E S S 1
B E C E M S = T C E M S N O   B E S S T C E M S Y E S   B E S S C R F B E S S
In addition to evaluating the economic feasibility of the different configurations for each case study, it is necessary to quantify the self-consumption of PV generation as well. Given that grid power injection has been constrained to the net power excess between residential consumption and PV generation, BESS and EV cannot be discharged to sell electricity to the grid. This implies that PV self-consumption can be easily derived from the difference between the energy generated with PV and the electricity injected into the grid:
P V   s e l f   c o n s u m p t i o n % = P V s e l f   c o n s P V p r o d = P V p r o d G r i d s o l d P V p r o d

3.2. PV Production

Edison provided data concerning the PV production forecast and measurements, referencing a PV field situated in the north of Italy. Both forecasts and measurements have been rescaled to a nominal power consistent with the typical size of PV fields in Italian households, following [43]. In Figure 6, the monthly forecast performance is evaluated in terms of SMAPE and WMAE. As depicted, the SMAPE hovers around 30%, and the WMAE is around 0.2, with the lowest performance observed in the months of December and January.

3.3. Residential Consumption

Edison also supplied data on the forecast and measurements of residential consumption for six different users located in the north of Italy. The selection of these users aimed for geographical consistency with the PV field’s location. Furthermore, they were chosen based on their annual energy consumption over the analyzed period to represent statistically significant cases among potential users. The forecast performance for each user’s residential consumption is assessed in terms of WMAE and SMAPE, as illustrated in Figure 7. The errors exhibit strong dependence on the individual user, and no correlations with annual energy consumption were identified. Unfortunately, due to privacy considerations, details regarding household composition—such as the adopted heating system, cooking system, air conditioning, or number of people—are not available. Such information could have enhanced consumption forecasts. Despite these challenges, the suboptimal forecast performances provide valuable insights into the economic impacts of inaccuracies in the home EMS.
Table 2 presents characteristics of the analyzed users, including annual consumption and forecast errors over the entire simulation period. Additionally, a nomenclature introduced for results presentation and grouping by annual energy consumption, as specified in Table 2, will be employed throughout the discussion.

3.4. Techno-Economic Parameters

Table 3 provides an overview of the techno-economic parameters for the main components used in the study. It is worth mentioning that the Nissan Leaf has been utilized in all case studies, while the Tesla Model S has been introduced only in an additional case study with 2 days of remote working. This addition allows for the exploration of the impact of an EV with a larger capacity. To ensure consistency and prevent unmet demand, a grid contract limit of 6 kW has been applied. This decision has been made to maintain accurate economic assessments, as unmet demand economic valuation would require making certain assumptions. Technical parameters regarding BESS and EV efficiencies have been provided by Edison. The charge/discharge efficiency for EV operations has been assumed based on a wired EV charger rather than a wireless one. For more insights into the differences between these technologies, readers are referred to the work of Niu et al. [44].

3.5. EV Weekly Commute

As mentioned earlier, four distinct case studies for EV weekly commuting patterns have been examined for each user. The objective is to assess the influence of varied EV usage on both the weekly availability for the home EMS and the additional load introduced by EV charging needs, closely tied to the yearly mileage. These case studies are summarized in Table 4, and the detailed weekly schedules outlining hourly activities can be found in Appendix A. Various levels of remote working have been explored, ranging from no remote working days in Case 1 to up to three days in Case 4. The parameters D e m a n d ¯ e v , t and A v a i l ¯ e v , t introduce the EV weekly commute in the home EMS.

4. Results and Discussion

In this section, the performance of the home EMS is evaluated against the non-predictive heuristic benchmark algorithm in terms of household components management and economic outcomes. KPIs presented in Section 3.1.2 are reported in Appendix B.

4.1. Predictive vs. Heuristic Management

Before detailing the economic comparison between the home EMS and the non-predictive heuristic benchmark, it is crucial to highlight how these strategies manage household components. This comparison is presented through Figure 7, Figure 8 and Figure 9, where the analysis spans three consecutive days, from Monday, 7 February, to 9 February 2022. As can be noticed from the light gray background indicating the absence of the EV from the house, the considered timeframe includes two working days with a remote working day in between. The operations are specific to user F, possessing a PV nominal size of 6 kW with the capability of performing V2H, but outcomes can be extended to all the analyzed users.
Referring to Figure 8, it is possible to emphasize the distinctions between the strategies in terms of power balance. Firstly, the heuristic strategy charges the EV at the most expensive time of the day when the user returns home. As a non-predictive approach, it cannot leverage information about the upcoming remote working day or take advantage of lower overnight electricity prices. In contrast, the home EMS can opt to charge the EV overnight, capitalizing on lower prices, or postpone the charging to the remote working day when excess PV production is available. Another noteworthy aspect is the examination of peaks in residential consumption. While the heuristic benchmark maximizes the use of the BESS charged with PV excess, the home EMS optimally employs a combination of BESS and EV to minimize grid power purchases during peak expensive hours. This optimization is evident not only in the evening but also in the early morning when the EV is charged overnight and discharged during the early morning price peak before PV production begins. Furthermore, during the remote working day, the home EMS predominantly stores PV excess in the EV and does not consider the BESS. This decision is influenced by the redundancy of having two storage units and contributes to the determination of the economic inefficiency of installing a stationary battery, a point that will be further elaborated in the economic performance analysis.
Figure 9 highlights the differences in EV management. The SOC reduction during its absence is attributed to on-road consumption, and it is assumed that the EV is not charged outside the house. The behavior shown in the upper part of the figure reflects the typical approach seen in current EV charging stations, where the EV is charged to its maximum as quickly as possible, without considering the actual daily usage needs of the EV. In contrast, the home EMS not only charges the EV to meet its daily commute requirements and avoid falling below the minimum SOC of 40% but also strategically charges to supply power during peak hours, leveraging bidirectionality.
The management of the BESS, when involved, does not show significant differences between the heuristic benchmark and the home EMS, as shown in Figure 10. However, the figure does confirm the impracticality of utilizing a BESS during a remote working day when the EV is available, keeping the BESS at its minimum SOC to minimize losses associated with self-discharge.

4.2. Case 0—Reference Without Electric Mobility

This case serves as a reference for a smart home environment without electric mobility. Evaluating the techno-economic performance of this simpler design is essential for understanding the impact of increasing system complexity in terms of components and management strategies. Additionally, this case offers a reference point for calculating the costs and revenues associated with the annual energy consumption of various users in the analyzed configurations, facilitating the computation of electric mobility effect in subsequent cases. Obviously, because of the EV absence, KPIs have been computed only for one mode of the predictive EMS, without distinguishing between V1H and V2H.
As it is possible to see in Table A5 and Table A6, the benefits offered by a predictive EMS are null or limited because of the few degrees of freedom available in the reference case. Configurations without BESS lack the ability to leverage any degree of freedom, preventing the storage and utilization of PV energy during more cost-effective periods. This results in no difference between benchmark and EMS solutions. Configurations with BESS do show some economic performance improvements, but these improvements are not enough to justify the investment required for installing stationary BESS. In fact, the comparison between BECs from Table A7 and the considered BESS investment cost around 4000€ highlights the impracticality of installing it.

4.3. Case 1—No Days of Remote Working

In this case study electric mobility emerges as an additional load addressed by the home EMS. In addition, it represents the most demanding case study, considering no days of remote working. Figure 11 presents the economic performance results, showcasing total annual costs and annual relative savings for each strategy (heuristic benchmark, home EMS in V1H and V2H modes) in six different configurations for each user, as specified in Table 1. These results are also summarized in Table A5 and Table A6. Following the structure of Figure 11, Figure 12 illustrates the PV self-consumption achieved in each configuration by each strategy, with Table A8 providing further details on the PV self-consumption results.
Several significant insights can be gleaned from these techno-economic performances. Firstly, when comparing the total annual cost of this case with scenarios without electric mobility, it becomes evident that the additional load introduced by mobility needs is typically more substantial than that associated solely with residential consumption. This significantly increases the overall load that the home must manage. However, EV charging is a programmable load, differing from the non-programmable nature of residential consumption. This flexibility can be harnessed to reduce costs. As shown in Figure 11, the home EMS can achieve noteworthy savings in all analyzed configurations. Even in scenarios without PV production, representing the least flexible conditions, leveraging lower overnight electricity prices for EV charging alone introduces savings of around 20% per year. The introduction of and increase in PV generation further reduce costs and increase savings, reaching over 60% for high consumption users. The additional flexibility provided by bidirectional smart charging enhances economic performance, especially in configurations without BESS, with additional savings of around 5%, enabling the EV to cover residential consumption during price peaks, as discussed in Section 4.1. In configurations with BESS, cost reduction is observed in line with Case 0. However, these improvements are not sufficient to justify the investment required for BESS installation, as shown in Table A7. Focusing on PV self-consumption in Figure 12, the predictive EMS enhances the utilization of locally generated renewable energy compared to current non-heuristic algorithms. Configurations with more degrees of freedom enhance PV self-consumption by storing excess PV energy in the BESS or EV, leveraging bidirectionality. A larger PV system size does not necessarily improve PV self-consumption due to the relative nature of this index. In fact, it is primarily influenced by the alignment between PV and load profiles during production hours, which is strongly influenced by the sizes of the battery and EV too.

4.4. Case 2—1 Day of Remote Working

Remote working has a positive impact on household costs by reducing EV charging needs and enhancing flexibility. The V2H mode can effectively capitalize on this flexibility, leading to greater savings than those observed in Case 1, with close to 10% additional savings in configurations without BESS, as shown in Figure 13. Additionally, high PV penetration nearly eliminates costs over the analyzed period. Once again, in all these scenarios, the installation of BESS is not justified for any user. Comparing Figure 12 and Figure 14, it is possible to observe that PV self-consumption does not significantly vary between the two case studies. However, there is a slight improvement in configurations without BESS. The increased availability of the EV, thanks to the weekly remote working day, enables its charging through PV generation, as discussed in Section 4.1.

4.5. Case 3—2 Days of Remote Working

The conclusions drawn from earlier cases are equally applicable to this scenario. Specifically, configurations with high PV penetration generate revenues over the analyzed period due to the reduced additional demand from electric mobility, and V2H provides additional savings that are pushed to around 15% in configurations without BESS.
This case study aims to evaluate the implications of replacing the Nissan Leaf with a Tesla Model S, which boasts a larger capacity but higher on-road specific consumption, as detailed in Table 3. Examining total costs and relative savings presented in Table A5 and Table A6 reveals that the impact of higher on-road consumption outweighs the advantages of the greater capacity offered by the Tesla. This is notably apparent in users D and E with high PV penetration, where the Nissan Leaf results in revenues over the analyzed period, while switching to the Tesla Model S incurs costs. Nevertheless, the transition between EV models underscores the reliability of the developed methodology, demonstrating savings of up to 80% in V2H mode.
Regarding Case 4, the trends identified in earlier cases persist and are more pronounced. Once again, the installation of a BESS is not justified.

4.6. Ideal Performance Assessment

The scenario involving 2 days of remote working per week has been chosen to assess the home EMS performance under ideal conditions. This ideal case corresponds to an omniscient predictive EMS with null forecast errors. In this setting, the first layer timestep is reduced from 1 h to 15 min, and its forecasts perfectly align with PV and load measurements over a 24 h horizon. Consequently, in this case, the second layer operates with zero net demand forecast error, and the first-layer solution remains optimal. This analysis is crucial for assessing the influence of forecast errors related to PV and residential consumption on the system’s economic performance and quantifying the potential benefits of enhancing forecast accuracy. The comparison between the ideal and real home EMS has been conducted, focusing on both the management of household components and economic performance.
The operations shown in Figure 15 showcase the management of household components for the same days presented in Section 4.1 involving the same user and configuration. Notably, the ideal home EMS maximizes the utilization of previously outlined features, enabling the EV charging during hours with low electricity prices or aligning it with PV generation on remote working days. Furthermore, since no net demand forecast error is incurred, residential consumption peaks can be entirely satisfied using the EV or the BESS without the need to purchase electricity. Even with the ideal home EMS, the BESS is not considered during remote working days.
To quantify the disparity between the ideal and real home EMS total costs, performance indicators have been assessed in terms of absolute value of perfect forecast (AVPF) and relative value of perfect forecast (RVPF). The latter has been normalized by the total operating cost of the benchmark algorithm, as discussed in the relative savings presented in Section 3.1.2. This normalization allows the RVPF to represent the additional savings that would be achieved through a perfect forecast instead of a real one.
A V P F E M S y = T C E M S T C E M S i d
R V P F E M S [ % ] = T C E M S T C E M S i d T C b e n c h
These indicators are summarized in Table 5, and total costs are collected in Table A9 of Appendix B.
As expected, AVPF is more pronounced in configurations where increasing degrees of freedom can be leveraged, such as those involving BESS and the ideal home EMS in V2H mode. A noteworthy observation from this analysis is that regardless of the forecast performance quality, the additional performance between real and ideal home EMS in absolute terms would be at most around 140 €/year and would not provide more than 10% of additional savings with respect to the heuristic benchmark for most configurations. This means that (i) enhancing the accuracy of PV and residential consumption forecasters may not yield a noticeable improvement in performance, and (ii) the proposed EMS is effective in balancing forecast errors with limited economic penalties.

4.7. Impact of EV Usage Forecast Errors

Another critical aspect to consider is the impact of different types of errors in forecasting EV availability and usage throughout the day. This assessment was conducted by simulating various scenarios with systematic errors in the forecast of the EV use in terms of time periods and/or energy consumed in the trop. The home EMS responds to these forecast errors by updating the EV use forecast with the measurement and re-executing the first layer to adjust the optimal setpoints followed by the second layer. The tests were made for the case with user E (with 2 days of remote working,) with a 6 kW PV plant (large) considering a winter and a summer week. Different scenarios are considered, with V1H and V2H modes and with and without the BESS.
Two types of errors in EV use forecasts were evaluated: forecast errors in terms of time periods at home and forecast errors in distance traveled during the trip (i.e., energy consumed). Availability forecast errors of +1 h, (meaning that the EV leaves the house and then returns to the house 1 h after the forecasted value), −1 h, +2 h, and −2 h were considered. These errors were labeled as Avail+1, Avail−1, Avail+2, and Avail−2. Distance (energy consumption) forecast errors were considered alongside availability errors by adding unexpected trips of 20 km during lunchtime on Sunday and 10 km in the morning of one of the remote working days. The test cases with both availability forecast errors and distance forecast errors are labeled as “Avail+1 plus”, “Avail−1 plus”, etc.
The ideal home EMS, as defined in Section 4.6, was employed to assess the impact of EV forecast errors and served as the reference for the relative difference (RD) performance indicator, computed as follows:
R D   [ % ] = T C E M S R e a l T C E M S i d e a l T C E M S i d e a l
The results of the tests are available in Table A10 and Figure 16. Figure 16 illustrates total weekly costs achieved by the benchmark algorithm and the EMS (real and ideal EMS without forecast errors).
As shown in Table A10 and in Figure 16, the real home EMS consistently outperforms the benchmark algorithm (dots), with significantly lower operational costs across all considered EV error scenarios and configurations. The weekly costs remain relatively consistent across the error scenarios once the home EMS mode and configuration are selected. However, in the winter week, the relative difference between real and ideal EMS consistently stays below 20%, while in the summer week, it consistently exceeds 20%, reaching over 40% in certain scenarios. This discrepancy is attributed to higher PV generation in the summer, where an error in the EV forecast leads to reduced local utilization of the abundant renewable generation. Therefore, improving the accuracy of EV usage forecasts can significantly enhance the consistency of home EMS performances.

5. Conclusions and Further Developments

This paper presents a hierarchical EMS designed for the economic dispatch and control of a grid-connected smart home. The first layer of the proposed algorithm addresses the strategic planning problem over the next 24 h, employing a mixed-integer linear program (MILP) formulation to define optimal power setpoints for the dispatchable components, the stationary battery and the electric vehicle. The second layer refines the first layer’s power setpoints using a heuristic rule-based algorithm to balance net demand forecast errors associated with residential consumption and photovoltaic generation. A rolling horizon approach updates the first layer solution every 1 h.
The performance of the home EMS is evaluated against a non-predictive heuristic benchmark algorithm, reflecting the management commonly found in current smart homes. The assessment covers various case studies, incorporating different users, photovoltaic generation penetration, BESS presence, monodirectional or bidirectional EV charging, EV models, and EV weekly commutes. The home EMS proves to be cost-effective, demonstrating yearly cost savings above 20% in all cases and up to 900 €/y in configurations with large PV plants. The economic advantage of the EMS with respect to the benchmark heuristic algorithm remains high also in the case of systematic forecast errors in the use of the EV.
The findings also indicate that under the current Italian residential electricity pricing scheme, installing a stationary BESS is not economically advantageous. However, integrating a smart home within a broader energy ecosystem—such as a renewable energy community—could significantly alter the financial dynamics. In such contexts, alternative pricing schemes and compensation mechanisms for services provided by the BESS (e.g., energy arbitrage, grid support) could enhance economic viability, representing an interesting direction for future research.
Bidirectional chargers can provide additional savings, which increase with the number of weekly remote working days, reaching around 10–15% in configurations without BESS.
The results indicate that the economic gain of the EMS compared to the benchmark heuristic algorithm can be even higher if the accuracy of the forecasts is improved. In this regard, the preliminary tests have shown that improvement of the forecast of the use of the EV has a larger effect, especially in the summer, for plants with large PV plant (leading 40% potential increased revenues) than the forecast of PV and domestic loads (leading to a potential further revenues or cost saving of 10%).
Future developments of the EMS will focus on implementing stochastic methodologies able to mitigate the effect of the EV use forecast accuracy on the solution optimality.

Author Contributions

Conceptualization, E.M. and R.J.; methodology, D.G. and E.M.; software, D.G.; validation R.J.; formal analysis, D.G.; resources, P.T.; writing—original draft preparation, D.G.; writing—review and editing, E.M., G.M. and S.L.; visualization, D.G.; supervision, E.M., G.M., S.L., R.J. and P.T.; project administration, S.L. and P.T.; funding acquisition, G.M., S.L., E.M. and P.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Restrictions apply to the availability of these data. Data were obtained from Edison Spa and are available with the permission of Edison Spa.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

Abbreviations
AVPFabsolute value of perfect forecast
BESSbattery energy storage system
CRFcapital recovery factor
DAMday-ahead market
DRdemand response
EMSenergy management system
EVelectric vehicle
HEMShome energy management system
IGDTinformation-gap decision theory
KPIkey performance indicator
MAPEmean absolute percentage error
MGmicrogrid
MILPmixed-integer linear programming
MPCmodel predictive control
O&Moperation and maintenance
OFobjective function
OPEXoperational expenditure
PUNPrezzo Unico Nazionale
PVphotovoltaic
PZzonal price
RESrenewable energy sources
RDrelative difference
RSrelative savings
RVPFrelative value of perfect forecast
SDPstochastic dynamic programming
SHshrinking horizon
SMAPEsymmetric mean absolute percentage error
SOCstate of charge
SOEstate of energy
TCtotal cost
V1Hunidirectional smart charging
V2Hvehicle-to-home
WMAEweighted mean absolute error
Sets
E S Set of energy storage units
E V Set of electric vehicles
T 1 Set of first layer timesteps
T 2 Set of second layer timesteps
Continuous variables (valid for both first and second layers)
P e s , t c h Average   timestep   charge   power   exchange   [ kW ]   of   the   energy   storage   technology   e s E S   at   time   t T ,   R +
P e s , t d i s c h Average   timestep   discharge   power   exchange   [ kW ]   of   the   energy   storage   technology   e s E S   at   time   t T ,   R +
P e s , t n e t Average   timestep   net   power   exchange   [ kW ]   of   the   energy   storage   technology   e s E S   at   time   t T ,   R +
P e v , t c h Average   timestep   charge   power   exchange   [ kW ]   of   the   electric   vehicle   e v E V   at   time   t T ,   R +
P e v , t d i s c h Average   timestep   discharge   power   exchange   [ kW ]   of   the   electric   vehicle   e v E V   at   time   t T ,   R +
P e v , t n e t Average   timestep   net   power   exchange   [ kW ]   of   the   electric   vehicle   e v E V   at   time   t T ,   R +
S O E e s , t State   of   energy   [ kWh ]   of   the   energy   storage   technology   e s E S   at   the   end   timestep   t T ,   R +
S O E e v , t State   of   energy   [ kWh ]   of   the   electric   vehicle   e v E V   at   the   end   timestep   t T ,   R +
Parameters
A v a i l ¯ e v , t Forecasted   profile   of   availability ,   0 ; 1 ( 1   if   it   is   available ,   0   otherwise ) ,   of   the   electric   vehicle   e v E V ,   t T 1
D e m a n d ¯ e v , t Forecasted   profile   of   mileage   [ km ]   of   the   electric   vehicle   e v E V ,   t T 1
c ¯ t p u r c h Profile of the electricity purchase price [€/kWh]
d t ¯ 1 Timestep duration of the EMS I layer [hours]
d t ¯ 2 Timestep duration of the EMS II layer [hours]
L o a d ¯ t f o r e Forecasted   profile   of   the   average   timestep   residential   consumption   forecast   [ kW ] ,   t T 1
L o a d ¯ t r e a l Real-time   profile   of   the   average   timestep   residential   consumption   forecast   [ kW ] ,   t T 2
P V ¯ t f o r e Forecasted   profile   of   the   average   timestep   PV   generation   forecast   [ kW ] ,   t T 1
P V ¯ t r e a l Real-time   profile   of   the   average   timestep   PV   generation   forecast   [ kW ] ,   t T 2
r ¯ t s e l l Profile of the electricity selling price [€/kWh]
s i z e ¯ e s Size   [ kWh ]   of   the   energy   storage   technology   e s E S
s i z e ¯ e v Size   [ kWh ]   of   the   electric   vehicle   e v E V
S O E ¯ e s m a x Operational   maximum   limit   for   SOE   [ kWh ]   of   the   energy   storage   technology   e s E S
S O E ¯ e s m i n Operational   minimum   limit   for   SOE   [ kWh ]   of   the   energy   storage   technology   e s E S
S O E ¯ e v m a x Operational   maximum   limit   for   SOE   [ kWh ]   of   the   electric   vehicle   e v E V
S O E ¯ e v m i n Operational   minimum   limit   for   SOE   [ kWh ]   of   the   electric   vehicle   e v E V
η ¯ e s c h Charging   efficiency   of   the   energy   storage   technology   e s E S
η ¯ e s d i s c h Discharging   efficiency   of   the   energy   storage   technology   e s E S
η ¯ e v c h Charging   efficiency   of   the   electric   vehicle   e v E V
η ¯ e v d i s c h Discharging   efficiency   of   the   electric   vehicle   e v E V

Appendix A. Case Studies EV Weekly Commute Detail

Table A1. Case 1—Detailed weekly scheduling.
Table A1. Case 1—Detailed weekly scheduling.
ActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivity
Mondayhome07:452508:30work17:302518:15home
Tuesdayhome07:452508:30work17:302518:15home
Wednesdayhome07:452508:30work17:301017:50leisure19:302520:00home
Thursdayhome07:452508:30work17:30517:40shopping18:302319:00home
Fridayhome07:452508:30work16:002516:45home19:001019:10leisure22:001022:10home
Saturdayhome11:004011:45leisure16:004016:45home19:001019:10leisure22:001022:10home
Sundayhome
Table A2. Case 2—Detailed weekly scheduling.
Table A2. Case 2—Detailed weekly scheduling.
ActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivity
Mondayhome
Tuesdayhome07:452508:30work17:302518:15home
Wednesdayhome07:452508:30work17:301017:50leisure19:302520:00home
Thursdayhome07:452508:30work17:30517:40shopping18:302319:00home
Fridayhome07:452508:30work16:002516:45home19:001019:10leisure22:001022:10home
Saturdayhome11:004011:45leisure16:004016:45home19:001019:10leisure22:001022:10home
Sundayhome
Table A3. Case 3—Detailed weekly scheduling.
Table A3. Case 3—Detailed weekly scheduling.
ActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivity
Mondayhome07:452508:30work17:302518:15home
Tuesdayhome
Wednesdayhome07:452508:30work17:301017:50leisure19:302520:00home
Thursdayhome
Fridayhome07:452508:30work16:002516:45home19:001019:10leisure22:001022:10home
Saturdayhome11:004011:45leisure16:004016:45home19:001019:10leisure22:001022:10home
Sundayhome
Table A4. Case 4—Detailed weekly scheduling.
Table A4. Case 4—Detailed weekly scheduling.
ActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivityEnd TimeDistanceStart TimeActivity
Mondayhome
Tuesdayhome07:452508:30work17:302518:15home
Wednesdayhome
Thursdayhome07:452508:30work17:30517:40shopping18:302319:00home
Fridayhome
Saturdayhome11:004011:45leisure16:004016:45home19:001019:10leisure22:001022:10home
Sundayhome

Appendix B. Economic Analysis Detail

Table A5. Total annual operating costs and percentage cost savings (with respect to the benchmark heuristic algorithm) of the tested EMS in the cases of houses with low electricity consumption.
Table A5. Total annual operating costs and percentage cost savings (with respect to the benchmark heuristic algorithm) of the tested EMS in the cases of houses with low electricity consumption.
UserABC
PVNoLowHighNoLowHighNoLowHigh
BESSNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYes
Case 0 T C b e n c h 1372.41372.3−234.0−469.8−912.8−1147.01720.71720.5100.2−154.5−588.6−849.51749.11748.9112.1−122.1−574.7−812.1
T C p r e d 1372.41229.3−234.0−507.7−912.8−1184.51720.71612.1100.2−172.6−588.6−870.81749.11631.5112.1−142.2−574.7−835.2
R S p r e d 0.0%10.4%0.0%8.1%0.0%3.3%0.0%6.3%0.0%11.7%0.0%2.5%0.0%6.7%0.0%16.5%0.0%2.8%
Case 1 T C b e n c h 4246.94240.72531.12235.21837.11529.54588.04587.12856.72556.02153.81844.24615.34615.62871.22570.92165.71856.2
T C V 1 H 3402.53273.51675.01403.2934.1658.03751.63655.51990.61718.81234.7947.13783.13679.32023.01768.01267.31000.2
T C V 2 H 3300.53215.81579.91391.0836.5647.43643.13573.91874.11673.41111.8904.23662.13590.21904.71720.51143.4953.2
R S V 1 H 19.9%22.8%33.8%37.2%49.2%57.0%18.2%20.3%30.3%32.8%42.7%48.6%18.0%20.3%29.5%31.2%41.5%46.1%
R S V 2 H 22.3%24.2%37.6%37.8%54.5%57.7%20.6%22.1%34.4%34.5%48.4%51.0%20.7%22.2%33.7%33.1%47.2%48.6%
Case 2 T C b e n c h 3838.63836.42139.41859.71451.11159.74179.84180.62465.12181.01764.91471.44208.34207.42479.02193.31779.41485.1
T C V 1 H 3183.23051.61448.01175.5709.1433.13532.33432.11761.41492.01009.1722.53563.73454.91787.61531.31036.1767.9
T C V 2 H 3050.72988.31331.71170.3593.5431.73385.83337.11628.61454.7873.1695.63402.43352.61648.51494.3893.0733.7
R S V 1 H 17.1%20.5%32.3%36.8%51.1%62.7%15.5%17.9%28.5%31.6%42.8%50.9%15.3%17.9%27.9%30.2%41.8%48.3%
R S V 2 H 20.5%22.1%37.8%37.1%59.1%62.8%19.0%20.2%33.9%33.3%50.5%52.7%19.2%20.3%33.5%31.9%49.8%50.6%
Case 3
Nissan
Leaf
T C b e n c h 3397.83397.41694.01418.51013.6735.53742.43741.22026.91750.71337.91053.13768.13769.22038.21768.51348.81073.8
T C V 1 H 2843.62712.11044.4787.8305.240.43190.93036.11350.01042.4597.9271.63224.23118.71389.01154.5624.8316.5
T C V 2 H 2706.82643.3902.2774.5155.528.62989.62915.91113.0951.8419.6281.93064.73011.41219.61097.7365.2210.2
R S V 1 H 16.3%20.2%38.3%44.5%69.9%94.5%14.7%18.8%33.4%40.5%55.3%74.2%14.4%17.3%31.9%34.7%53.7%70.5%
R S V 2 H 20.3%22.2%46.7%45.4%84.7%96.1%20.1%22.1%45.1%45.6%68.6%73.2%18.7%20.1%40.2%37.9%72.9%80.4%
Case 3
Tesla
Model S
T C b e n c h 4046.54046.82186.51920.01501.51222.84385.54385.12504.92243.41810.61533.54414.74414.72526.52273.81831.81560.4
T C V 1 H 3372.13243.71534.61287.5789.5528.23721.03626.61849.01610.21087.6816.23752.93649.81881.51658.11120.2872.1
T C V 2 H 3231.83174.81397.91272.7640.7516.03571.33524.91690.31562.3904.9770.73588.63540.51719.91600.0939.0815.2
R S V 1 H 16.7%19.8%29.8%32.9%47.4%56.8%15.2%17.3%26.2%28.2%39.9%46.8%15.0%17.3%25.5%27.1%38.8%44.1%
R S V 2 H 20.1%21.5%36.1%33.7%57.3%57.8%18.6%19.6%32.5%30.4%50.0%49.7%18.7%19.8%31.9%29.6%48.7%47.8%
Case 4 T C b e n c h 2889.42889.61202.1937.7524.0259.33232.63233.41539.21268.4848.7570.93262.43261.51551.11280.2864.2586.5
T C V 1 H 2464.82330.5662.0412.6−69.0−334.72814.02712.7977.6730.5233.6−40.42845.02734.01000.3772.0259.84.0
T C V 2 H 2287.22254.2497.6406.9−241.2−331.82620.92592.9789.6688.933.0−69.72633.22608.3801.9722.548.0−33.5
R S V 1 H 14.7%19.3%44.9%56.0%113.2%229.1%12.9%16.1%36.5%42.4%72.5%107.1%12.8%16.2%35.5%39.7%69.9%99.3%
R S V 2 H 20.8%22.0%58.6%56.6%146.0%227.9%18.9%19.8%48.7%45.7%96.1%112.2%19.3%20.0%48.3%43.6%94.4%105.7%
Table A6. Total annual operating costs and percentage cost savings (with respect to the benchmark heuristic algorithm) of the tested EMS in the cases of houses with high electricity consumption.
Table A6. Total annual operating costs and percentage cost savings (with respect to the benchmark heuristic algorithm) of the tested EMS in the cases of houses with high electricity consumption.
UserDEF
PVNoLowHighNoLowHighNoLowHigh
BESSNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYes
Case 0 T C b e n c h 2103.52103.3−303.9−588.0−978.3−1266.62146.22146.0−235.3−516.1−918.0−1200.02545.22545.024.6−229.3−668.0−927.4
T C p r e d 2103.51926.2−303.9−635.5−978.3−1309.72146.22000.9−235.3−547.1−918.0−1228.92545.22426.624.6−260.8−668.0−956.6
R S p r e d 0.0%8.4%0.0%8.1%0.0%3.4%0.0%6.8%0.0%6.0%0.0%2.4%0.0%4.7%0.0%13.7%0.0%3.1%
Case 1 T C b e n c h 4971.44970.22443.02144.71753.71451.75008.05006.02514.02202.91823.51507.75405.45406.12775.02488.12072.31780.7
T C V 1 H 4134.33972.91554.51228.6817.4488.64178.14051.81625.31318.4881.7572.04577.94474.21875.81587.51120.1824.6
T C V 2 H 3969.93861.71391.71176.0651.8436.54021.73934.31469.31254.8719.8506.44437.44355.41729.81508.9969.6747.6
R S V 1 H 16.8%20.1%36.4%42.7%53.4%66.3%16.6%19.1%35.4%40.2%51.6%62.1%15.3%17.2%32.4%36.2%45.9%53.7%
R S V 2 H 20.1%22.3%43.0%45.2%62.8%69.9%19.7%21.4%41.6%43.0%60.5%66.4%17.9%19.4%37.7%39.4%53.2%58.0%
Case 2 T C b e n c h 4560.54563.32055.71760.01371.21072.94600.54599.72125.51816.51436.01125.45000.75002.32384.52106.11684.51399.3
T C V 1 H 3915.13750.71327.1999.0593.1262.33958.93827.11393.11086.5652.7339.44358.64251.31644.31354.8890.3593.0
T C V 2 H 3699.63620.41126.9941.8391.5206.23756.03693.91211.71030.0469.6288.34156.14097.81473.81286.7722.4533.4
R S V 1 H 14.2%17.8%35.4%43.2%56.7%75.6%13.9%16.8%34.5%40.2%54.6%69.8%12.8%15.0%31.0%35.7%47.1%57.6%
R S V 2 H 18.9%20.7%45.2%46.5%71.5%80.8%18.4%19.7%43.0%43.3%67.3%74.4%16.9%18.1%38.2%38.9%57.1%61.9%
Case 3
Nissan
Leaf
T C b e n c h 4125.34124.51616.61337.0937.4655.24165.14164.41693.51395.01009.2706.54562.44563.51949.81688.81254.6989.0
T C V 1 H 3575.43411.2923.4606.2192.3−133.63619.23492.1986.2693.3247.3−51.64016.33834.91245.6972.3493.6208.4
T C V 2 H 3353.63273.8624.3458.9−63.9−211.93422.73358.4757.3613.49.0−133.43725.23634.7922.9740.0268.2117.7
R S V 1 H 13.3%17.3%42.9%54.7%79.5%120.4%13.1%16.1%41.8%50.3%75.5%107.3%12.0%16.0%36.1%42.4%60.7%78.9%
R S V 2 H 18.7%20.6%61.4%65.7%106.8%132.3%17.8%19.4%55.3%56.0%99.1%118.9%18.4%20.4%52.7%56.2%78.6%88.1%
Case 3
Tesla
Model S
T C b e n c h 4767.44768.82112.71816.61434.61133.04806.44806.32169.91877.31484.31184.65205.05205.02424.72157.31731.51461.9
T C V 1 H 4104.33944.01410.41097.7673.2352.84148.44023.81473.51187.2729.7431.64548.24445.31736.51466.8975.9695.2
T C V 2 H 3878.63804.91163.01018.0417.5272.13947.73890.11248.91104.9494.8350.64331.94275.61519.71372.3751.4601.6
R S V 1 H 13.9%17.3%33.2%39.6%53.1%68.9%13.7%16.3%32.1%36.8%50.8%63.6%12.6%14.6%28.4%32.0%43.6%52.4%
R S V 2 H 18.6%20.2%45.0%44.0%70.9%76.0%17.9%19.1%42.4%41.1%66.7%70.4%16.8%17.9%37.3%36.4%56.6%58.8%
Case 4 T C b e n c h 3615.53617.41131.0847.9452.6165.73655.43655.31198.6906.0515.3220.14052.94053.01459.91193.4766.0491.3
T C V 1 H 3196.43028.9553.0233.5−173.7−499.23240.33106.3613.0319.5−120.6−421.23640.33530.8861.6593.3118.8−161.8
T C V 2 H 2913.62867.4259.9153.9−472.8−578.12980.92948.6350.9252.4−386.1−482.53361.73328.0613.3507.6−129.7−236.2
R S V 1 H 11.6%16.3%51.1%72.5%138.4%401.2%11.4%15.0%48.9%64.7%123.4%291.4%10.2%12.9%41.0%50.3%84.5%132.9%
R S V 2 H 19.4%20.7%77.0%81.9%204.5%448.8%18.5%19.3%70.7%72.1%174.9%319.2%17.1%17.9%58.0%57.5%116.9%148.1%
Table A7. Break-even costs of adding a stationary battery of the tested EMS in V1H and V2H modes.
Table A7. Break-even costs of adding a stationary battery of the tested EMS in V1H and V2H modes.
UserABCDEF
PVNoLowHighNoLowHighNoLowHighNoLowHighNoLowHighNoLowHigh
Case 0 B E C p r e d 960.31836.61823.6728.61830.41893.6789.11706.41748.01189.42225.02223.8975.12091.92086.2795.61915.01936.3
Case 1 B E C V 1 H 865.51823.71852.3645.01824.01930.2696.51710.81792.31083.02186.62206.7847.92059.22078.0696.01934.31982.8
B E C V 2 H 568.41267.71268.6464.01346.51393.0482.31235.81276.2726.41447.51444.4586.51439.11431.9550.21482.21489.7
Case 2 B E C V 1 H 883.61828.81851.8672.61808.01922.6730.51720.41799.81103.32201.52219.7884.32057.62101.8719.91942.01995.1
B E C V 2 H 418.81083.21086.1326.71166.91190.9333.71035.11068.7531.21241.71242.8416.81219.21216.5391.41255.21268.2
Case 3
Nissan
Leaf
B E C V 1 H 882.71722.21776.91038.62064.12189.2707.81573.92068.31102.32128.82187.2852.61965.52005.71217.21833.61913.9
B E C V 2 H 426.4856.7851.8494.61081.6924.3357.9818.01040.2535.51109.9993.6431.1965.9956.0607.21227.51010.1
Case 3
Tesla
Model S
B E C V 1 H 862.01658.01753.1633.51602.71821.6691.81498.81664.41076.12098.62149.9836.31921.22000.0690.41810.01883.3
B E C V 2 H 382.2840.5836.3311.4859.2900.3322.5804.7830.5494.8972.7975.0386.6965.9967.6378.2989.21005.3
Case 4 B E C V 1 H 901.21673.51783.3679.91658.11838.8745.01532.01716.71123.92143.82184.4899.01969.02016.7734.51800.11882.3
B E C V 2 H 221.6608.9607.9188.2675.3689.0167.4532.7546.9310.1711.5706.3216.6661.4646.6226.6709.3714.2
Ideal
EMS
B E C V 1 H 882.71722.21776.9649.61694.61850.1707.81573.91696.81102.32128.82187.2852.61965.52005.7708.41833.61913.9
B E C V 2 H 426.4856.7851.8345.9867.9924.3357.9818.0849.7535.5995.5993.6431.1965.9956.0413.91003.51010.1
Table A8. PV self-consumption (SC) of the tested EMS in cases with installed PV.
Table A8. PV self-consumption (SC) of the tested EMS in cases with installed PV.
UserABCDEF
PVLowHighLowHighLowHighLowHighLowHighLowHigh
BESSNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYesNoYes
Case 1 S C b e n c h 29%52%21%37%29%54%21%39%31%55%22%39%27%43%21%34%27%44%21%35%31%48%25%38%
S C V 1 H 36%58%30%46%39%60%32%48%39%60%32%47%36%51%31%43%35%51%31%43%41%56%35%47%
S C V 2 H 39%58%32%45%41%61%34%48%41%60%34%48%39%52%33%44%38%52%33%44%43%57%38%48%
Case 2 S C b e n c h 28%51%20%37%28%52%20%38%30%54%22%38%26%43%21%34%26%43%21%34%31%47%25%37%
S C V 1 H 36%58%29%45%38%60%31%47%39%60%32%47%35%50%30%42%35%50%31%42%40%55%35%46%
S C V 2 H 41%57%33%44%43%60%35%47%44%60%35%47%41%52%35%44%40%52%35%43%45%56%38%47%
Case 3
Nissan
Leaf
S C b e n c h 29%52%20%37%28%52%20%37%30%53%22%38%27%43%21%33%27%43%21%34%31%47%25%37%
S C V 1 H 45%64%35%50%47%66%37%51%47%66%37%51%41%56%35%46%42%56%35%47%46%60%39%50%
S C V 2 H 51%64%41%49%55%68%43%52%54%66%44%53%50%59%41%48%49%58%42%48%53%62%44%51%
Case 3
Tesla
Model S
S C b e n c h 40%62%28%44%41%62%29%45%42%62%30%45%35%50%27%39%35%51%28%40%40%55%31%43%
S C V 1 H 49%67%38%53%51%69%41%55%51%68%41%54%44%58%37%48%45%58%38%49%49%62%42%52%
S C V 2 H 54%67%43%52%57%69%46%55%56%69%46%55%52%60%44%50%51%60%44%50%55%63%47%53%
Case 4 S C b e n c h 28%50%19%35%27%50%20%36%29%52%21%37%26%42%20%33%26%42%20%33%30%46%24%36%
S C V 1 H 44%62%34%48%46%64%36%50%46%64%36%49%40%54%33%44%40%54%34%45%45%58%38%48%
S C V 2 H 51%61%40%47%55%64%43%49%55%64%43%49%50%56%41%47%49%56%41%46%53%59%44%49%
Table A9. Total annual operating cost of the benchmark algorithm and real and ideal EMS in V1H and V2H for the ideal performance assessment of Case 2.
Table A9. Total annual operating cost of the benchmark algorithm and real and ideal EMS in V1H and V2H for the ideal performance assessment of Case 2.
UserPVBESS T C b e n c h T C V 1 H T C V 1 H i d T C V 2 H T C V 2 H i d
ANoNo3397.82843.62842.82706.82684.4
Yes3397.42712.12690.12643.32616.2
LowNo1694.01044.41028.3902.2856.7
Yes1418.5787.8740.3774.5714.2
HighNo1013.6305.2288.4155.5105.7
Yes735.540.4−13.928.6−39.4
BNoNo3742.43192.63190.93047.52989.6
Yes3741.23095.83036.12995.92915.9
LowNo2026.91356.01350.01185.41113.0
Yes1750.71103.41042.41056.0951.8
HighNo1337.9602.4597.9419.6344.1
Yes1053.1326.7271.6281.9181.2
CNoNo3768.13224.23220.33064.73003.1
Yes3769.23118.73068.83011.42934.7
LowNo2038.21389.01376.41219.61139.5
Yes1768.51154.51087.51097.7990.2
HighNo1348.8635.5624.8451.9365.2
Yes1073.8382.6316.5325.3210.2
DNoNo4125.33575.43574.63353.63331.5
Yes4124.53411.23391.23273.83246.0
LowNo1616.6923.4909.3675.4624.3
Yes1337.0606.2555.3527.0458.9
HighNo937.4192.3177.1−63.9−119.2
Yes655.2−133.6−187.6−211.9−286.7
ENoNo4165.13619.23617.13422.73356.7
Yes4164.43492.13424.43358.43270.8
LowNo1693.5986.2980.4757.3665.2
Yes1395.0693.3614.8613.4492.6
HighNo1009.2247.3241.09.0−86.7
Yes706.5−51.6−132.6−133.4−259.4
FNoNo4562.44019.14016.33809.03725.2
Yes4563.53913.63834.93747.33634.7
LowNo1949.81245.61234.41029.5922.9
Yes1688.8972.3885.3880.0740.0
HighNo1254.6493.6484.1268.2165.3
Yes989.0208.4126.2117.7−18.6
Table A10. Total weekly operating costs of the tested EMS during a winter and summer week of user E, equipped with a 6 kW PV field, for different EV forecast error scenarios.
Table A10. Total weekly operating costs of the tested EMS during a winter and summer week of user E, equipped with a 6 kW PV field, for different EV forecast error scenarios.
SeasonConfiguration NoneAvail−2Avail−1Avail+1Avail+2Avail−2 PlusAvail−1 PlusAvail+1 PlusAvail+2 Plus
WinterNO BESS T C b e n c h 37.8237.6837.9237.3736.5740.0040.3739.5638.60
T C V 1 H r e a l 27.5627.7627.5727.5727.3930.1629.9729.9629.74
T C V 1 H i d e a l 27.8528.5528.3727.4126.7130.1029.9329.0528.66
T C V 2 H r e a l 23.8023.5523.6823.8023.8226.9427.0527.1927.18
T C V 2 H i d e a l 21.3321.6421.5421.0820.9025.4625.4124.8824.47
R D V 1 H −1%−3%−3%1%3%0%0%3%4%
R D V 2 H 12%9%10%13%14%6%6%9%11%
YES BESS T C b e n c h 33.3033.0933.3432.7431.8435.4435.6934.9733.94
T C V 1 H r e a l 23.6523.9823.7323.6023.4326.5126.2626.1125.88
T C V 1 H i d e a l 22.6523.3223.1522.2121.5424.9024.7323.8523.36
T C V 2 H r e a l 20.8720.9821.1220.9821.3024.0124.1624.1324.44
T C V 2 H i d e a l 18.9619.4619.3618.6418.2022.3622.2621.5221.00
R D V 1 H 4%3%3%6%9%6%6%9%11%
R D V 2 H 10%8%9%13%17%7%9%12%16%
SummerNO BESS T C b e n c h −0.83−1.60−0.12−2.41−4.681.563.040.75−1.52
T C V 1 H r e a l −25.13−24.58−24.43−25.96−26.49−21.53−21.47−23.17−23.81
T C V 1 H i d e a l −35.27−31.69−32.34−37.31−38.98−28.42−29.58−33.81−36.18
T C V 2 H r e a l −29.12−28.87−28.35−29.94−30.59−25.45−24.94−26.52−27.17
T C V 2 H i d e a l −38.81−36.96−36.78−40.85−43.54−33.61−33.92−37.67−40.58
R D V 1 H 29%22%24%30%32%24%27%31%34%
R D V 2 H 25%22%23%27%30%24%26%30%33%
YES BESS T C b e n c h −9.18−9.83−9.38−10.90−13.04−7.04−6.59−8.12−10.25
T C V 1 H r e a l −33.75−33.01−32.96−34.57−35.12−30.28−30.41−32.04−32.59
T C V 1 H i d e a l −45.44−41.57−42.28−46.95−48.85−38.33−39.48−43.50−46.26
T C V 2 H r e a l −28.30−28.65−27.12−29.15−30.05−25.73−23.77−25.69−26.56
T C V 2 H i d e a l −45.89−42.95−42.97−47.41−50.14−39.69−40.06−44.07−47.33
R D V 1 H 26%21%22%26%28%21%23%26%30%
R D V 2 H 38%33%37%39%40%35%41%42%44%

References

  1. European Commission EU Solar Energy Strategy. Available online: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=COM%3A2022%3A221%3AFIN&qid=1653034500503 (accessed on 25 September 2023).
  2. SolarPower Europe Annual Rooftop and Utility Scale Installations in the EU. Available online: https://www.solarpowereurope.org/advocacy/solar-saves/fact-figures/annual-rooftop-and-utility-scale-installations-in-the-eu (accessed on 21 November 2023).
  3. European Automobile Manufacturers’ Association ACEA EU New Car Registrations June 2023. Available online: https://www.acea.auto/pc-registrations/new-car-registrations-17-8-in-june-battery-electric-15-1-market-share/ (accessed on 25 September 2023).
  4. European Commission Smart Grids and Meters. Available online: https://energy.ec.europa.eu/topics/markets-and-consumers/smart-grids-and-meters_en (accessed on 14 November 2023).
  5. European Commission EU Strategy on Energy System Integration. Available online: https://energy.ec.europa.eu/topics/energy-systems-integration/eu-strategy-energy-system-integration_en (accessed on 14 November 2023).
  6. Ministero dell’Ambiente e della Sicurezza Energetica. Piano Nazionale Integrato per l’Energia e per Il Clima—2023; Ministero dell’Ambiente e della Sicurezza: Rome, Italy, 2023. [Google Scholar]
  7. Ministero dello Sviluppo Economico; Ministero dell’Ambiente e della Tutela del Territorio e del Mare; Ministero delle Infrastrutture e dei Trasporti. Piano Nazionale Integrato per l’Energia e per Il Clima; Rome, Italy. 2019. Available online: https://energy.ec.europa.eu/system/files/2020-01/it_final_necp_main_it_0.pdf (accessed on 16 February 2025).
  8. Beaudin, M.; Zareipour, H. Home Energy Management Systems: A Review of Modelling and Complexity. Renew. Sustain. Energy Rev. 2015, 45, 318–335. [Google Scholar] [CrossRef]
  9. Battula, A.R.; Vuddanti, S.; Salkuti, S.R. Review of Energy Management System Approaches in Microgrids. Energies 2021, 14, 5459. [Google Scholar] [CrossRef]
  10. Wu, X.; Hu, X.; Yin, X.; Moura, S.J. Stochastic Optimal Energy Management of Smart Home with PEV Energy Storage. IEEE Trans. Smart Grid 2018, 9, 2065–2075. [Google Scholar] [CrossRef]
  11. Wu, X.; Hu, X.; Moura, S.; Yin, X.; Pickert, V. Stochastic Control of Smart Home Energy Management with Plug-in Electric Vehicle Battery Energy Storage and Photovoltaic Array. J. Power Sources 2016, 333, 203–212. [Google Scholar] [CrossRef]
  12. Shin, M.; Choi, D.-H.; Kim, J. Cooperative Management for PV/ESS-Enabled Electric Vehicle Charging Stations: A Multiagent Deep Reinforcement Learning Approach. IEEE Trans. Ind. Inform. 2020, 16, 3493–3503. [Google Scholar] [CrossRef]
  13. Wi, Y.-M.; Lee, J.-U.; Joo, S.-K. Electric Vehicle Charging Method for Smart Homes/Buildings with a Photovoltaic System. IEEE Trans. Consum. Electron. 2013, 59, 323–328. [Google Scholar] [CrossRef]
  14. Erdinc, O. Economic Impacts of Small-Scale Own Generating and Storage Units, and Electric Vehicles under Different Demand Response Strategies for Smart Households. Appl. Energy 2014, 126, 142–150. [Google Scholar] [CrossRef]
  15. Paterakis, N.G.; Erdinç, O.; Bakirtzis, A.G.; Catalão, J.P.S. Optimal Household Appliances Scheduling Under Day-Ahead Pricing and Load-Shaping Demand Response Strategies. IEEE Trans. Ind. Inf. 2015, 11, 1509–1519. [Google Scholar] [CrossRef]
  16. Tostado-Véliz, M.; León-Japa, R.S.; Jurado, F. Optimal Electrification of Off-Grid Smart Homes Considering Flexible Demand and Vehicle-to-Home Capabilities. Appl. Energy 2021, 298, 117184. [Google Scholar] [CrossRef]
  17. Paterakis, N.G.; Pappi, I.N.; Catalão, J.P.S.; Erdinc, O. Optimal Operation of Smart Houses by a Real-Time Rolling Horizon Algorithm. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 16 July 2016; pp. 1–5. [Google Scholar]
  18. Erdinc, O.; Paterakis, N.G.; Pappi, I.N.; Bakirtzis, A.G.; Catalão, J.P.S. A New Perspective for Sizing of Distributed Generation and Energy Storage for Smart Households under Demand Response. Appl. Energy 2015, 143, 26–37. [Google Scholar] [CrossRef]
  19. Pilotti, L.; Moretti, L.; Martelli, E.; Manzolini, G. Optimal E-Fleet Charging Station Design with V2G Capability. Sustain. Energy Grids Netw. 2023, 36, 101220. [Google Scholar] [CrossRef]
  20. Tostado-Véliz, M.; Gurung, S.; Jurado, F. Efficient Solution of Many-Objective Home Energy Management Systems. Int. J. Electr. Power Energy Syst. 2022, 136, 107666. [Google Scholar] [CrossRef]
  21. Tostado-Véliz, M.; Hasanien, H.M.; Kamel, S.; Turky, R.A.; Jurado, F.; Elkadeem, M.R. Multiobjective Home Energy Management Systems in Nearly-Zero Energy Buildings under Uncertainties Considering Vehicle-to-Home: A Novel Lexicographic-Based Stochastic-Information Gap Decision Theory Approach. Electr. Power Syst. Res. 2023, 214, 108946. [Google Scholar] [CrossRef]
  22. Zhang, D.; Evangelisti, S.; Lettieri, P.; Papageorgiou, L.G. Economic and Environmental Scheduling of Smart Homes with Microgrid: DER Operation and Electrical Tasks. Energy Convers. Manag. 2016, 110, 113–124. [Google Scholar] [CrossRef]
  23. Erdinç, F.G. Rolling Horizon Optimization Based Real-Time Energy Management of a Residential Neighborhood Considering PV and ESS Usage Fairness. Appl. Energy 2023, 344, 121275. [Google Scholar] [CrossRef]
  24. Thomas, D.; Deblecker, O.; Ioakimidis, C.S. Optimal Operation of an Energy Management System for a Grid-Connected Smart Building Considering Photovoltaics’ Uncertainty and Stochastic Electric Vehicles’ Driving Schedule. Appl. Energy 2018, 210, 1188–1206. [Google Scholar] [CrossRef]
  25. Meng, L.; Sanseverino, E.R.; Luna, A.; Dragicevic, T.; Vasquez, J.C.; Guerrero, J.M. Microgrid Supervisory Controllers and Energy Management Systems: A Literature Review. Renew. Sustain. Energy Rev. 2016, 60, 1263–1273. [Google Scholar] [CrossRef]
  26. Moretti, L.; Polimeni, S.; Meraldi, L.; Raboni, P.; Leva, S.; Manzolini, G. Assessing the Impact of a Two-Layer Predictive Dispatch Algorithm on Design and Operation of off-Grid Hybrid Microgrids. Renew. Energy 2019, 143, 1439–1453. [Google Scholar] [CrossRef]
  27. Esmaeel Nezhad, A.; Rahimnejad, A.; Nardelli, P.H.J.; Gadsden, S.A.; Sahoo, S.; Ghanavati, F. A Shrinking Horizon Model Predictive Controller for Daily Scheduling of Home Energy Management Systems. IEEE Access 2022, 10, 29716–29730. [Google Scholar] [CrossRef]
  28. Jiang, Q.; Xue, M.; Geng, G. Energy Management of Microgrid in Grid-Connected and Stand-Alone Modes. IEEE Trans. Power Syst. 2013, 28, 3380–3389. [Google Scholar] [CrossRef]
  29. Fusco, A.; Gioffré, D.; Leva, S.; Manzolini, G.; Martelli, E.; Moretti, L. Predictive Energy Management System for a PV-BESS System Bidding on Day-Ahead and Intra-Day Electricity Markets. In Proceedings of the 2023 IEEE Belgrade PowerTech, Belgrade, Serbia, 25–29 June 2023; pp. 1–6. [Google Scholar]
  30. Shapiro, A. On Complexity of Multistage Stochastic Programs. Oper. Res. Lett. 2006, 34, 1–8. [Google Scholar] [CrossRef]
  31. Kim, M.; Park, T.; Jeong, J.; Kim, H. Stochastic Optimization of Home Energy Management System Using Clustered Quantile Scenario Reduction. Appl. Energy 2023, 349, 121555. [Google Scholar] [CrossRef]
  32. Castelli, A.F.; Moretti, L.; Manzolini, G.; Martelli, E. Robust Optimization of Seasonal, Day-Ahead and Real Time Operation of Aggregated Energy Systems. Int. J. Electr. Power Energy Syst. 2023, 152, 109190. [Google Scholar] [CrossRef]
  33. Moretti, L.; Martelli, E.; Manzolini, G. An Efficient Robust Optimization Model for the Unit Commitment and Dispatch of Multi-Energy Systems and Microgrids. Appl. Energy 2020, 261, 113859. [Google Scholar] [CrossRef]
  34. Gestore Servizi Energetici (GSE). Ritiro Dedicato; GSE: Roma, Italy, 2023; Available online: https://www.gse.it/servizi-per-te/fotovoltaico/ritiro-dedicato (accessed on 12 October 2023).
  35. Gestore Mercati Energetici (GME). Vademecum Della Borsa Elettrica; GME: Roma, Italy, 2009. [Google Scholar]
  36. Imani, M.H.; Bompard, E.; Colella, P.; Huang, T. Forecasting Electricity Price in Different Time Horizons: An Application to the Italian Electricity Market. IEEE Trans. Ind. Appl. 2021, 57, 5726–5736. [Google Scholar] [CrossRef]
  37. Gestore Mercati Energetici (GME). Statistiche; GME: Roma, Italy, 2023; Available online: https://www.mercatoelettrico.org/It/download/DatiStorici.aspx (accessed on 23 October 2023).
  38. Melhem, F.Y.; Grunder, O.; Hammoudan, Z.; Moubayed, N. Energy Management in Electrical Smart Grid Environment Using Robust Optimization Algorithm. IEEE Trans. Ind. Appl. 2018, 54, 2714–2726. [Google Scholar] [CrossRef]
  39. Boynuegri, A.R.; Yagcitekin, B.; Baysal, M.; Karakas, A.; Uzunoglu, M. Energy Management Algorithm for Smart Home with Renewable Energy Sources. In Proceedings of the International Conference on Power Engineering, Energy and Electrical Drives, Istanbul, Turkey, 13–17 December 2013; pp. 1753–1758. [Google Scholar]
  40. Bynum, M.L.; Hackebeil, G.A.; Hart, W.E.; Laird, C.D.; Nicholson, B.L.; Siirola, J.D.; Watson, J.-P.; Woodruff, D.L. Pyomo—Optimization Modeling in Python, 3rd ed.; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2021; Volume 67. [Google Scholar]
  41. Hart, W.; Watson, J.-P.; Woodruff, D.; Watson, J.-P. Pyomo: Modeling and Solving Mathematical Programs in Python. Math. Program. Comput. 2011, 3, 219–260. [Google Scholar] [CrossRef]
  42. The Leader in Decision Intelligence Technology-Gurobi Optimization. Gurobi Optimizer Reference Manual; The Leader in Decision Intelligence Technology-Gurobi Optimization: Beaverton, OR, USA, 2021. [Google Scholar]
  43. Gestore dei Servizi Energetici (GSE). Rapporto Statistico—Solare Fotovoltaico 2022; GSE: Roma, Italy, 2023. [Google Scholar]
  44. Niu, S.; Zhao, Q.; Chen, H.; Niu, S.; Jian, L. Noncooperative Metal Object Detection Using Pole-to-Pole EM Distribution Characteristics for Wireless EV Charger Employing DD Coils. IEEE Trans. Ind. Electron. 2024, 71, 6335–6344. [Google Scholar] [CrossRef]
Figure 1. Schematic representation of a smart home integrating an electric vehicle, battery storage, rooftop PV, and household appliances.
Figure 1. Schematic representation of a smart home integrating an electric vehicle, battery storage, rooftop PV, and household appliances.
Energies 18 01774 g001
Figure 2. Structure of the EMS.
Figure 2. Structure of the EMS.
Energies 18 01774 g002
Figure 3. Boxplot of the day-ahead market clearing price from 28 January 2022 until 28 January 2023.
Figure 3. Boxplot of the day-ahead market clearing price from 28 January 2022 until 28 January 2023.
Energies 18 01774 g003
Figure 4. Second layer heuristic strategy block-flow scheme.
Figure 4. Second layer heuristic strategy block-flow scheme.
Energies 18 01774 g004
Figure 5. Block-flow diagram of the benchmark algorithm.
Figure 5. Block-flow diagram of the benchmark algorithm.
Energies 18 01774 g005
Figure 6. PV forecast WMAE and SMAPE.
Figure 6. PV forecast WMAE and SMAPE.
Energies 18 01774 g006
Figure 7. Residential consumption forecast WMAE and SMAPE. Each colored line corresponds to a user name, following the nomenclature presented in Table 2.
Figure 7. Residential consumption forecast WMAE and SMAPE. Each colored line corresponds to a user name, following the nomenclature presented in Table 2.
Energies 18 01774 g007
Figure 8. Comparison between heuristic and predictive operations—power balance.
Figure 8. Comparison between heuristic and predictive operations—power balance.
Energies 18 01774 g008
Figure 9. Comparison between heuristic and predictive operations—EV management.
Figure 9. Comparison between heuristic and predictive operations—EV management.
Energies 18 01774 g009
Figure 10. Comparison between heuristic and predictive operations—BESS management.
Figure 10. Comparison between heuristic and predictive operations—BESS management.
Energies 18 01774 g010
Figure 11. Case 1 economic performances.
Figure 11. Case 1 economic performances.
Energies 18 01774 g011
Figure 12. Case 1 PV self-consumption.
Figure 12. Case 1 PV self-consumption.
Energies 18 01774 g012
Figure 13. Case 2 economic performances.
Figure 13. Case 2 economic performances.
Energies 18 01774 g013
Figure 14. Case 2 PV self-consumption.
Figure 14. Case 2 PV self-consumption.
Energies 18 01774 g014
Figure 15. Home EMS ideal predictive operations.
Figure 15. Home EMS ideal predictive operations.
Energies 18 01774 g015
Figure 16. Total weekly costs of benchmark algorithm and home EMS in V1H and V2H modes under various EV errors scenarios for winter and summer weeks.
Figure 16. Total weekly costs of benchmark algorithm and home EMS in V1H and V2H modes under various EV errors scenarios for winter and summer weeks.
Energies 18 01774 g016
Table 1. Analyzed configurations according to the user’s annual energy consumption.
Table 1. Analyzed configurations according to the user’s annual energy consumption.
User<3 MWh/y>3 MWh/y
PV sizeNo PV = 0 kWLow PV = 3 kWHigh PV = 4.5 kWNo PV = 0 kWLow PV = 4.5 kWHigh PV = 6 kW
BESSNoYesNoYesNoYesNoYesNoYesNoYes
EVV1HV2HV1HV2HV1HV2HV1HV2HV1HV2HV1HV2HV1HV2HV1HV2HV1HV2HV1HV2HV1HV2HV1HV2H
Table 2. Users’ characterization and grouping.
Table 2. Users’ characterization and grouping.
UserAnnual Energy
Consumption [MWh/y]
WMAE [-]SMAPE [%]
Low
consumption
A2.230.3228.5%
B2.550.7573.2%
C2.630.652.3%
High
consumption
D3.430.2219.4%
E3.560.6555.7%
F3.850.6562.6%
Table 3. Techno-economic parameters.
Table 3. Techno-economic parameters.
BatteryNissan LeafTesla Model S
s i z e ¯ i 5 kWh40 kWh100 kWh
On-road specific consumption-0.200 kWh/km0.270 kWh/km
Nominal charge/discharge power4.6 kW7.4 kW7.4 kW
Charge/discharge efficiency94%97%97%
Self-discharge0.05%/h0%/h0%/h
S O C ¯ i m a x 80%90%90%
S O C ¯ i m i n 20%40%40%
Throughput cost30 €/MWh40 €/MWh40 €/MWh
N B E S S (BESS lifetime)10 y--
i (discount rate)8%--
Table 4. EV weekly commute case studies.
Table 4. EV weekly commute case studies.
Yearly Mileage [km]Days of Remote Working Per WeekMondayTuesdayWednesdayThursdayFridaySaturdaySunday
Case 119,9860WWWWWLH
Case 217,3861RWWWWWLH
Case 314,6302WRWWRWWLH
Case 410,5563RWWRWWRWLH
W: working day, RW: remote working day, L: EV used for leisure, H: home (no EV usage).
Table 5. Absolute and relative value of perfect forecast of the home EMS in V1H and V2H modes.
Table 5. Absolute and relative value of perfect forecast of the home EMS in V1H and V2H modes.
UserPVBESS A V P F V 1 H R V P F V 1 H A V P F V 2 H R V P F V 2 H
ANoNo0.80.0%22.40.7%
Yes22.00.6%27.10.8%
LowNo16.21.0%45.52.7%
Yes47.53.3%60.34.3%
HighNo16.71.7%49.84.9%
Yes54.27.4%67.99.2%
BNoNo1.70.0%57.91.5%
Yes59.71.6%80.02.1%
LowNo6.00.3%72.33.6%
Yes61.13.5%104.26.0%
HighNo4.50.3%75.65.6%
Yes55.15.2%100.79.6%
CNoNo3.90.1%61.61.6%
Yes50.01.3%76.72.0%
LowNo12.60.6%80.23.9%
Yes67.03.8%107.56.1%
HighNo10.70.8%86.76.4%
Yes66.16.2%115.110.7%
DNoNo0.80.0%22.10.5%
Yes19.90.5%27.80.7%
LowNo14.10.9%51.13.2%
Yes50.93.8%68.25.1%
HighNo15.21.6%55.45.9%
Yes54.08.2%74.711.4%
ENoNo2.10.1%66.01.6%
Yes67.71.6%87.62.1%
LowNo5.80.3%92.15.4%
Yes78.55.6%120.88.7%
HighNo6.40.6%95.89.5%
Yes81.111.5%125.917.8%
FNoNo2.80.1%83.81.8%
Yes78.71.7%112.62.5%
LowNo11.20.6%106.65.5%
Yes87.05.2%140.08.3%
HighNo9.50.8%102.98.2%
Yes82.28.3%136.313.8%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gioffrè, D.; Manzolini, G.; Leva, S.; Jaboeuf, R.; Tosco, P.; Martelli, E. Quantifying the Economic Advantages of Energy Management Systems for Domestic Prosumers with Electric Vehicles. Energies 2025, 18, 1774. https://doi.org/10.3390/en18071774

AMA Style

Gioffrè D, Manzolini G, Leva S, Jaboeuf R, Tosco P, Martelli E. Quantifying the Economic Advantages of Energy Management Systems for Domestic Prosumers with Electric Vehicles. Energies. 2025; 18(7):1774. https://doi.org/10.3390/en18071774

Chicago/Turabian Style

Gioffrè, Domenico, Giampaolo Manzolini, Sonia Leva, Rémi Jaboeuf, Paolo Tosco, and Emanuele Martelli. 2025. "Quantifying the Economic Advantages of Energy Management Systems for Domestic Prosumers with Electric Vehicles" Energies 18, no. 7: 1774. https://doi.org/10.3390/en18071774

APA Style

Gioffrè, D., Manzolini, G., Leva, S., Jaboeuf, R., Tosco, P., & Martelli, E. (2025). Quantifying the Economic Advantages of Energy Management Systems for Domestic Prosumers with Electric Vehicles. Energies, 18(7), 1774. https://doi.org/10.3390/en18071774

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop