1. Introduction
Recently, social, economic, and environmental factors sustained by government policies have increased interest in and support for the electrification of transportation [
1,
2]. In this context, most major car manufacturers have proposed new electric vehicles (EVs) and plug-in hybrid electric vehicles (PHEVs) that can reduce greenhouse gas emissions by phasing out all combustion vehicles [
3]. Renewable sources affect power grid stability, owing to intermittent production, and by increasing the installed renewable power sources, negative effects will further increase [
4]. Therefore, electricity companies are investing in large amounts of energy storage to stabilize the grid. For example, in Italy, the national electric power transmission society TERNA built an experimental storage plant that is physically distributed throughout the territory, reaching a total of 10 MW [
5]. Currently, the most effective techniques with a reduced impact on the electricity grid are local generation from renewable sources using an energy storage system [
6,
7]. Based on this idea, some countries, such as Italy, encourage photovoltaic installation for residences with the addition of local storage [
8,
9]. It must also be considered that the increase in electric vehicles compared to the past brings a new problem; the high demand for electrical power during grid-to-vehicle (G2V) simultaneous charging can be higher than the power grid’s capability, leading to grid instability [
10,
11,
12,
13,
14]. In [
12], the load-shifting method was indicated as a possible solution to grid overload, owing to power peak shaving and power valley filling. In other words, by distributing power absorption during the day, the grid’s power can be averaged, resulting in a more stable system. A different approach is based on the idea that EVs can also be used for large energy storage systems when the grid is overloaded. When individual vehicles or public and private transport fleets are stopped, batteries can be recharged flexibly or used to feed energy into the grid, thus ensuring better management of electricity demand peaks (load shifting and peak shaving). Based on this concept, vehicle-to-grid (V2G) technology uses a bidirectional charger and actively controls the power of electric vehicles [
15]. Both approaches only solve the problem when EVs are connected to the grid for a long time, for instance, at night or during working hours. In addition to V2G, power exchange can be generalized by introducing vehicle-to-everything (V2X) technology, which locally limits the drawbacks of loads and EVs on the grid [
16].
All these techniques require charging stations for EVs to be intelligent [
17]; that is, in addition to charging a car, they must have software and communication protocols for state estimation and energy-management integration. In this paper, we refer to ISO/IEC 15118, the Open Charge Point Protocol and IEC 61850 for the communication rules between the charging station and the grid for V2G [
18,
19,
20]. We refer to IEC 61851 for the communication system between the charging station and EV [
21]. Other relevant problems, which are not discussed in this work, are related to smart metering and data privacy preservation [
22], packet length definition [
23] and network security [
24]. From a software perspective, energy management has several objectives. Therefore, the supervision logic for the G2V and V2X operations must define the charge/discharge power for each instant of time for the connected EVs. As inputs, it considers the grid status, renewable energy production, and EV parameters, such as the
SoC, maximum charging current, economic conditions, and other parameters. In [
25], an example of a multi-objective optimization method for G2V and V2G was presented. Additional constraints may be minimization of the purchase costs of electricity and calculation of whether to use a renewable source or an accumulation source, maximizing its useful life [
26]. Optimization can also be improved by considering the prediction of energy production from renewable sources, as studied in [
27,
28]. Notably, some already marked charging stations are ready for this type of technology. Among the EV charging solutions equipped with energy management, several companies avoid excessive demand for grid power, offering standalone or energy rationalization systems. The ABB offers an electric vehicle management system (load management). The management of electric vehicles can be carried out according to FIFO logic (first in first out) or equal share [
29], but they plan to launch V2G technology on the market soon. Delta Electronics proposed DeltaGrid EVM [
30], which integrates a storage system from renewable sources (such as photovoltaics) to reduce peaks in electricity demand and prevent overloads from exploiting the existing energy in the infrastructure. The Shell Company provides energy-management solutions for large charging stations [
31]. Stations can integrate storage systems and renewable generation systems, but do not specify how the loads and generators are managed. All these solutions have power limits imposed by the network, and as a result, strategies are being implemented in many countries to stabilize the grid. In Italy, the electricity company TERNA [
32,
33] has issued an important ten-year investment plan for the challenges posed by the EV ecological transition, and in particular for V2G and G2V technologies, which have the opportunity to participate in the dispatching service market as they are completely comparable to archiving systems. In the literature, supervisor methods can be divided into two groups: (i) centralized and (ii) decentralized optimization models. The first approach is better in terms of solution accuracy because of the detailed knowledge of system state variables [
34]. The decentralized approach wins when the system under optimization is distributed over a large geographical area, because of its ability to work with reduced communication between systems [
35].
To the best of the authors’ knowledge, the charging stations in the literature do not distinguish differences among vehicles, because the optimisation typically considers the CO2 emissions and power limits but not the type of a vehicle. Consequently, emergency vehicles (EMVs) (e.g., ambulances, police, and firefighters) must respect the charging order. The scope of this study is to overtake rigid charging-order scheduling and reformulate the energy-management problem by adding priorities to the constraints (e.g., power limits). Each electric vehicle is associated with a different priority, and the vehicles with the highest priority can absorb power up to the limit. Furthermore, the method not only schedules the charging time for each vehicle, but also defines the charging power level and, in the case of a grid overload, the discharging power level. The motivation for this study is based on the idea that by increasing the number of electrical vehicles, the available power decreases, and depending on the hour of the day, the charging time spreads to levels that are not acceptable for the EMVs. This paper proposes a possible solution to this problem. In addition, most scientific work on charging stations focuses on low/medium-power urban charging stations with electric vehicles connected for hours, which are generally directly connected to the grid. This study examined different ultrafast charging stations designed for motorways, where the charging time is critical and the scheduling logic must be carefully considered. The proposed ultrafast charging station (UFCS) integrates local storage and renewable energy sources, which is not common in urban UFCSs.
The contributions of this study can be summarized as follows:
Creation a simulation model of an ultra-fast DC charging station for motorways. The model includes grid loads that are statistically defined from the data provided by TERNA. Moreover, the model simulates different types of charging vehicles, each defined from a set of stochastically generated parameters, such as battery capacitance, SoC, peak power for charging/discharging, arrival time, and priority number;
Implementation of a centralized optimization software, based on a Linear Programming method, to manage the power exchange between the EV sources and the grid;
Development of simulation software to test logic, better described below;
Verification by simulation that the constraints are respected.
It should be noted that the centralized approach for the proposed charging station is not limited, as each UFCS can be seen by the network as a single [
36]. In this study, for modeling, we assumed that the state of the grid is measurable and known to the UFCS. Finally, through a simulation, we verified that the proposed method respects the concepts of peak shaving and valley filling, thus helping the grid despite the considered installed power of the UFCS being 3 MW.
2. Proposed Ultra Fast Charging Station for Motorways
This section reports the proposed UFCS with the rules and modelling used for the simulations. It is conceptually composed of three parts. In the first part, the UFCS is detailed in terms of all the relevant aspects. In the second part, a statement on the optimisation problem for UFCS supervision is introduced. The simulation structure is reported. The power flow supervisor proposed for the ultrafast charging station manages vehicles according to the priority assigned to each of them. This implies that EVs are scheduled to charge or discharge, depending on the priority assigned. The highest priority electric vehicles EMVs have confidential contracts, are not usable in the V2X operating mode and are loaded to the maximum allowed power by skipping the queue order. The other loads must respect the queue order defined by the priority and arrival times.
The UFCS topology considered is reported in
Figure 1 [
15]. It is composed of an internal DC voltage bus connected to a renewable photovoltaic power source and uses battery energy storage (BESS) for peak shaving. Finally, the UFCS was connected to the grid. Owing to the presence of power converters for each element of the UFCS and grid connection, the power flow can be independently controlled by the UFCS supervisor. It should be noted that the type of renewable power source does not affect the proposed method and can be integrated with other sources such as wind energy and wave energy. There are similar considerations for local energy storage. The UFCS can also integrate a flywheel or other types of storage to help the grid, without a lack of generality [
37].
The priorities of EVs were calculated according to certain parameters. The most important parameters are the type of contract, desired charging time, and discount on the negotiated energy price.
The EV priority increases over time to the maximum priority level associated with the class of thr contracts. Because the priorities are partially related to the market and policies, without a lack of generalities, we assume in this study that the priorities are externally assigned (randomly generated), limiting the study’s contribution to the methods to manage them for the UFCS.
Moving to a higher level, we can model the UFCS by considering grid integration and communication protocols, as shown in
Figure 2. This scheme starts from the idea proposed in [
38], but differs in the introduction of the priorities and the integration of the BESS and renewable energy at the UFCS nanogrid level. The EV service provider captures the user agreement, scheduled arrival time, and departure time and provides priority level
and the minimum allowed
during V2X for the
ith EV. The remaining data required to clearly define the problem are acquired directly from the EV through the communication system of the EV power equipment. The vehicle parameters are the
SoC, the maximum allowed power for charging
, and the maximum discharging power
. These parameters are generally runtime-estimated onboard the EV, ensuring the safety of the charging or discharging operations [
39] in the case of variations in cell parameters [
40], or limiting power in the case of bad current split among cells in parallel [
41]. Finally, the collected data were sent to the UFCS power flow supervisor.
Similar parameters are acquired from the BESS, except that the priority automatically changes depending on the type of connected EV. When one or more EMVs are refilling, we prefer to use the energy stored in the BESS to help the grid and reduce the charging time. This rule can be expressed as the switching function of (
1), where
is the number of refilling EMVs and
are the defined priorities, respectively, in the case of one or more charging EMVs or no emergency vehicles at the UFCS. This position reduces the EVs contribution to V2X when no EMVs are connected.
Figure 3 shows the power limits for the BESS and EVs as a function of the
SoC. Each system can be charged or discharged at a power level depending on the vehicle. For simplicity, the power value was assumed to be constant. The first in
Figure 3 is for the G2V operating mode. EVs can be ideally charged at a fixed power until the
SoC reaches 80%; then, the vehicle is disconnected and a new EV can be connected for refilling. A different approach was adopted for the BESS. It is charged to full power only when the
SoC is below the threshold
. The BESS charging power was linearly reduced after that point, assuming a zero value in the case of 80%
SoC. Equation (
2) reports the BESS charging power as function of the
SoC. In the fourth quadrant of
Figure 3, we have two thresholds,
and
b, which are used to decide when to stop the V2X power contribution for the related
or BESS storage. When the
SoC is below this limit, the power contribution is zero; otherwise, it is equal to the maximum allowed by the depicted element.
With the rules defined in the figure, storage cannot be used for the V2X operating mode when SoC is below the assigned trigger level. It should be noted that the limits can be easily extended with different functions by adding other parameters, such as battery temperature, as inputs.
2.1. The Electrical Load Demand Modeling
The load curve
was generated from statistical data provided by TERNA [
42] and is function of the local time (
LT). By writing
LT in terms of step time
, the
can be rewritten as (
3).
The idea is that the shape of the load is repetitive during working days, and its peak value should not exceed 50% of the installed power. Starting from these assumptions, a load curve with time step was sampled first, and then the curve was scaled for the case study.
2.2. Renewable Power Modeling
The simulation model included a photovoltaic (
PV) power source. This choice is credible because
PV is one of the most widely used renewable power sources in southern Italy, where the UFCS case study was installed [
43]. The integration of other renewable energy sources does not lack generality. The power capability of a
PV plant is a complex problem that has been extensively investigated by several authors. The maximum power produced depends, in its basic estimate, on the geographical coordinates, in particular on the latitude, the day of the year, the hour, the orientation of the
PV panels, and the size of the plant in terms of the number of installed
PV panels [
44,
45,
46]. Weather forecasts can also be added to the model to predict the maximum extracted power better. The model does not consider
PV shading or other non-idealities that can reduce the maximum power produced. With this assumption, the power depends on the position of the sun, which can be defined using Almanac software and sampled with step time
. In its basic form, the power output is calculated using (
4) [
47].
The
PV power
is proportional to the scalar product of the vector perpendicular to the
PV panel
and the position of the sun
. The constant
includes all constants for the conversion of irradiation into power, as reported in [
47].
2.3. Battery Modeling
For simplicity, the
of battery
ith is calculated using the Coulomb method: first, the stored energy is calculated, and second, the result is obtained by dividing the energy by the battery capacity
[
48]. For the runtime simulation, the forward Euler method was used for energy calculation. Moreover, the battery capacity
is included in the integration constant to estimate the
SoC value directly, as in (
5) [
25].
For simplicity, we assume for the simulations.
2.4. Proposed Linear Programming Optimization Method
The method has two main rules: it does not exceed the available power (
6a), and it never discharges the EMVs (
6b). The available power
is equal to the sum of the grid power capability
and the renewable power
contribution, with
defined in (
6c) as the difference between the installed power
and grid load power
. The element
is the power demand of the
ith
EM vehicle and
refers to the power required for the
ith
EV. The remaining rules were introduced to comply with
EV limits for electric vehicles.
Equation (6) indicates that the problem is linear with limits; for these reasons, the authors adopted a linear optimisation method for the solution, as explained in this subsection. Assuming that variables are functions of k, without a lack of generalities, the dependent variable is not reported hereafter.
The proposed power flow supervisor must know the state of the UFCS, the grid’s available power and renewable power limits to define the power allocated to each storage. For the optimisation problem, we keep the models simple, as is common for this type of application [
25]; this is because for a real UFCS, some inputs are directly measured or provided by an external control, and the uncertainty due to the reduced complexity of the models can be rejected using the measurements. On this basis, we assume that all converters are ideal with a unity efficiency. In this section,
Figure 1 is referred to as the reference for the modelled blocks.
The G2V operating mode plays a major role in the charging stations. All input parameters were considered to be known or estimated using external software, and we assumed positive charging power during the G2V phase.
In
Figure 1,
n indicates the maximum number of storage units connected to the UFCS, including EVs and BESS. The working power of each element is defined by the UFCS supervisor described here, and for this operating mode, each element is defined by the priority number
, positive integers. Note that
plays a key role in defining a strategy. If the priority increases linearly during the charging time, then the scheduling time behaves similarly to that of the FIFO method. A more complex scheduling method can be obtained by changing the maximum priority value assigned to each EV. In this study, for nonemergency vehicles, each EV had an initial priority that increased linearly over time and was limited to 90% of the priority scale. The EMVs had a fixed priority greater than 90%.
The peak allowed power is
positive real numbers, the assumed constant in this work as shown in
Figure 3 and better described in
Section 2. This input defines the maximum charging power and is generally defined by the EV. For a local storage BESS, this parameter is managed by the UFCS supervisor and changes depending on the
SoC. It is zero when the BESS is charged and equal to the maximum charging power when under the threshold, as shown in
Figure 3.
The V2X operating mode occurs when the grid is overcharged, or more specifically, when (6) is . This event occurs when one or more EM vehicles are connected to the UFCS and the total available power from the grid and photovoltaic power is limited. In this case, the local BESS and remaining EVs are used as energy sources according to their capabilities, defined by the vector positive real numbers.
The output is defined by vector , which corresponds to the power provided to the corresponding storage.
The linear programming problem maximizes the power assigned to storage units with higher priority by respecting constraints defined in terms of the maximum power level that can be absorbed by the sources and limits of each storage (7).
(
7a) ensures that the EVs with the highest priority are charged first and have a higher power level. It should be noted that if some elements have a low priority, a possible solution is obtained by assigning the element negative power. This is the key concept assumed in this study, having only one optimization problem for both the G2V and V2X operating modes. (
7b) is (
6a) rewritten for the linear programming optimization problem and introduced to limit the absorbed power to the grid’s capability. The remaining equations, from (
7c) to (
7f), customize the problem for each EV. For EMVs, only positive solutions are accepted according to (
6b) and the battery capability. For normal vehicles and BESS, the limits are defined as shown in
Figure 3 and are better described in
Section 2.
In the end, the proposed method was tested using a custom simulation algorithm developed with a script M-file in MATLAB. It is primarily composed of three sections, as shown in
Figure 4, where
First section: The first section is responsible for generating the statistical distribution of EVs, defining the initial SoC, and related maximum charging/discharging power. This section also defines the grid load profile introduced above. Additional data are related to the PV power production . It should be noted that, with few changes, the simulation can be customized for different rules.
Second section: The second section is the core of simulation software. It was composed of a loop cycle executed at every time step, . At each cycle, first the scheduler Algorithm 1 is executed. It connects a new vehicle in case one or more EVSE are idle, and disconnects refilled vehicles. The scheduler is also in charge of the priorities update and the BESS’ management in terms of priority and refilling power. For the simulation, we assume that arriving vehicles that find all the EVSE of the UFCS busy will go to the next UFCS, so no queues are considered in the case of this study.
The next step is syntetically resumed in the Algorithm 2. It updates the input variables function of the step time as for the photovoltaic power and grid power. It executes the optimization software defined in (7) and calculates the new SoC of storages. At the end, it updates the results.
Third section: The third section is in charge only of the data analysis and plot of the results, as reported in the next section for a case study.
Algorithm 1: Pseudo-code of the scheduler. |
![Energies 16 01213 i001]() |
Algorithm 2: Pseudo-code of the proposed supervisor. |
![Energies 16 01213 i002]() |
For real-time applications, only
Section 2 will be performed, and the results will be used locally to directly control the BESS and EVs charger converter. The execution time is not a critical task for the application, and a few cycles per second are sufficient to ensure a good power balance. The linear formulation of the problem allows the code to be executed on a low-cost microcontroller.
3. Results and Discussion
The proposed supervision logic for the UFCS was numerically tested for one working day in a service area in Salerno, Italy, on the A2 motorway [
49]. Statistical data were provided by ANAS, an Italian motorway observatory. The load curve, hereafter called
, was numerically defined starting from the average data provided by TERNA in 2020 and scaled to the installed power
MW, as defined for the case of study [
42]. The grid load
, which is not under the control of the UFCS, is a 1.2 MW peak. The results showed that the A2 motorway circulated a mean of 39513 vehicles per day. With the hypothesis that, in the future, all vehicles will be electric, and about 0.6% stop at the service area for charging, we can assume a total of 233 refilling vehicles per day [
49]. The second assumption is related to arrival time. We assumed a normal distribution with a mean of 12 a.m. The first two subplots of
Figure 5 report the distribution and related number of EVs per hour with a time step resolution of
min. Third, we do not have a queue; the EVs leave the charging station when all the EVSE is busy. Under these assumptions, only some EVs are charged, and only statistical considerations can be made.
From the UFCS as an additional power source, the UFCS has a 900 kW peak power photovoltaic plant
. The first subplot of
Figure 6 shows the maximum level of power that the UFCS can use,
, and other relevant power used to ensure grid stability. By referring to the
Figure 1 scheme, the UFCS has eight EVSE each with 800 kW peak power. The BESS’ power contribution was limited to 800 kW in the charging mode and 200 kW in discharging mode, and had a storage capacity of 4 MWh. The EVs’ parameters were generated as random numbers in a range similar to that defined by the market. The EVSE power is generated in the range of 400–800 kW, whereas the storage size is in the range of 225–800 kWh. All details of the simulation settings are reported in
Table 1. Furthermore, the BESS is forced to help the grid in the case of the presence of EMVs, resulting in a positive effect in terms of reducing the charging time.
The time step simulation is
min and for each sample; the supervisor acquires the working conditions and defines the storage charging/discharging power. The first subplot of
Figure 6 shows that the proposed method absorbs power that is always less than or equal to
. It is also interesting to verify that the charging and discharging priorities change in different ways. Referring to the first subplot of
Figure 7, the charging priority depends on the contract, which affects the initial priority and time. The introduction of time allows the introduction of a relaxed bond for the arrival time, in contrast to FIFO methods that have the point as a hard constraint. The second subplot of
Figure 7 is related to the discharging priority, and is defined by the contract as before and the
SoC, as defined in
Figure 3.
The
SoC as a function of time is reported in
Figure 8, with a different color for each
SoC level. We assumed red for fully discharged storage, yellow for 50%, and green for charged storage. White indicates that no EV is connected to EVSE. In the figure, the black triangle △ defines the connection time of a new EV. The BESS system was intensively used during the day, owing to the high number of EMVs (61 for the test case) managed by the UFCS. The simulations confirm the importance of the BESS and that its management is critical for improving the grid power quality and user experience in terms of reduced charging time.
Table 2 reports the main statistical data of the proposed method. The results indicate that the optimal charge time is 20 min, which is required to charge a vehicle with an initial
SoC value between 30% to 80%. The worst case takes five times longer for the EMVs to complete the refiling, whereas the average charging time is about three times longer than the best case. Due to the randomly generated fleet EV, the number of stopped vehicles at the UFCS for the day changes each time the simulation is run. For the reported case study, its value was 233 stopped vehicles, with 54% vehicles charged per day. This result also depended on the number of EMVs recharged per day (38 in the case study). Performance can be improved by increasing the installed power, peak renewable power, and the number of EVSE in the UFCS. In this study, the authors have not optimized the UFCS design, focusing research interest only on the supervisory design with assigned operating conditions. Therefore, the proposed simulation software can be conveniently used to optimize the UFCS design with a defined set of input data; however, this capability was not further investigated in this study.
Better performance can be achieved by increasing the installed power, including the renewable power, and increasing the peak charging power. Both new conditions can be easily considered using the proposed method by changing the simulation setting. The centralised formulation is not critical for the UFCS, but imposes a knowledge of the grid power. In a real case,
can be defined as a solution of distributed optimisation methods and passed to the proposed algorithm as an input. In this way, we have the advantages of the two methods: decentralised energy management for the grid, and respect for constraints without delays. Moreover, the UFCS is viewed by the grid as a single load. The simulative formulation of the problem allows the verification of only the formal correctness but not the capability of the system to work with a real UFCS. A formal test implies that all limits must be respected.
Figure 6A clearly indicates that (
7b) is always respected, because the magenta line representing the power absorbed by the UFCS is always in the pink area superior to
. The remaining limits are shown in
Figure 6B, but their graphical check is longer and expensive. The authors numerically verified the limits during the simulation, and this test was passed. It can also be observed that the mathematical correctness of the proposed method does not automatically ensure that it can operate in a real application without any changes. The method depends on inputs, and missing data or noise causes an incorrect response. Future investigations should include the introduction of noise, and a non-ideal communication channel to verify robustness. The introduction of observers can mitigate undesirable effects. The hardware-in-the-loop method is the preferred method for tests close to reality before hardware construction.
For a comparison with the state-of-the-art method, owing to differences between the proposed case of study and other relevant methods in the literature, an indirect comparison approach is adopted. In [
50], the linear programming method with time-varying inequalities was compared in terms of the solution and time convergence for centralised and multi-agent smart systems. The authors showed that both methods provide the exact solution when the inputs are constant, but the multi-agent introduces a bounded tracking error in the opposite case. In addition, in terms of the solution time, centralised and decentralised methods differ. The multiagent solver requires more iteration steps to reach the correct solution, whereas the centralised approach does not suffer from this problem.
In [
51], the smart charging changes the duration management by differently allocating power among vehicles as a function of their state of charge and the desired end-of-charge time. The power is limited to 22 kW and the FIFO approach is adopted. Depending on the EV and the battery size, the typical charging time is between 1.5 and 3 h. This paper does not consider the grid limits as function of the time and does not introduce BESS and renewable energy to help the grid during the day, at the peak of the number of charging vehicles and the grid load. By considering these differences, the FIFO method allows us to use the charging station distribution, as in case of the considered paper, at 100% of its capability; however, the charging time is similar between vehicles.
Ref. [
25] proposes dynamic programming for V2G/G2V and also integrates a renewable power source. The method introduces several charging modes: ULTRA, which is similar to our mode for EMVs, FAST, ECO, and V2G. The main difference between the proposed method and the comparison method is how the different modes are treated, which affects the scheduling order. As shown by the authors, grid limits are always respected, but the V2G vehicles are discharged up to the 50%
SoC level, and require 22 h or more to be refilled. This approach is acceptable for urban charging stations but not for motorways, where users want to stop as little as possible. Moreover, when two or more ULTRA vehicles are connected and zero V2G vehicles are in the grid, the grid power is divided between ULTRA vehicles, thereby increasing the charging time. The work should have a similar performance to the one proposed in this work by adding a BESS with an associated V2G operating mode.
From the above comparison with the state-of-the-art method, we can conclude that the work presented here is comparable in terms of performance with the most recent case studies, but introduces some differences in terms of solution formulation and considered inputs. In particular, the introduction of priorities provides a new degree of freedom that allows the implementation of different logic, as will be required by the energy market.