Hierarchical Distributed Framework for EV Charging Scheduling Using Exchange Problem
Behnam Khaki, Chicheng Chu, Rajit Gadh

TL;DR
This paper introduces a hierarchical distributed framework for electric vehicle charging scheduling that efficiently manages large EV populations, reduces grid impact, and outperforms existing methods in convergence speed and cost reduction.
Contribution
It develops a novel hierarchical distributed EV charging scheduling method based on the exchange problem, improving scalability and efficiency over existing trilayer approaches.
Findings
Reduces convergence time and iteration count by 60%
Successfully scales to large EV populations of over 9000 agents
Decreases charging costs and flattens load profiles without grid upgrades
Abstract
In this paper, a distributed trilayer multi-agent framework is proposed for optimal electric vehicle charging scheduling (EVCS). The framework reduces the negative effects of electric vehicle charging demand on the electrical grids. To solve the scheduling problem, a novel hierarchical distributed EV charging scheduling (HDEVCS) is developed as the \textit{exchange problem}, where the agents are clustered based on their coupling constraints. According to the separability of the agents' objectives and the clusters' coupled constraints, HDEVCS is solved efficiently in a distributed manner by the alternating direction method of multipliers. Comparing to the exiting trilayer methods, HDEVCS reduces the convergence time and the iteration numbers since its structure allows the agents to update their primal optimization variable simultaneously. The performance of HDEVCS is evaluated by…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22| Method | Case Study | Convergence Time (s) | Iterations |
|---|---|---|---|
| HDEVCS | System1 | ||
| System2 | |||
| Hierarchical ADMM [33] | System1 | ||
| System2 | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Hierarchical Distributed Framework for EV Charging Scheduling Using Exchange Problem
Behnam Khaki
Chicheng Chu
Rajit Gadh
Smart Grid Energy Research Center (SMERC), University of California, Los Angeles
44-120 Engr.IV, 420 Westwood Plaza, Los Angeles, CA, USA, 90095
Abstract
In this paper, a distributed trilayer multi-agent framework is proposed for optimal electric vehicle charging scheduling (EVCS). The framework reduces the negative effects of electric vehicle charging demand on the electrical grids. To solve the scheduling problem, a novel hierarchical distributed EV charging scheduling (HDEVCS) is developed as the exchange problem, where the agents are clustered based on their coupling constraints. According to the separability of the agents’ objectives and the clusters’ coupled constraints, HDEVCS is solved efficiently in a distributed manner by the alternating direction method of multipliers. Comparing to the exiting trilayer methods, HDEVCS reduces the convergence time and the iteration numbers since its structure allows the agents to update their primal optimization variable simultaneously. The performance of HDEVCS is evaluated by numerical simulation of two small- and large- scale case studies consisting of and agents, respectively. The results verify the scalability and efficiency of the proposed method, as it reduces the convergence time and iteration numbers by compared to the state-of-the-art methods, flattens the load profile and decreases the charging cost considerably without violating the grid feeders’ capacity. The significant outcome of our method is the accommodation of a large EV population without investment in grid expansion.
keywords:
Alternating direction method of multipliers, Electric vehicle charging scheduling, Clustered exchange problem, Hierarchical distributed optimization.
††journal: Preprint submitted to Applied Energy
1 Introduction
Motivation and Problem Statement
In the transportation sector, the transition from non-electric to electric-powered end-use consumers - Electrification- is mostly influenced by the electric vehicles (EVs) (Mai et al. [1]). EVs significantly reduce greenhouse gas emissions in the transportation sector. However, they may increase the peak load demand and energy loss in the residential buildings and distribution power grids (Fischer et al. [2], Clement-Nyns et al. [3], Fernandez et al. [4]) which result in inefficient operation of the system. Through EV load demand management, however, the distribution network operator (DNO) can not only decrease the negative effects of EV charging load without investment in grid capacity expansion, but also benefit by peak load shaving or load variance minimization (LVM). EVs, owing to the bidirectional EV chargers, can also play the role of energy storage and feed electricity back to the grid to provide regulation services. This is called vehicle-to-grid (V2G) which its potential was investigated by Kempton and Tomić [5]. Nevertheless, EV load management is challenging due to the uncertainty in arrival time, departure time and energy demand (Khaki et al. [6], Chung et al. [7]), limited capacity of the energy resources and distribution grid equipment (Khaki et al. [8]), the scalability issue, and EV owners’ privacy preserving. In this paper, we propose an EV charging scheduling (EVCS) framework to address the scalability and privacy preserving issues.
Related Work
There is a rich body of literature proposing a variety of approaches for EVCS which fall into two categories: centralized and distributed. In the former, a central entity such as DNO receives all the required data over the communication system from the dispersed EVs and coordinates their charging demand. Then, the optimal charging profiles are sent back to EVs: By Clement-Nyns et al. [3], it is shown that the uncoordinated EV charging increases power loss and voltage deviation significantly, therefore the authors propose a centralized method where the EV owners have no control over the charging profile, and it is decided by DNO; a model predictive based algorithm is proposed by Tang and Zhang [9] for total charging cost reduction, where the authors use the truncated sample average approximation to reduce the complexity of their centralized method at the cost of performance degradation; Wang et al. [10] introduce a centralized event-triggered receding horizon method to reduce EV charging cost in a campus parking; an optimal strategy for V2G aggregator is designed by Peng et al. [11] to maximize the economic benefit by participation in frequency regulation while satisfying EV owners’ demand; a centralized algorithm is designed by Bilh et al. [12] to flatten the netalod fluctuations due to renewable energy resources using EV charging control; Zheng et al. [13] propose a real-time EV charging scheduling where the computational complexity is reduced by introducing a capacity margin and the charging priority indices; a centralized mechanism is proposed by Perez-Diaz et al. [14] in which a third-party entity coordinates a day-ahead bidding system to optimize the global bid; a transactive EV charging management is presented in Liu et al. [15] to maximize the real-time profit based on the net electricity exchange with the grid; and a two-layer centralized EVCS is proposed by Mehta et al. [16] where each aggregator optimizes active power of the EVs in the first layer, and the second layer provides reactive power management for loss reduction in the grid. The main issues with the centralized approaches are: (I) EV owners’ privacy as they have to communicate their sensitive charging information (e.g. arrival and departure times as well as their battery energy level and capacity) with the central coordinator, (II) curse of dimensionality when EV penetration increases in the grid, and (III) vulnerability to a single point failure, i.e. if the central coordinator faces any problem, the whole system breaks down. In the distributed approaches, which address the above issues, the central entity coordinates the EV charging demand through communication with the EV charger agents or EV aggregators (EVAs). Instead of solving the scheduling problem centrally, it is solved through a distributed and iterative procedure in collaboration with the EVA and EV agents.
Among the distributed methods, two different EV charging infrastructures (ECIs) are considered: (I) bilayer structure which consists of either EVA and EVs or DNO and EVAs, and (II) trilayer structure which includes DNO, EVAs, and EVs. Gan et al. [17] propose a distributed charging scheduling which is solved using the projected gradient descent and provides valley filling. In Rivera et al. [18], the EVCS problem is formulated as the exchange problem which is efficiently solved by the alternating direction method of multipliers (ADMM) for the valley filling and charging cost reduction (CR). Xiong et al. [19] use a water filling algorithm incentivizing the EV owners to shift their charging demand to the off-peak hours. A mean-field game theory-based method is proposed by Tajeddini and Kebriaei [20] to provide valley filling and reduce battery degradation cost. The work is further expanded by Shokri and Kebriaei [21] to consider plug-in hybrid EVs, in which the propulsion provided by gasoline gives more flexibility to EVs for participation in V2G. Latifi et al. [22] propose a distributed method where each EV only communicates with its neighbors to reduce the communication overhead, and the optimal charging problem is addressed by the full Nash Folk theorem. Yao et al. [23] propose a bi-level programming based hierarchical decomposition EVCS where the objective is to reduce the generation unit cost for DNO. Ma et al. [24] propose three algorithms based on the projected gradient descent (Gan et al. [17]) and ADMM, where EVAs communicate with their neighbors, and each EVA centrally calculates charging profiles of EVs which it supplies. The proposed distributed bilayer EVCS by Chung et al. [25] reduces charging cost and increases EV owners’ convenience, where EVAs update their charging load sequentially, not in parallel. Staudt et al. [26] propose a decentralized method where the EVAs receive signals from DNO if their aggregated EV load results in the transmission line congestion. EVAs help congestion relief by rescheduling all the EVs’ load demands and available V2G capacity. Considering the on-site uncertain wind generation, a distributed method is proposed by Yang et al. [27] to increase the local wind energy utilization and satisfy the EV load demand through penalizing energy purchase from the grid.
Considering the trilayer EV charging structure, Wen et al. [28] use ADMM to schedule the EV charging demand with the purpose of user convenience maximization, which is characterized by the EV battery’s final state of charge. A distributed approach based on the sub-gradient method is proposed by Qi et al. [29] to satisfy customers’ charging demands and the coupled constraints relating to the EVAs’ feeder capacity. The EVA constraints, however, are relaxed in [29] and included in the Lagrangian of the cost function which results in suboptimality of the coordinated charging profiles. Lin et al. [30] design a distributed framework for V2G scheduling where EVAs’ revenue is neglected, and the gradient projection method is used to solve optimal V2G scheduling problem which is not computationally efficient, and its key convergence parameter depends on the number of EVs. The hierarchical framework designed by Shao et al. [31] includes two iterative procedures: the first procedure is between DNO and EVAs, and the second one is between each EVA and its EVs. The framework suffers from considerable communication overhead and computational burden, and it does not provide flexibility for the agents to have their desired objective function. Le Floch et al. [32] model the scheduling optimization problem as a weakly concave function which is solved iteratively between the agents by the projected gradient method. To have a fully distributed EVCS, the authors use the Lagrangian to consider the coupled constrains in the optimization problem which leads to suboptimal results. In addition, their framework does not consider EVAs’ objective function, and there is a strict assumption on DNO’s objective function. A hierarchical ADMM for the EV load coordination is proposed by Verschae et al. [33] which is derived based on the sharing problem. Although their method has mild assumptions on the objective function, it suffers from slow convergence and considerable communication overhead. Chen et al. [34] expand the framework proposed by Lin et al. [30] to a generic V2G scheduling framework which includes several layers of EVAs. There is, however, no flexibility in their method to include any other desired scheduling objective, the optimization solved by EVAs to calculate the V2G capacity depends on the number of EVs, and the agents update their optimization variable sequentially. Zou et al. [35] develop a sequential trilayer structure, where the transformers as EVA agents reach a consensus price minimizing the generation cost in the first iterative procedure, and EVs maximize their payoff function according to their transformers’ price signal. The convergence of the method, however, is based on strict assumptions on the objective function.
As discussed above, the desired objective functions of either a lower-level agent, e.g. EV owners, or a higher-level agent, e.g. EVAs, is missing in the bilayer EV charging methods. Therefore, those methods do not satisfy the practical objectives of EVCS. Furthermore, the proposed trilayer EVCS methods in the literature have several drawbacks: (I) they are designed for specific objectives and do not have the flexibility to accommodate any other objective in which case they have to be redesigned (Wen et al. [28], Qi et al. [29], Lin et al. [30], Shao et al. [31], Le Floch et al. [32], Chen et al. [34]); (II) they are not computationally efficient as the agents update their primal variables sequentially at each iteration, e.g. EVAs have to wait for DNO before updating their primal variable (Wen et al. [28], Qi et al. [29], Shao et al. [31], Verschae et al. [33], Chen et al. [34]); (III) the convergence and feasibility of the optimization problem solved by the higher-level agents depend on the number of the lower-level agents (Lin et al. [30], Chen et al. [34]); and (IV) to solve the EVCS problem in a distributed manner, the coupled constraints relating to feeder capacities are relaxed by the Lagrangian which results in suboptimal solutions (Qi et al. [29], Le Floch et al. [32]).
Contribution of the paper
In this paper, we expand the research on the trilayer ECI to address their drawbacks by designing a general framework for the interaction among the ECI’s agents so that any desired objective for EVCS can be considered. We propose a hierarchical distributed EVCS, called HDEVCS, meaning that DNO, EVA, and EV agents solve their optimization problem locally while the coupled constraints among the agents are satisfied. In HDEVCS, DNO communicates only with EVAs, and each EV agent communicates only with its EVA. To derive HDEVCS, we exploit the configuration of the trilayer ECI and the mathematical properties of the EVCS problem to develop the hierarchical and clustered exchange problem which is solved efficiently in a distributed manner by ADMM. The contributions of this paper are summarized as follows:
We propose the multi-agent trilayer EV charging framework where each agent has its own objective function which it solves locally. In HDEVCS, the agents do not share their sensitive information with others, so their privacy is preserved. Moreover, the optimization problems solved by DNO and EVAs do not depend on the number of system agents. Consequently, the size of their optimization variables does not change by the integration of new agents.
- 2.
We develop HDEVCS based on the exchange problem which is solved efficiently by ADMM. Owing to the exchange problem’s properties, the agents have only one primal variable and update it simultaneously at every iteration of HDEVCS, while in the previous methods the agents update their primal variable sequentially. Therefore, HDEVCS does not suffer from significant communication overhead, and it reduces the convergence time and number of iterations considerably. This feature is shown in Section 5 by comparing our method with the hierarchical ADMM (Verschae et al. [33]), since it has more flexibility and less strict assumptions compared to the other trilayer methods in the literature.
- 3.
We benefit from the hierarchical configuration of the derived exchange problem to satisfy the inequality coupled constraints relating to the EVA feeder capacities in a fully distributed manner. This feature addresses the problem in the previous approaches where the inequality coupled constraints are included in the EVCS problem by the Lagrangian leading to the suboptimal solutions.
- 4.
As the agents can have any desired objective function, we embed HDEVCS in the receding horizon (RH) feedback control, called RH-HDEVCS, to give the agents flexibility to change their objective function in any RH iteration without notifying other agents. This feature, which is called Plug-and-Play (PnP) and discussed in Subsection 4.2, addresses the inflexibility of the proposed trilayer methods in the literature which are designed for a specific objective function.
Synopsis
The paper is structured as follows: In Section 2, the model of EV charging demand and ECI agents are introduced. In Section 3, a general framework for EVCS is formulated based on the agents’ objective functions. In Section 4, the proposed HDEVCS is derived by the clustered exchange problem, and its implementation using RH feedback control is discussed. In Section 5, the metrics to evaluate the performance of the proposed framework are defined, numerical simulation results are shown and discussed for two case studies, and our method is compared with the literature to verify its faster convergence. Finally, the paper is concluded in Section 6.
2 System Model Description
In this section, after introducing the notation used in the paper, the model of the trilayer ECI’s agents, i.e. EV, EVA, and DNO, is presented.
2.1 Notation
We denote the set of natural and real numbers, respectively, by and . The set of positive real values which are less than or equal to one is denoted by . We use double bracket to show a discrete set, e.g. . The vector notation is denoted by
[TABLE]
where \mathbf{y}_{n}(t)=\big{(}y_{n}^{T}(t),y_{n}^{T}(t+1),\dots,y_{n}^{T}(t+N-1)\big{)}^{T},n\in\llbracket 1,\mathcal{N}\rrbracket, is defined componentwise, and is a given time horizon. To further simplify the notation, we use and . The same notion is used for all other variables.
2.2 EV Charging Infrastructure Model
In this paper, we consider a trilayer ECI shown in Fig. 1. The system is managed by DNO which aims at optimal EV load coordination in collaboration with EVAs and EVs dispersed throughout the distribution network. DNO controls the maximum power capacity available for the aggregated charging load demand as well, which is allocated to EVAs for charging EVs at each time instant. Considering that the charging infrastructure has EVs, denotes the set of EVAs of the charging infrastructure, denotes the set of EVs supplied by , and their cardinalities are shown by and , respectively. shows the th EV supplied by .
It is assumed that each is located in either a commercial or a residential building. We use for each and its corresponding building, which is modeled as a discrete-time linear system (Khaki et al. [8], Braun et al. [36]) as
[TABLE]
where , . In (1a), is the energy stored in the EV battery at , in (1b) is the non-EV load demand minus the power generated by the solar panel of the building at , which is also called netload, and is the total load demand (EV charging load plus netload) of the building. in (1a) is the discretization in time, e.g. corresponds to 30 min in this paper. is the ’s charging power and the control variable which is determined by EVCS. Since we assume that each is provided by a solar panel, and its EV charger has V2G capability, it may supply power to the grid. That is determined by the sign of , i.e. when is consuming energy from the grid, and when is feeding energy to the grid.
The constraints on the EV charging/discharging, related to the charger power rating and the EV battery capacity, are
[TABLE]
where is the charger’s minimum power rating, is the charger’s maximum power rating, and are the EV battery time-varying constraints which are defined as follows; if is:
not plugged in the ’s charger, .
- 2.
plugged in the ’s charger, but it is in idle mode, and , where is the maximum EV battery energy capacity.
- 3.
plugged in the ’s charger, and it is needed by time , , which is according to our assumption that all EVs must be fully charged by their departure time.
We define the set of feasible charging trajectories of as
[TABLE]
It is the responsibility of each EVA to prevent its aggregated EV power demand from exceeding the available feeder capacity. This is shown by
[TABLE]
where is the aggregated EV power demand of , is the maximum capacity available for EV power demand, and is the maximum capacity of the feeder supplying . It means that the available capacity to satisfy aggregated EV power demand depends on the total netload demand on the feeder. As we assume that netload demand of the EVBs is not controllable, EVAs can only control the aggregated EV power demand to prevent the total feeder power from exceeding the capacity.
As mentioned before, DNO controls the total EV charging demand so that it does not exceed the maximum available capacity for charging load (). This constraint is shown by
[TABLE]
where is the total EV power demand of the grid. Similar to (4), DNO can control only the total aggregated EV load demand in grid in order to prevent it from exceeding the capacity.
3 Problem Formulation
The ECI shown in Fig. 1 has a trilayer hierarchical structure including DNO, EVA, and EVB agents. The objective of EVCS is to generate a sequence of feasible EV charging profiles which minimize (maximize) a desirable loss (revenue) function while the operational constraints are satisfied. In this paper, the objective of the trilayer EVCS is threefold which is written as
[TABLE]
where , , and are convex objective functions of DNO, EVAs, and EVBs, respectively. The constraint set of EVBs (3) as well as (4a) and (5a) are the local constraints, while (4b) and (5b) are the coupled constraints of the scheduling problem (6).
We define an auxiliary variable for each as in order to rewrite (6) in the exchange problem form which can be solved efficiently by ADMM. Considering (4b) and (5b), we have
[TABLE]
where is the zero vector. This inequality constraint helps us write (6) as a hierarchical exchange problem. In that way, we do not write the local constraints and only show the coupled constraint (7).
[TABLE]
in which denotes the indicator function depending on the EVAs’ auxiliary variable (), and it is defined as follows for each
[TABLE]
In the following subsection, we show that the optimization problem in (8) is the hierarchical exchange problem which can be solved in a distributed manner by ADMM. We call it HDEVCS as our proposed framework results in the network through which DNO communicates only with EVAs, and EVAs communicate with their own EVs. That is, there is no direct communication between DNO (the highest-level agent) and EVs (the lowest-level agent), so the proposed EVCS has a hierarchical structure. Nevertheless, all the agents solve their optimization problem locally and simultaneously which decreases the convergence time and communication overhead.
4 Hierarchical Distributed Charging Scheduling
In this section, the EVCS problem is manipulated mathematically to derive the hierarchical and clustered exchange problem. Then, ADMM is applied to solve it in a fully distributed manner.
4.1 Exchange Problem and HDEVCS
To extract HDEVCS framework, we introduce the following aggregated objective function and optimization variable.
[TABLE]
where , . We rewrite (8) as
[TABLE]
where , and is the indicator function defined as
[TABLE]
The augmented Lagrangian of (11) is written as
[TABLE]
in which is the penalty factor, and is the Lagrangian variable, also known as the dual variable. The Lagrangian (13) can be solved by ADMM which is a variant of augmented Lagrangian approach and uses partial updates of the dual variables in each iteration. The iterative primal and dual updates of ADMM are
[TABLE]
in which is the iteration index. Hereafter, we use the scaled form of ADMM (Boyd et al. [37, Chapter 3.1.1]) where . The first step of ADMM (14a) is expanded as
[TABLE]
which is separable and can be solved in parallel by each agent of ECI, i.e. DNO, EVAs and EVBs. Further details will be provided later.
According to (11), each is equivalent to . Using the defined auxiliary variable and also (4b) and (5b), we can partition the charging infrastructure into clusters denoted by CLs. For each cluster, the coupled equality constraint which is the summation of the involved agents’ primal variables is defined. That equality constraint is equal to zero, and it is known as the equilibrium constraint. The clusters and the corresponding equilibrium constraints of HDEVCS are defined as follows:
, , includes and , , and its equilibrium constraint is .
- 2.
includes DNO and all EVAs, and its equilibrium constraint is .
- 3.
According to the equality constraints of the defined clusters, we have:
[TABLE]
The above three statements mean that the charging infrastructure includes clusters where the interaction among the agents within each cluster can be written as the exchange problem. To show that, we write the Lagrangian for (14b) in a partitioned form as
[TABLE]
where is the Lagrangian multiplier corresponding to the coupled equality constraint of . Using the KKT conditions for each cluster and adding up the gradients of Lagrangian in terms of , we have
[TABLE]
[TABLE]
[TABLE]
where denotes the cardinality of . Finally, the dual variable of is obtained by
[TABLE]
in which , and . Using (18) and (20), we can find a closed form to update as
[TABLE]
Using the gradient method, is obtained by
[TABLE]
Substituting (21) for (22) gives
[TABLE]
meaning that the dual updates for all the agents in shown by are equal and independent of the number of agents. Therefore, is calculated by
[TABLE]
In (15), substituting (24) for eliminates the second primal-update step of ADMM (14b), so there is not any sequential primal update in HDEVCS owing to reformulating EVCS as the exchange problem. Now, we can show how primal variables () are updated in parallel by EVBs, EVAs, and DNO at each iteration of HDEVCS using ADMM.
– primal variable update for , :
[TABLE]
– primal variable update for , :
[TABLE]
in which substitutes for in the second right-hand-side expression, meaning deals with only one primal variable.
– primal variable update for DNO:
[TABLE]
After updating the primal variables by all the agents in parallel (25)-(27), EVBs send out their updated variable to their EVAs, and EVAs transmit their updated variable to DNO. The average power () and the dual variable () for each are updated by EVAs and DNO. To lower the communication overhead, is broadcast to the other agents in which is defined as . The whole procedure of the proposed HDEVCS is shown in Algorithm 1, where and are primal and dual residuals, respectively, and and are their corresponding feasibility tolerance. For more details about primal and dual residuals and stopping criteria, we refer to Appendix and Boyd et al. [37, Chapter 3.3].
The communication network links between the agents as well as the broadcast variables within each are shown in Fig. 2. Note that the index of each cluster, i.e. , is shown next to the agent which updates the average power () and the dual variable ().
4.2 Receding Horizon HDEVCS: RH-HDEVCS
In this subsection, we apply receding horizon feedback control to HDEVCS to generate the optimal control sequences for the EV chargers. Utilizing RH gives significant flexibility to the EV owners, EVAs, and DNO to change their objective functions, as long as it is convex and feasible, at any RH iteration. In that case, as each agent’s optimization function is solved locally, they do not need to notify other agents about changing the objective function. This feature is called PnP (Braun et al. [36]).
RH-HDEVCS shown in Algorithm 2 executes the following steps consecutively. First, according to the requested EV charging and total netload demands of the system at time instant over the time horizon , Algorithm 1 finds the optimal values of the primal variable indicated by . Then, only the first element of is implemented by each agent. Lastly, is incremented, and the same procedure is repeated.
5 Numerical Simulation
In this section, the performance of HDEVCS is evaluated for two case studies, a small-scale system and a large-scale system, which are called System1 and System2, respectively. To show the effectiveness of the proposed EVCS, its performance is compared with uncoordinated (uCC) and semi-coordinated (sCC) charging methods. In uCC, EVs start charging with the maximum power rating () as soon as they are plugged in, while in sCC they charge with a constant power rating while they are plugged in.
Through all the simulations, the maximum power rating for EVBs is kW. The netload dataset of EVBs is collected from the Australian electricity company-Ausgrid [38] provided for residential customers, and the wholesale price is available from the California Independent System Operator-CAISO [39]. All the simulations are executed by MATLAB on a PC with Intel® Core™ i GHz CPU, cores and GB RAM, and the convex optimization problems are solved by CVX [40].
Evaluation Metrics
We define three metrics to assess the performance of HDEVCS for LVM. The first metric is the peak-to-peak (PTP) value of the aggregated power demand (neatload plus EV load) seen by DNO, which is the difference between the maximum and minimum power demand over the time horizon . PTP is defined as
[TABLE]
where , . The second performance metric is the peak-to-average (PTA) value (Diekerhof et al. [41]), which is given by
[TABLE]
where is the average of the aggregated netload demand of grid over the time horizon , and it is calculated as . The last metric is the root-mean-square (RMS) deviation from the average power demand which is given by
[TABLE]
Convergence Analysis
To investigate the convergence behavior of ADMM for HDEVCS, we run the numerical simulation using four different values of the penalty factor (). As shown in Fig. 3, both the primal and the dual residuals linearly converge to zero for smaller values of . For the largest penalty factor value (i.e. in our case), after iterations the residuals linearly decrease, although their initial rate of convergence is faster. Also after iterations, the residuals are still considerable for which confirms their slow rate of convergence. In addition, while the primal residual chatters for only , the dual residual chatters for all simulated values of the penalty factor. Nevertheless, both residuals’ convergence is acceptable, and they reach a desired value within around iterations. According to the results, we pick to run the numerical simulations in the next subsections. It is worthwhile to mention that the convergence rate can be improved by the adaptive penalty term which is not used in this paper.
5.1 System1: Small-Scale Case Study
System1 consists of EVAs each of which is supplying EVs. The simulations are executed for two scenarios with different set of objective functions for EVAs and EVs. Based on National Household Travel Survey (NHTS) 2017 (Santos et al. [42]), the required charging energy, arrival time, and departure time of the EVs are generated as follows: the initial and designated EVs’ battery energies are normally distributed over kWh and kWh, respectively; EVs’ arrival and departure times are normally distributed in and , respectively.
Scenario 1
In the first scenario, the purpose of DNO is to minimize the peak load demand in the system which is equivalent to LVM (Sortomme et al. [43]). Defining the aggregated netload demand of , by (31)
[TABLE]
LVM is obtained by minimizing
[TABLE]
While we assume that EVAs’ purpose is only to keep their aggregated EV charging demand less than the feeder capacity constraint (4a), EVs aim at reducing their charging cost. Accordingly, is defined by
[TABLE]
where is the indicator function which is defined as
[TABLE]
’s objective function is defined by
[TABLE]
where is the electricity wholesale price.
The simulation results of HDEVCS compared with uCC and sCC are illustrated in Fig. 4. LVM+CR-1 and LVM+CR-2 show the aggregated load profile (the aggregated EV charging demand plus netload) when the weighting factor for (35) is and , respectively. By decreasing the weighting factor, the load profile becomes smoother at the cost of a more expensive charging for the EV owners.
In Fig. 5, it is shown that EVCS is effective in limiting the aggregated load demand to the capacity of the EVAs’ feeders. While sCC does not have any control on the aggregated EV load (Fig. 5: left), HDEVCS does not let the capacity constraints ( kW) be violated (Fig. 5: right) even if the EV agents choose a high weighting factor to greedily reduce their charging cost. These results highlight the importance of optimal coordination of EV charging in supplying more load demand without expansion of the grid capacity.
Scenario 2
In the second scenario, we assume that DNO’s purpose is still LVM (32), while EVAs aim at reducing the aggregated charging cost, and EVs plan for reducing their battery degradation. Thus, we have
[TABLE]
To define EVs’ optimization function, we borrow BDR model proposed by Ma et al. [44]
[TABLE]
where , , and are the constant coefficients depending on the number, nominal voltage value and price of energy units of the battery cells.
The aggregated load profiles obtained by HDEVCS are compared with uCC and sCC in Fig. 6. Similar to the first scenario, we run the simulations for two different weighting factors of BDR, i.e. and , which are shown by LVM+CR+BDR-1 and LVM+CR+BDR-2, respectively. In both modes, the weighting factor of CR which is EVAs’ objective function is equal to .
As it is illustrated, the aggregated load profile in both modes is flattened by HDEVCS while the capacity constraints of EVAs’ are not exceeded (Fig. 7).
To compare the performance of HDEVCS in the first and second scenarios, the aggregated CR and BDR for EVAs is shown in Fig. 8 and Fig. 9, respectively. Since the weighting factor of CR objective function in LVM+CR-2 is larger than the weighting factor in LVM+CR-1, the least aggregated CR for all EVAs is achieved by LVM+CR-2 (Fig. 8). As EVs start charging with the maximum power rating in uCC mode, their charging cost is more than all other modes. Considering Fig. 9, the least battery degradation cost is achieved by uCC, sCC, LVM+CR+BDR-1, and LVM+CR+BDR-1. The reason is that the charging power profile in uCC and sCC is constant which according to (37) minimizes the battery degradation cost. In LVM+CR+BDR-1 and LVM+CR+BDR-2 modes, BDR cost is the objective function of EVs, therefore EVCS reduces BDR as well. However, battery degradation cost is larger in LVM+CR-1 and LVM+CR-2 as EVs try to reduce their charging cost only, and battery degradation reduction is not considered in the EVCS’s optimization function.
To further clarify the comparison of different simulated scenarios and the charging modes, the results are summarized in Table 1 where the best obtained result for each metric is shown in bold. As it is expected, LVM+CR-1 gives the lowest accumulated PTP, PTA, and RMS as the weighting factors of LVM and CR are equal, while the least aggregated charging cost is obtained by increasing the weight of CR in LVM+CR-2. As it was discussed, the lowest accumulated BDR is achieved by uCC, sCC, LVM+CR+BDR-1, and LVM+CR+BDR-1. The last column of the table shows the normalized accumulated objective values obtained by each charging mode. The weighting factors of the normalized values are equal to . According to the calculated values, LVM-CR-1 charging mode results in the best accumulated performance, and uCC charging mode leads to the worst performance.
Plug-and-Play
As mentioned before, the advantage of RH-HDEVCS is PnP in terms of the agents’ objective function. That is, each agent may change its objective function in any RH iteration. This is illustrated in Fig. 10 where an EV is plugged in at 21:00 when its battery energy is kWh, and it is unplugged at 6:30 when it is fully charged. The EV is charged in CR mode until 23:30 at which the EV owner switches the charging mode to sCC, i.e. constant charging power. The desired energy stored in the battery at departure time is kWh.
5.2 System2: Large-Scale Case Study
System2 consists of EVAs each of which is supplying EVs. The simulations are executed for two main scenarios with similar objective functions but different constraints. The objective function in both scenarios includes LVM and CR. However, the feeder capacity constraints are considered in the first scenario (C/LVM+CR), while there is no feeder constraint in the second scenario (UnC/LVM+CR). In C/LVM+CR, the maximum loading capacity is kW for the feeders supplying EVA and EVA and kW for the other feeders. The required charging energy, arrival time, and departure time of the EVs are generated as follows: the initial and designated EVs’ battery energies are normally distributed over kWh and kWh, respectively; for of EVs, the arrival and departure times are normally distributed in and , respectively; for the rest of EVs, the arrival and departure times are normally distributed in and , respectively.
The aggregated load profiles obtained by sCC, C/LVM+CR, and UnC/LVM+CR are shown in Fig. 11. The load profiles of C/LVM+CR, UnC/LVM+CR coincides, and they perfectly fill in the valley (in ) and shave the peak loads (at 0:00, 7:00 and 18:30) which are seen in sCC load profile.
Although the load profiles of C/LVM+CR and UnC/LVM+CR are similar, their EVAs’ feeder load profiles are different. Comparing Fig. 12 with Fig. 13, several EVA feeders are overloaded in UnC/LVM+CR scenario while all the EVA feeder loads meet the constraints in C/LVM+CR. This means that EVCS with feeder capacity constraints can accommodate a large population of EVs without any grid feeder expansion requirement. The other difference between C/LVM+CR and UnC/LVM+CR is seen by comparing the EVAs’ aggregated charging costs in Fig. 14 and Fig. 15. Although the difference is not considerable, UnC/LVM+CR has less charging cost owing to the fact that EVs have more flexibility to shift their charging demand to the time periods with lower electricity price since there is no constraint on the EVAs’ feeders.
The performance metrics calculated for the aggregated load profile in System2 are summarized in Table 2, where ACC is calculated for the whole system. Comparing sCC charging mode with C/LVM+CR, improvement of the performance metrics in this case is , and for PTP, PTA, and RMS, respectively, and the cost reduction is .
5.3 Comparison with Hierarchical ADMM [33]
As it is already discussed, HDEVCS reduces the communication overhead and the convergence time compared to the methods in which the agents update their primal variable sequentially in two different steps. In this subsection, HDEVCS is compared with the hierarchical ADMM proposed by Verschae et al. [33] which is designed based on the sharing problem (Boyd et al. [37, Chapter 7.3]). The hierarchical ADMM (Verschae et al. [33]) consists of two layers of the sharing problem. The first layer is executed between DNO and EVAs, and the second layer between each EVA and its EVs. Therefore, the agents of ECI do not update their primal variable at the same time. To show the advantage of the proposed HDEVCS designed based on the exchange problem, we run LVM+CR-1 charging mode for both System1 and System2 by the hierarchical ADMM. The convergence time and the number of iterations are shown in Table 3. For both methods, the penalty factor is similar ().
As it is shown, HDEVCS improves convergence time by compared to the hierarchical ADMM. The convergence time, however, for System2 will be still considerable ( min) if HDEVCS is embedded in RH as the netload dataset is collected every min, meaning that RH-HDEVCS should converge in less than min. However, it is worthy to mention that the computation times in Table 3 are obtained by a CPU with cores, while RH-HDEVCS is proposed to be implemented in a multi-agent framework. Also, chances are the convergence time further improves using adaptive penalty term ().
6 Conclusion
This paper has proposed a trilayer multi-agent framework for the optimal EV charging coordination to reduce the load variance and charging cost without violating the feeders’ capacity constraints. By exploiting the configuration of the charging network and the mathematical properties of the EVCS problem, we have developed a novel hierarchical distributed method based on the exchange problem for the optimal charging coordination problem that is solved by ADMM. Owing to the properties of the derived hierarchical exchange problem, the second primal-update step of ADMM is eliminated, therefore all the agents update their primal variable in parallel, which results in the reduction of convergence time and iteration numbers. In addition, embedding the proposed method in the receding horizon feedback control gives flexibility to the agents to change their objective function in any receding horizon iteration, which is also called plug-and-play. To evaluate the performance of HDEVCS, it has been applied to two case studies, a small-scale and a large-scale system. The results have revealed that HDEVCS can reduce the peak load demand as well as EV charging and battery degradation costs significantly, while the grid feeders’ capacity constraints are not violated. This means that the grid can accommodate a large population of EVs without investment in the grid capacity expansion. In comparison with the state-of-the-art trilayer charging framework, our proposed method reduces the convergence time and iteration numbers by .
The proposed HDEVCS, however, has some limitations which are considered in the authors’ future works. The power flow model is not considered in the system model; although the load variance minimization improves voltage profile and reduces energy loss (Sortomme et al. [43]), the proposed method will need to be further modified if the minimum voltage is desired to be calculated precisely. Moreover, it is assumed that the communication latency is negligible in this work, which means the broadcast signals are received by the agents immediately. As in practice communication latency can be a bottleneck, specifically when the proposed algorithm is embedded in RH, the authors will further expand this work by modeling the communication delays to investigate if the algorithm can converge within a desired time. In that case, using ADMM with adaptive penalty factor can be also discussed. Another possible future direction of this research, recently investigated in the literature, is the battery swapping (Amiri et al. [45]) which is a solution for the battery charging time to facilitate EV penetration in the transportation system. Optimizing the performance of EV charging stations with this capability includes the quality of service to the customers and the charging cost. The authors will investigate the performance of HDEVCS by including the model of those charging stations with appropriate modification.
7 Appendix
The primal residual for each agent in at iteration is obtained by
[TABLE]
The dual residuals for , and DNO are calculated, respectively, by (39a), (39b)-(39c) and (39d) as follows:
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Mai et al. [2018] T. T. Mai, P. Jadun, J. S. Logan, C. A. Mc Millan, M. Muratori, D. C. Steinberg, L. J. Vimmerstedt, B. Haley, R. Jones, B. Nelson, Electrification Futures Study: Scenarios of Electric Technology Adoption and Power Consumption for the United States, Technical Report, National Renewable Energy Lab.(NREL), Golden, CO (United States), 2018.
- 2Fischer et al. [2019] D. Fischer, A. Harbrecht, A. Surmann, R. Mc Kenna, Electric vehicles’ impacts on residential electric local profiles – a stochastic modelling approach considering socio-economic, behavioural and spatial factors, Applied Energy 233-234 (2019) 644 – 658. doi: 10.1016/j.apenergy.2018.10.010 . · doi ↗
- 3Clement-Nyns et al. [2010] K. Clement-Nyns, E. Haesen, J. Driesen, The impact of charging plug-in hybrid electric vehicles on a residential distribution grid, IEEE transactions on power systems 25 (2010) 371–380. doi: 10.1109/TPWRS.2009.2036481 . · doi ↗
- 4Fernandez et al. [2011] L. P. Fernandez, T. G. S. Roman, R. Cossent, C. M. Domingo, and P. Frias, Assessment of the Impact of Plug-in Electric Vehicles on Distribution Networks, IEEE transactions on power systems 26 (2011) 206–213. doi: 10.1109/TPWRS.2010.2049133 . · doi ↗
- 5Kempton and Tomić [2005] W. Kempton, J. Tomić, Vehicle-to-grid power fundamentals: calculating capacity and net revenue, Journal of Power Sources 144 (2005) 268–279. doi: 10.1016/j.jpowsour.2004.12.025 . · doi ↗
- 6Khaki et al. [2018] B. Khaki, Y. Chung, C. Chu, R. Gadh, Nonparametric user behavior prediction for distributed ev charging scheduling, in: 2018 IEEE Power Energy Society General Meeting (PESGM), 2018, pp. 1–5. doi: 10.1109/PESGM.2018.8585744 . · doi ↗
- 7Chung et al. [2018] Y. Chung, B. Khaki, C. Chu, R. Gadh, Electric vehicle user behavior prediction using hybrid kernel density estimator, in: 2018 IEEE International Conference on Probabilistic Methods Applied to Power Systems (PMAPS), 2018, pp. 1–6. doi: 10.1109/PMAPS.2018.8440360 . · doi ↗
- 8Khaki et al. [2018] B. Khaki, C. Chu, R. Gadh, A hierarchical admm based framework for ev charging scheduling, in: 2018 IEEE/PES Transmission and Distribution Conference and Exposition (T&D), 2018, pp. 1–9. doi: 10.1109/TDC.2018.8440531 . · doi ↗
