The invention is in the field of control of the charging of electric vehicles.
The penetration of electric vehicles (EVs) in the market is expected to dramatically increase in the next decade. For example, given an expected sale growth of 20%, there will be more than four million EVs in USA by 2024 [1]. This will affect the planning and operation of electrical grids with particular reference to distribution networks. Indeed, uncoordinated and random EV-charging may largely impact supply quality and continuity. In such case, power flows and voltage-quality patterns throughout the grid will be affected considerably [2], and might increase the risk of local blackouts due to overloads. The authors in [3]-[7] show how uncontrolled charging of EVs might jeopardize the operation of the power grid, causing voltage deviations or increasing power system losses [8], [9].
For example, consider a potentially common situation of a distribution network that contains local generation (PV panels) and an EV charging-station (CS), both connected to the main grid through a transformer. When EVs are mostly charged by the PV production, a rapid PV power-drop (that could reach up to 60% of the rated power in few seconds [10]) will suddenly increase the power flow through the transformer. This might cause the transformer to exceed its rated power. Alternatively, the CS can reduce its charging power to compensate for the solar drop. However, this requires the CS to constantly update, given external conditions, the maximum charging-power it can consume. To cope with such situations, the nave approach would be for the CS to know the precise amount of PV injected-power, and the transformer rated-power. Yet, this solution is not scalable. An alternative is to use a grid controller with explicit power-setpoints (e.g., [11]). In this case, the CS only needs to follow a power setpoint and allocate this aggregated power-setpoint among the connected EVs. For the grid controller to compute valid setpoints, it should be informed about the flexibility of all controlled resources. Since the flexibility of the CS depends on the situation (number and type of connected EVs, State-of-Energy of EV batteries, etc.), it has to be updated repeatedly.
The allocation of power to EVs is a difficult task since, as previously mentioned, an aggregated power-setpoint can change dramatically in few seconds. The naive power allocation, which would transfer these variations directly to EVs, could increase their battery ageing by creating large power-jumps, mini-cycles, as well as frequent on-off switching of EVs. Moreover, the power should be allocated fairly considering that each EV has its own energy demand and remaining time at the CS. Indeed, due to the decisions of the local-grid controller, the aggregated power-setpoint might not be enough to satisfy the demand of all EVs. Authors in [12] minimize the battery-degradation cost associated to additional cycling, assuming that there is sufficient amount of power to satisfy the EVs demand, hence fairness issues are not addressed. Studies in [13]-[15], on the contrary, propose charging schemes that consider fairness of the power allocation among EVs, though without accounting for battery wearing.
Accordingly, it is one aim of the invention to consider both battery wearing and fair-demand satisfaction, while tracking the aggregated power-setpoint.
Furthermore, the battery sizes, charging rates, initial and desired departure State-of-Energy, can be different for every EV. The authors in [16] propose a load-management control strategy for minimizing the power losses and improving the voltage profile during peak hours by assuming that EVs are scheduled in three different types of charging periods. The authors in [17] develop a decentralized control-scheme, using concepts from non-cooperative games, showing optimality when the EVs characteristics are identical (same departure time, energy demand and maximum charging-power) and all charging schedules are agreed upon with the CS one-day ahead. [18] proposes an online charging-algorithm assuming that no EVs will arrive when a charging schedule is made. Furthermore, studies [2], [19], [20] assume that all the EVs have the same charging rate. However, such assumptions do not hold in practice.
It is a further aim of the invention to take into account that we do not have any information about future arrivals and departures, nor can we know the amount of time any charging will take.
Additionally, a common assumption in the literature is that the charging power of an EV is a continuous value between 0 and the maximum power (e.g., [15], [19], [20]). However, in reality, this is not the case because an EV can be either switched off and consume no power, or charge at a power that lies between non-zero bounds, where the minimum charging-power cannot be arbitrarily small. The authors in [22] developed a distributed control-scheme that support on-off states, but is limited to a constant power when on.
It is a further aim of the invention to take into account both switch on and off possibilities and not any arbitrarily small minimum charging power.
In other words, the invention has the following objectives: (i) follow an aggregated power-setpoint, (ii) minimize the battery degradation of each EV and (iii) fairly allocate the power proportional to the EVs needs.
In a first aspect, the invention provides a method for controlling the charging of at least an electrical vehicles (EVs) connected to a single charging station (CS), whereby the at least one electrical vehicle may be either locked or unlocked, an EV being locked if it is in the process of reacting or implementing a setpoint. The method comprises continuously tracking at the charging station of a number of the at least one electric vehicle connected; controlling from the charging station a charging power of each EV by sending a setpoint Pi[k] to an EV i at time k; receiving at the charging station a measured power {circumflex over (P)}i[k] from each EV i at time k; computing at a grid controller for all EVs that are not locked at the time k, an aggregated power-setpoint Preq[k] in real time; receiving at the charging station the aggregated power-setpoint Preq[k] at any time k; sending from the charging station to the grid controller a charging station power flexibility interval, the latter being a power range which the charging station is configured to implement; allocating an overall consumed power fairly among the connected EVs by solving the following optimisation problem:
which depend on initial state of an EV, and, moreover, ζi[k] is monotonically increasing function of
In a preferred embodiment, the method further comprises formulating a mixed-integer-quadratic program based on integral terms to cope with time-dependent variables (ρi,λi) such as battery wearing, and remaining energy demand.
In a further preferred embodiment, an on/off decision for EV i at time k is denoted by ωi[k], and ωi[k]=1 (respectively, 0) means a decision to switch on (respectively, off) EV i at time k, and upon arrival, an EV is initially switched off, ωi[k] being integer variables. The method further comprises introducing a ranking metric ri[k], which combines the operational margins with μi[k]:
The method further comprises implementing a heuristic configured to reduce the number of integer variables to m, thereby reducing a complexity of the optimisation problem and enabling the solving of the optimisation problem in real-time,
In a further preferred embodiment, if {tilde over (P)}req[k]∉[Plb, Pub], the method comprises looping until fulfilling a constraint of {tilde over (P)}req[k]∈[Plb, Pub],
In a further preferred embodiment, if {tilde over (P)}req[k] lies above the bounds [Plb, Pub], the method comprises a step of forcing the EV from [k] with highest rank to be switched on, and replacing it with highest ranked EV in =[k]\[k], thereby automatically increasing Pub, to eventually reach {tilde over (P)}req[k].
In a further preferred embodiment, if {tilde over (P)}req[k] lies below the bounds [Plb, Pub], the method comprises a step of switching off the highest ranked EV from [k], and replacing it with the highest ranked EV in .
In contrast to prior art, the inventive method does consider the EVs heterogeneity. We do not have any information about future arrivals and departures, nor can we know the amount of time any charging will take.
Furthermore, we consider both switch on and off possibilities and not arbitrarily small minimum charging power.
In order to achieve all these objectives, the invention defines novel metrics and uses them to construct a dedicated optimization problem. As the charging power is discontinuous (the minimum charging power is not arbitrarily small), our optimization problem is mixed integer by nature. Because the mixed-integer optimization is difficult to perform in real-time, we propose a heuristic for reducing the number of integer variables, thus reducing the complexity of the problem.
The invention will be better understood through the detailed description of preferred embodiments, and in reference to the drawings, wherein
In order to achieve all the objectives that the invention aims to, we define novel metrics and use them to construct a dedicated optimization problem. As the charging power is discontinuous (the minimum charging power is not arbitrarily small), our optimization problem is mixed integer by nature. Because the mixed-integer optimization is difficult to perform in real-time, we propose a heuristic for reducing the number of integer variables, thus reducing the complexity of the problem.
In the following sections of the present application, we will describe
In general, the approach taken in the context of the invention
We consider a charging station (CS) that can host N EVs. Time is discretized in constant interval, indexed by k. The CS keeps track of the number of connected EVs at every step k. A newly arrived EV cannot begin charging before being instructed by the CS. Each EV, say i, upon its arrival, is assumed to inform the CS: (i) charging-power bounds Pimin and Pimax, (ii) energy demand at arrival Eidem, and (iii) expected departure time tidep. Information about future arrivals, future expected departures and future demands is unknown. Also, the CS has access to the measured power {circumflex over (P)}i[k] of EV i at every time k. The CS is able to control the charging power of an EV by sending the setpoint Pi[k] to EV i at time k (see
The CS receives aggregated setpoints, Preq[k], from the grid controller. In return, it sends its updated status that includes its flexibility.
We assume that the CS has the ability to stop the charge of an EV. Then, the individual power flexibility of EV i is defined by the set {0}∪[Pimin; Pimax]. However, EVs cannot immediately change their charging power due to delays:
We say that an EV is locked if it is in the process of reacting or implementing a setpoint. As the specific delays are usually different for every type of EV, it is difficult to know their exact values. Therefore, we take a conservative upper bound TL (20 s in this paper). Namely, we consider that, after receiving a setpoint, any EV will be locked for a locking period TL.
Note that, the locking of the EVs temporarily shrinks the flexibility of the CS, since the amount of EVs that can change power varies from one control cycle to another. Moreover, as the ramping rates and delays are unknown, it is impossible to know exactly how the charging power will change when an EV is locked. This information is supposed to be constantly sent to the grid controller.
The CS needs to allocate the time-varying aggregated power-setpoint to the connected EVs. The purpose of the power-allocation strategy is to allocate the consumed power in such a way that the EV demands are satisfied and their batteries are protected. In particular, fast variations of the aggregated setpoint should be smoothed, otherwise its direct implementation can degrade the EV batteries. Summarizing, the objectives of the allocation strategy are:
The present invention considers all four objectives together. In the next section we formulate a specific mixed-integer program and show how we solve it in real-time.
The control scheme computes setpoints for all EVs that are not locked at time k. Let us introduce some notations that will help us formulating the optimization problem.
As introduced previously herein above, an EV i can receive setpoints in the set {0}∪[Pimin; Pimax]. We denote the on/off decision for EV i at time k by ωi[k]. Specifically, ωi[k]=1 (respectively, 0) means that we decide to switch on (respectively, off) EV i at time k. Upon arrival, we assume that an EV is initially switched off. Then, let Ω[k] be the collection of on/off decisions that will be computed for each EV in [k]. Our task is to find the collection of setpoints [k] and decisions Ω[k], while minimizing the objectives described in Section II. To this end we introduce the following objective function
where f0, f1, f2, f3 are quadratic functions, and parameters c0, c1>0 which will be described in next subsections. Note that, this control scheme is a mixed-integer problem due to the presence of the collection of binary control variables Ω[k].
The first term in (1) is responsible for tracking the aggregated power-setpoint Preq[k]. As, in general, some EVs are locked, our goal is to track the aggregated setpoint by changing the power of the unlocked EVs in [k], while taking into account the locked EVs in [k]. As the locked EVs are either reacting to or implementing a previous setpoint, they should be removed from the aggregated setpoint, i.e. {tilde over (P)}req[k]=Preq[k]−Pi[k]. In this case, Pi[k] represents the very last setpoint that a locked EV has received. This impedes the CS to reallocate the same power in the unlocked EVs. Finally, f0 can be expressed as
In order to minimize the impact of changing power in the EV batteries, we use f1 and f2 in the objective function. f1 penalizes the deviation between the setpoint and the measured power, together with the changes in the measured power. f2 penalizes sudden switch off of the EVs caused by the CS. To formalize f1 and f2, let us introduce new variables. As our method is online, we introduce two non-linear integral terms to account for (i) the past behaviour of EVs charging power, and (ii) the desire of an EV to be charged.
The first of these terms, λi[k]∈[0.5, 1] per EV i, quantifies how long ago and how large power changes were. This is used as a priority metric: the smaller λi, the more priority to change power. Let ki′ be the time of the most recent change of the setpoint for EV i before k (so that Pi[κ]=Pi[ki′] for x=ki′, ki′+1, . . . , k−1). Note that, ki′ is function of k as well but, for the ease of notation, we drop this dependency. When EV i arrives, Pi[ki′] is set to zero. Consequently, we take
We now refer to
In the second case, λi[k] i decreases exponentially with a decay δ (see
The second term, ρi[k]∈[0.5, 1], expresses the desire of an EV i to charge. It is also used as a priority metric: the larger the ρi the more priority to increase the power. Note that, the CS can keep track of the remaining energy demand ΔEidem[k] of EV i at time k, and expected remaining charging k−kidep. Therefore at time k, the CS computes the power that EV i needs to satisfy its demand as
Additionally for k=kiarr this power equals to
With this, we compute the unit-less quantity per EV as follows
where H represents the harmonic mean and si>0 is the parameter that differentiates service between classes of EVs. By property of the harmonic mean,
which depend on initial state of an EV. Moreover, ζi[k] is monotonically increasing function of
Consequently, we take
f2, which penalizes the switch off of EVs, is expressed as
We multiply each term by ρi[k] to enforce EVs with larger values to be switched off at last. We also multiply by ωi[k−1] to exclude EVs that are switched off.
One of the aims of the invention is that the aggregated power that must be allocated among EVs is driven by Preq. In order to anticipate the future information, we allocate the power by using ζi as a weight for EV i. To this end, at time k, we compute reference powers, Piref[k]∈[0, Pimax] for all EVs, ideally fair such that Piref[k]=Preq[k]. Commonly used fair allocations are weighted-proportional and weighted-max-min [22]
Let us first describe the weighted-max-min fair allocation. As the set of constraints is convex and compact (i.e., closed and bounded in Euclidean space), we know that this allocation exists and is unique [22]. In order to find such an allocation, the water-filling algorithm is used, which works as follows. The power of all EVs is increased at the same pace, until one or more powers reach their maximum. The powers that reach their maximum are frozen, and the others continue to increase at the same pace. The algorithm is repeated until Piref=Preq (from here on, the time index k is omitted for simplicity of notation). For details, see
The volume of water in the tank is either Pimax or hζi, where h is the common height of the non-saturated tanks. The result of the water-filling algorithm is illustrated for 5 EVs. EVs 1, 4 and 5 are fully filled, so their reference powers are P1max, P4max and P5max respectively, whereas 2 and 3 have reference powers of hζ2 and hζ3 respectively.
Another possibility is to consider weighted-proportional fairness. We find a proportionally fair allocation of power by solving the following convex optimization-problem in (A):
By combining (1), (2), (4), (7), (10) with constraints, the optimisation problem to be solved, at each time k, is:
Since (P) is mixed integer, its complexity grows exponentially with the number of integer variables [23] (here ωi). To reduce the problem complexity, we propose a heuristic, that runs every time k, which limits the number of integer variables. The heuristic partitions the collection of unlocked EVs, [k], into three collections: EVs that are forced to be switched (or remain) on (on[k]), EVs that are forced to be switched (or remain) off (off[k]), and EVs for which the on/off decision is decided by the optimization problem ([k]). We require that |[k]|≤m, where m is fixed small number.
In other words, we define a new problem (H) that at most m integer variables. All other ωi[k] remain fixed.
The constraints in (14) force the EVs to be switched on/off.
Note that, with this consideration, the flexibility that the problem (H) considers is, however, smaller than that of (P). Namely, the power to be allocated among the unlocked EVs, {tilde over (P)}req[k], may not be able to be tracked, depending on the partition of . Let us thus define the full flexibility of the CS at time k, as (see Section V-B), and the reduced flexibility (the one available for (H)), as the interval [Plb, Pub] with
Thus, the partition {[k], on[k], off[k]} should ensure that {tilde over (P)}req ∈[Plb, Pub]. Note that, we compute the bounds excluding locked EVs. Their power is already defined as explained in Section III-C.
We now describe the heuristic, detailed in Algorithm 1, reproduced in
with μi[k]∈[1, 2], unit-less, and consisting of three parts:
Therefore, μi[k] quantifies the propensity of EV i to change its on/off decision and charging power. Smaller μi[k] indicates more propensity.
Second, we rank the EVs according to their individual operational margins. Since the maximum power of EV i can consume is Pimax and the minimum is 0, its positive margin Pimax−{circumflex over (P)}i[k] and its negative margin is {circumflex over (P)}i[k]. Dividing these values by Pimax we get normalized margins. We hence introduce the ranking metric ri[k], which combines the operational margins with μi[k]:
where ΔPreq[k]={tilde over (P)}req[k]−{circumflex over (P)}i[k]. Finally, we define the function (top(, m) that returns the index of the m elements with the largest ri[k] metric, from a collection . In rest of this section, we omit the time index k for sake of clarity.
The goal of the heuristic is to limit the number of integer variables to m. If the amount of unlocked EVs is initially less than m, then all these EVs can change their on/off decision (lines 2-3). Otherwise, we take the m EVs with the largest metric ri (lines 5-8). This choice is sufficient in most of the cases since, according to ri, these EVs are the best to be selected. However, it can happen that {tilde over (P)}req[k]∉[Plb, Pub], in which case we loop until fulfilling this constraint. If {tilde over (P)}req lies above the bounds, we force the EV from with highest rank to be switched on, and replace it with highest ranked EV in =(lines 12-14, 18-19). Doing this, we automatically increase Pub, eventually reaching {tilde over (P)}reg (see Theorem 2 herein below). Similarly, if {tilde over (P)}req lies below the bounds, we switch off the highest ranked EV from (lines 15-17) and replace it with the highest ranked EV in .
Theorem 2, which expresses a correctness of the heuristics, is as follows:
given that m≥1, Alg. 1 finds the partition of , such that {tilde over (P)}req∈[Plb, Pub], |S|≤m. Alg. 1 takes at most ||−m iterations.
For a validation of the method according to the invention, we consider a grid with an existing 500 kWp PV plant connected to the distribution network through a power transformer rated STrr=500 kVA (note that we do not consider grid constraints other than the transformer rated power). We claim that, in such setup, we can install a charging station (CS) of PCSr=1000 kW power rating. Referring to
To simulate the PV production, we use irradiance measurements taken in the Authors laboratory, which are then scaled according to the PV rated power. We simulate the arrival of EVs to the CS as a homogeneous Poisson process with rate 30 arrivals/hour. We assume that, upon arrival (at kiarr), EV i informs its energy-demand Ei and the expected departure-time kidep. We model the staying time (kidep−kiarr) to be uniformly distributed between 1.5 and 1.6 hours. Furthermore, we consider that a user will not necessarily leave at precisely the informed time. The real staying-time is also modelled with the same distribution. An EV will leave after the real staying-time regardless of its level of charge. Given the distributions of the arrival time and the staying time, it is highly likely that an EV will find an available slot upon arrival, otherwise this EV is ignored (since in practice this EV will leave for another charging station). In all our simulation scenarios, this property was maintained. We consider two groups of EVs: group A with high and group B with low energy-demand. The demand is uniformly distributed between 28 and 32 kWh and between 3 and 5 kWh respectively. Considered reaction times are also uniformly distributed between 2 and 3 s and the ramping rate is 5 kW/s (this rate was taken according to the maximum charging power, such that the EV will reach its maximum power before locking period finishes). The minimum and maximum powers of the modelled EVs are 2 kW and 22 kW.
We consider 3 scenarios, mainly defined by the PV trace, that are representative enough to show all our method features:
We also analyze the influence of different combinations of weights co, c1 on the performance of our method.
We next describe the way we model the decision of the grid controller. We assume that all resources are connected to the same node, thus simplifying the power-balance equation to PTr=PCS−PPV, being PTr the transformer, PPV the PV plant and PCS the charging station powers respectively. The control variable is PCS, while the controlled variable is PTr. The goal of this controller is to maximize PCS, while trying to avoid the violation of the transformer rated power, i.e., |PTr|≤STrr, subject to the uncertainty produced by (i) the variation of the injected PV power and (ii) the charging of locked EVs. We focus on the case when the violation is produced by an overconsumption of the CS. The case when the violation is produced by an overproduction of the PV plant can be handled similarly. Hence, the controller decision is computed as
where PPV↓ is the one-step-ahead minimum expected PV production, computed by a short-term forecasting tool [10]. ΔPCS↑ is the maximum possible consumption increment of locked EVs, i.e., the difference between their individual setpoint and their current measured power
This term accounts for the uncertainty of EVs at implementing a setpoint due to the unknown ramping properties of each EV. Finally, the computed setpoint is saturated depending on the current flexibility of the CS, computed by the CS itself and sent to the grid controller, represented by the interval
It is worth noting that the flexibility is lower bounded by the locked EVs and upper bounded by the maximum power of the unlocked EVs. The flexibility is not limited by the minimum power and the handling of any setpoint below
is ensured ay Algorithm 1. Besides, the controller cannot ensure to avoid the violation transformer rated-power violation due to the ramping mechanism of the locked EVs, but, in the worst-case scenario, it will take a time TL (locking period) to regain more flexibility, thus decreasing the consumption.
As our optimization problem in (H) is multi-objective, we define the following metrics for the performance evaluation:
where K is the amount of discrete time-steps during the selected control period and {circumflex over (P)}[k]={circumflex over (P)}i[k]. This metric is lower bounded by 0. Then, the close Mfr is to 0, the better the CS follows the aggregated setpoint.
where ΔEi[kistop] is the energy that remains to be satisfied at departure time, and ΔEi[kiarr] is the initial energy demand. Minsd∈[0, 1].
This metric shows the impact of the control scheme into the battery life. The closer Mibw to 0, the less impact.
The metric is lower bounded by 0, meaning that no violation of the transformer limit occurred.
Our finding is that for all scenarios, the combination of weights c0=1, c1=10 dominates among others.
The invention proposes a control scheme for controlling the charging of electric vehicles connected to a single charging station, while following an aggregated power-setpoint in real time. When tracking the power setpoint, the overall consumed power is allocated fairly among the connected EV, minimizing the impact on the battery life. Specifically, we formulate a mixed-integer-quadratic program based on novel integral terms to cope with time-dependent variables such as battery wearing and remaining energy-demand. In addition, the invention proposes a heuristic that reduces the number of integer variables in order to reduce the problem complexity, allowing it to be solved in real time.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/IB2019/054963 | 6/13/2019 | WO |