Real-Time Control of an Electric Vehicle Charging Station While Tracking an Aggregated Power-Setpoint

Information

  • Patent Application
  • 20220250500
  • Publication Number
    20220250500
  • Date Filed
    June 13, 2019
    5 years ago
  • Date Published
    August 11, 2022
    2 years ago
  • CPC
    • B60L53/64
    • B60L58/16
    • B60L53/53
    • B60L53/65
  • International Classifications
    • B60L53/64
    • B60L53/65
    • B60L53/53
    • B60L58/16
Abstract
An electric vehicle (EV) charging method which considers the EVs heterogeneity, taking into account the absence of any information about future arrivals and departures, and of the amount of time any charging will take. The method further considers both switch on and off possibilities and not an 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 not being arbitrarily small, the optimization problem is mixed integer by nature. Further, because the mixed-integer optimization is difficult to perform in real-time, the invention proposes a heuristic for reducing the number of integer variables, thus reducing the complexity of the problem.
Description
FIELD OF INVENTION

The invention is in the field of control of the charging of electric vehicles.


BACKGROUND

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.


SUMMARY OF INVENTION

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:










(
P
)


















min



P
i



[
k
]


,


ω
i



[
k
]








c
0



(




P
~

req



[
k
]


-








P
i



[
k
]




)


2






reference




tracking

















battery




wearing





{






+



c
1



(









P
i



[
k
]



-



P
^

i



[
k
]



)


2





λ
i



[
k
]



+













(

1
-


ω
i



[
k
]



)




ω
i



[

k
-
1

]





ρ
i



[
k
]






P
^

i
2



[
k
]



)



















fair




allocation






+








(



P
i



[
k
]


-


P
i
ref



[
k
]



)

2






(
11
)








s
.
t
.





P
i
min





ω
i



[
k
]






P
i



[
k
]





P
i
max




ω
i



[
k
]







(
12
)









ω
i



[
k
]




{

0
,
1

}


,



i




[
k
]








(
13
)









    • wherein {tilde over (P)}req[k]=Preq[k]−custom-characterP1[k],

    • wherein custom-character[k] is the collection of EVs that are locked at time k,

    • wherein λi[k]∈[0.5, 1] per EV i, quantifies how long ago and how large power changes were, and











λ
i



[
k
]


=

{







λ
i



[

k
i


]


+


(







P
^

i



[
k
]


-



P
^

i



[

k
i


]






P
i
max


)



(

1
-


λ
i



[

k
i


]



)







,







if











P
^

i



[
k
]


-


P
i



[

k
i


]






>


ϵ





and





k

-

k
i



<

T
L










(



λ
i



[

k
-
1

]


-

0
.
5


)


δ

+

0
.
5


,





otherwise
.












    • wherein Pimax is a maximum power that EV i can consume and ki′ is the time of the most recent change of the setpoint for EV i before k, so that Pi[κ]=Pi[ki′] for x=










k
i


,


k
i


+
1

,





,

k
-
1

,






    • and











ρ
i



[
k
]


=


0
.
5

+



ζ
i



[
k
]


/


(

2












ζ
i



[
k
]



)

.









    • with the unit-less quantity per EV as follows












ζ
i



[
k
]


=


𝓈
i



1

P
i
max




H


(



Δ







E
i
dem



[

k
i
arr

]





k
i
dep

-

k
i
arr



,






Δ







E
i
dem



[
k
]





k
i
dep

-
k



)




,






    • wherein the H represents the harmonic mean, and by property of the harmonic mean,











ζ
i



[
k
]




[

0
,


2






s
i


Δ



E
i
dem



[

k
i
arr

]





P
i
max



(


k
i
dep

-

k
i
arr


)




]





which depend on initial state of an EV, and, moreover, ζi[k] is monotonically increasing function of








Δ



E
i
dem



[
k
]





k
i
dep

-
k


,






    • wherein ΔEidem[k] is the remaining energy demand of EV i at time k and expected remaining charging k−kidep,

    • wherein si>0 is the parameter that differentiates service between classes of EVs,

    • whereby at the time k, reference powers, Piref[k]∈[0, Pimax] are computed for all EVs, ideally fair such that custom-characterPiref[k]=Preq[k],

    • thereby minimizing an impact on battery life of EVs.





In a preferred embodiment, the method further comprises formulating a mixed-integer-quadratic program based on integral terms to cope with time-dependent variables (ρii) 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]:








r
i



[
k
]


=

{







P
^

i



[
k
]




P
i
max




μ
i



[
k
]









if





Δ







P
req



[
k
]



<
0

,








P
i
max

-



P
^

i



[
k
]





P
i
max




μ
i



[
k
]







otherwise
,











    • wherein ΔPreq[k]={tilde over (P)}req[k]−custom-character{circumflex over (P)}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,

    • whereby, if an amount of unlocked EVs is initially less than m≥1, then all these unlocked EVs are enabled to change their on/off decision, and, otherwise, determined m EVs with a largest metric ri are taken,
    • whereby a heuristic partitions the collection of unlocked EVs, custom-character[k], into three collections: EVs that are forced to be switched or remain on (custom-characteron[k]), EVs that are forced to be switched or remain off (custom-characteroff[k]), and EVs for which the on/off decision is decided by the optimization problem (custom-character[k]).


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],

    • wherein








P

1

b


=




x



𝒮

o

n




[
k
]






P
i
min



,


P

u

b


=




i




𝒮

o

n




[
k
]




𝒮


[
k
]








P
i
max

.







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 custom-character[k] with highest rank to be switched on, and replacing it with highest ranked EV in custom-character=custom-character[k]\custom-character[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 custom-character[k], and replacing it with the highest ranked EV in custom-character.


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.





BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be better understood through the detailed description of preferred embodiments, and in reference to the drawings, wherein



FIG. 1 contains a schematic view of a general setup of a charging station according to an example embodiment of the invention;



FIG. 2 shows a curve representative of an evolution of λi[k];



FIG. 3 illustrates a result of water-filling algorithm for 5 EVs, wherein EVs 1, 4 and 5 are fully filled, whereas 2 and 3 have reference powers of hζ2 and hζ3 respectively;



FIG. 4 shows a schematic representation of a structure of a grid, the arrows showing positive directions of corresponding active-power flows; and



FIG. 5 describes an example heuristic in from of detailed Algorithm 1.





DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

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

    • the charging control problem;
    • details of the developed control strategy; and
    • provision of numerical examples with performance metrics to validate the inventive method.


In general, the approach taken in the context of the invention

    • assumes that the control scheme has no internal information about battery charging (e.g., ramping rates, current State-of-Energy), which is more realistic, as modern charging stations are myopic to these kinds of parameters;
    • concerns a method that provides sub-second-scale control. Whereas most of the existing methods work on minute scale, ours enables the CS to react faster to changes in the grid;
    • makes use of a realistic model for the batteries charging-power, i.e., an EV is either switched off (charging power is 0 W), or its power lies within non-zero bounds;
    • minimizes the battery wearing by avoiding large power jumps and reducing the number of cycles;
    • assumes that the departure time of an EV is only an estimation, hence we assume that the precise departure time is unknown.


Problem Statement
Charging-Station Model

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 FIG. 1). FIG. 1 illustrates a schematic view of a general setup of a charging station according to an example embodiment of the invention. The general setup comprises the charging station to which at least one electrical vehicle is/are connected. The controlling from the charging station of the charging power of any one of the EVs is done by sending respectively setpoint P1[k], P2[k], . . . PN[k] as shown by means of the dotted arrows directed to vehicles, and receiving in return corresponding readings {circumflex over (P)}1[k], {circumflex over (P)}2[k], . . . {circumflex over (P)}N[k]. After informing the grid controller about the readings, the charging station receives from the grid controller in real time an aggregated power-setpoint Preq[k], and sends back to the grid controller a flexibility parameter.


The CS receives aggregated setpoints, Preq[k], from the grid controller. In return, it sends its updated status that includes its flexibility.


Constraints of the EVs

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:

    • reaction delay is the time an EV takes to start modifying its power after receiving a new setpoint,
    • implementation delay is the time an EV takes to reach a new setpoint, which depends on the EV charger ramping-rate.


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.


Power Allocation of EVs

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:

    • 1) track the external request from a grid operator,
    • 2) minimize the wearing of EV batteries,
    • 3) maximize the EVs energy-demand satisfaction fairly,
    • 4) minimize the number of times the charging station stops the charging of an EV, while it is plugged-in.


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.


Control Scheme

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.

    • custom-character[k] is the collection of EVs that are unlocked at time k, just before starting a new computation of setpoints.
    • custom-character[k] is the collection of EVs that are locked at time k.
    • custom-character[k] is the collection of setpoints that will be computed for each EV in custom-character[k].


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 custom-character[k]. Our task is to find the collection of setpoints custom-character[k] and decisions Ω[k], while minimizing the objectives described in Section II. To this end we introduce the following objective function













c
0




f
0



(



[
k
]


)



+


c
1



(



f
1



(



[
k
]


)


+


f
2



(

Ω


[
k
]


)



)


+


f
3



(



[
k
]


)



,




(
1
)







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].


Aggregated Power-Setpoint Tracking

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 custom-character[k], while taking into account the locked EVs in custom-character[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]−custom-characterPi[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











f
0



(



[
k
]


)


=


(




P
~

req



[
k
]


-








P
i



[
k
]




)

2





(
2
)







Battery Wearing

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











λ
i



[
k
]


=

{







λ
i



[

k
i


]


+


(







P
^

i



[
k
]


-



P
^

i



[

k
i


]






P
i
max


)



(

1
-


λ
i



[

k
i


]



)







,







if











P
^

i



[
k
]


-


P
i



[

k
i


]






>


ϵ





and





k

-

k
i



<

T
L










(



λ
i



[

k
-
1

]


-

0
.
5


)


δ

+

0
.
5


,





otherwise
.










(
3
)







We now refer to FIG. 2 which shows a curve representative of an evolution of λi[k] in the lower part of the page, and in the upper half of the page, with same position of the k-axis, a curve of an evolution of setpoint Pi[k]. Different zones separated by dotted lines represent cases where the EV is unlocked or locked. The first case of Eq. (3) occurs when EV i is locked and the setpoint is not yet implemented. In this case, λi[k] increases linearly with respect to the implemented power change (grey area on FIG. 2). It is defined by the following conditions, first case (i) and second case (ii):











if








P
^

i



[
k
]



=



P
^

i



[

k
i


]



,


then







λ
i



[
k
]



=


λ
i



[

k
i


]



,
and




(
i
)








if











P
^

i



[
k
]


-



P
^

i



[

k
i


]






=

P
i
max


,



λ
i



[
k
]


=
1.





(
ii
)







In the second case, λi[k] i decreases exponentially with a decay δ (see FIG. 2). Observe that the right-hand side of Eq. (3) is always in [0.5, 1]. f1 uses the term Pi[k]−{circumflex over (P)}i[k] and f1(custom-character[k]) as follows











f
1



(



[
k
]


)


=




(



P
i



[
k
]


-



P
^

i



[
k
]



)

2





λ
i



[
k
]


.






(
4
)







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








Δ







E
i

d

e

m




[
k
]





k
i

d

e

p


-
k


.




Additionally for k=kiarr this power equals to








Δ







E
i

d

e

m




[

k
i
arr

]





k
i

d

e

p


-

k
i
arr



.




With this, we compute the unit-less quantity per EV as follows












ζ
i



[
k
]


=


s
i



1

P
i
max




H


(



Δ







E
i

d

e

m




[

k
i
arr

]





k
i

d

e

p


-

k
i

a

r

r




,






Δ







E
i
dem



[
k
]





k
i

d

e

p


-
k



)




,




(
5
)







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,








ζ
i



[
k
]




[

0
,


2


s
i


Δ



E
i
dem



[

k
i
arr

]





P
i
max



(


k
i
dep

-

k
i
arr


)




]





which depend on initial state of an EV. Moreover, ζi[k] is monotonically increasing function of








Δ



E
i

d

e

m




[
k
]





k
i

d

e

p


-
k


.




Consequently, we take











ρ
i



[
k
]


=


0
.
5

+



ζ
i



[
k
]


/


(

2












ζ
i



[
k
]



)

.







(
6
)







f2, which penalizes the switch off of EVs, is expressed as











f
2



(

Ω


[
k
]


)


=







(

1
-


ω
i



[
k
]



)




ω
i



[

k
-
1

]





ρ
i



[
k
]







P
^

i
2



[
k
]


.






(
7
)







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.


Fair Allocation of Charging Power

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 custom-characterPiref[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 custom-characterPiref=Preq (from here on, the time index k is omitted for simplicity of notation). For details, see FIG. 3. Here, we use again ζi to prioritize the EVs that need to be charged to satisfy their demand. Each EV i is represented as a water tank of width ζi and height








P
i
max


ζ
i


.




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):










(
A
)

















max

pref
i






ζ
i


log






P
i
ref














s
.
t
.




0

<

P
i
ref



P
i
max





(
8
)













P
i
ref


=

P
req





(
9
)







Full Formulation

By combining (1), (2), (4), (7), (10) with constraints, the optimisation problem to be solved, at each time k, is:










(
P
)


















min



P
i



[
k
]


,


ω
i



[
k
]








c
0



(




P
~

req



[
k
]


-




P
i



[
k
]




)


2






reference




tracking

















battery




wearing





{




+


c
1

(





(



P
i



[
k
]


-



P
^

i



[
k
]



)

2




λ
i



[
k
]



+











(

1
-


ω
i



[
k
]



)




ω
i



[

k
-
1

]





ρ
i



[
k
]






P
^

i
2



[
k
]



)



















fair




allocation






+




(



P
i



[
k
]


-


P
i
ref



[
k
]



)

2






(
11
)








s
.
t
.





P
i
min





ω
i



[
k
]






P
i



[
k
]





P
i
max




ω
i



[
k
]







(
12
)









ω
i



[
k
]




{

0
,
1

}


,



i




[
k
]








(
13
)







Real-Time Implementation Aspects
Reducing the Number of Integer Variables

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, custom-character[k], into three collections: EVs that are forced to be switched (or remain) on (custom-characteron[k]), EVs that are forced to be switched (or remain) off (custom-characteroff[k]), and EVs for which the on/off decision is decided by the optimization problem (custom-character[k]). We require that |custom-character[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.










(
H
)
















min



P
i



[
k
]


,


ω
i



[
k
]







(
11
)






s
.
t
.




(

12
,
13

)









ω
i



[
k
]


=
1

,



i



𝒮
on



[
k
]




,



ω
j



[
k
]


=
0

,



j



off



[
k
]








(
14
)







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 custom-character. Let us thus define the full flexibility of the CS at time k, as custom-character (see Section V-B), and the reduced flexibility (the one available for (H)), as the interval [Plb, Pub] with











P

1





b


=



P
i
min



,


P
ub

=




P
i
max

.







(
15
)







Thus, the partition {custom-character[k], custom-characteron[k], custom-characteroff[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 FIG. 5. First, we define a metric that takes into account both the past behaviour of the EVs power and their desire to be charged, as follows:












μ
i



[
k
]


=



λ
i



[
k
]


+


(

1
-


ω
i



[

k
-
1

]



)



(

1.5
-


ρ
i



[
k
]



)


+



ω
i



[

k
-
1

]





ρ
i



[
k
]





,




(
16
)







with μi[k]∈[1, 2], unit-less, and consisting of three parts:

    • λi[k] contains information about the past behaviour of the charging power. Smaller λi[k] means that EV i is more propense to change its power,
    • (1−ωi[k−1])(1.5−ρi[k]) identifies the propensity of a switched-off EV to switch on,
    • ωi[k−1]ρi[k] identifies the propensity of a switched-on EV to switch off.


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]:











r
i



[
k
]


=

{







P
^

i



[
k
]




P
i
max




μ
i



[
k
]









if





Δ







P
req



[
k
]



<
0

,








P
i
max

-



P
^

i



[
k
]





P
i
max




μ
i



[
k
]







otherwise
,









(
17
)







where ΔPreq[k]={tilde over (P)}req[k]−custom-character{circumflex over (P)}i[k]. Finally, we define the function (top(custom-character, m) that returns the index of the m elements with the largest ri[k] metric, from a collection custom-character. 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 custom-character with highest rank to be switched on, and replace it with highest ranked EV in custom-character=custom-character(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 custom-character (lines 15-17) and replace it with the highest ranked EV in custom-character.


Theorem 2, which expresses a correctness of the heuristics, is as follows:


given that m≥1, Alg. 1 finds the partition custom-character of custom-character, such that {tilde over (P)}req∈[Plb, Pub], |S|≤m. Alg. 1 takes at most |custom-character|−m iterations.


Validation

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 FIG. 4, this illustrates an example structure of the grid, in which the arrows show the positive directions of the corresponding active-power flows. Also FIG. 4 provides proof of S4. (a) {tilde over (P)}req<custom-character (visiting line 14), then it is impossible that custom-character<{tilde over (P)}req<custom-character. (b) Similarly, if {tilde over (P)}req>custom-character (visiting line 16), it is impossible that custom-character<{tilde over (P)}req<custom-character. Moreover, we consider that the CS is composed by 60 slots of 22 kW max. This is a stress test for our method since we will force the CS to opportunistically use the maximum available power.


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:

    • regular production, when the PV production is smooth,
    • sharp jump, when, for emergency reasons, part of the PV plant is suddenly disconnected, and
    • fluctuating production, when the PV production is characterized by large fluctuations.


We also analyze the influence of different combinations of weights co, c1 on the performance of our method.


Model of the Grid Controller

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











P
req

=


P
Tr
r

+

P
PV


-

Δ


P
CS





,




(
18
)







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











Δ


P
CS



=





i








P
i


-


P
^

i



,





=


{


i



|



P
i

-


P
^

i



0


}

.






(
19
)







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









=


[





i





P
i


,


min

(






i





P
i


+




i

𝒞



P
i
max



,


P
CS
r


)


]

.





(
20
)







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







min
i



P
i
min





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.


Performance Evaluation Metrics

As our optimization problem in (H) is multi-objective, we define the following metrics for the performance evaluation:

    • follow-request—measures how well a CS follows the aggregated setpoint










M
fr

=


1
K






k
=
1

K




"\[LeftBracketingBar]"




P
req

[
k
]

-


P
^

[
k
]




"\[RightBracketingBar]"








(
21
)







where K is the amount of discrete time-steps during the selected control period and {circumflex over (P)}[k]=custom-character{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.

    • non-satisfied demand—measures how well the charging demand of EV i is satisfied










M
i
nsd

=

Δ








E
i



[

k
i
stop

]


/
Δ








E
i



[

k
i
arr

]







(
22
)







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].

    • battery-wearing measures—the changes of the charging power










M
i
bw

=


1

2



(

P
i
max

)

2








k
=
1

K



(



P
i

[
k
]

-


P
i

[

k
-
1

]


)

2







(
23
)







This metric shows the impact of the control scheme into the battery life. The closer Mibw to 0, the less impact.

    • violation—measures the violation of the transformer capacity limit










M
viol

=


(




k
=
1

K



(



P
^

[
k
]

-

P
Tr
r

-


P
PV

[
k
]


)




(



P
^

[
k
]

-


P
PV

[
k
]


)



P
Tr
r





)

/

P
Tr
r






(
24
)







The metric is lower bounded by 0, meaning that no violation of the transformer limit occurred.


Simulation Findings

Our finding is that for all scenarios, the combination of weights c0=1, c1=10 dominates among others.


CONCLUSION

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.


REFERENCES



  • [1]D. Block, J. Harrison, and P. Brooker, “Electric Vehicle Sales for 2014 and Future Projections,” Florida Solar Energy Center, March 2015.

  • [2]K. Clement, E. J. Haesen, and J. Driesen, “Coordinated charging of multiple plug-in hybrid electric vehicles in residential distribution grids,” Proc. Power Syst. Conf. Expo., pp. 1-7, 2009.

  • [3]J. A. P. Lopes, F. J. Soares, and P. M. R. Almeida, “Integration of electric vehicles in the electric power system,” proc. IEEE, vol. 99, no. 1, pp. 168-183, January 2011.

  • [4]G. A. Putrus, P. Suwanapingkarl, D. Johnston, E. C. Bentley, and M. Narayana, “Impact of electric vehicles on power distribution net-works,” IEEE Vehicle Power and Propulsion Conference, September 2009.

  • [5]P. B. Evans, S. Kuloor, and B. Kroposki, “Impacts of plug-in vehicles and distributed storage on electric power delivery networks,” IEEE Vehicle Power and Propulsion Conference, September 2009.

  • [6]C. Dharmakeerthi, N. Mithulananthan, and T. Saha, “Impact of electric vehicle fast charging on power system voltage stability,” Electrical Power and Energy Systems, vol. 57, pp. 241-249, 2014.

  • [7]J. Pillai and B. Bak-Jensen, “Impacts of electric vehicle loads on power distribution systems,” IEEE Vehicle Power and Propulsion Conf., 2010.

  • [8]L. Fernandez,′ T. San Roman, R. Cossent, C. Domingo, and P. Frias, “Assessment of the impact of plug-in electric vehicles on distribution networks,” IEEE Trans. on Power Sys., vol. 26, no. 1, pp. 206-213, 2011.

  • [9]S. Acha, T. Green, and N. Shah, “Effects of optimised plug-in hybrid vehicle charging strategies on electric distribution network losses,” IEEE PES T&D 2010, April 2010.

  • [10] E. Scolari, D. Torregrossa, J.-Y. Le Boudec, and M. Paolone, “Ultra-short-term prediction intervals of photovoltaic AC active power,” Inter-national Conf. on Prob. Methods Applied to Power Systems, October 2016.

  • [11] A. Bernstein, L. Reyes-Chamorro, J.-Y. Le Boudec, and M. Paolone, “A composable method for real-time control of active distribution networks with explicit power set points. Part I: Framework,” Electric Power Systems Research, vol. 6, no. August, pp. 254-264, 2015.

  • [12] E. Sotromme and M. A. El-Sharkawi, “Optimal scheduling of vehicle-to-grid energy and ancillary services,” IEEE Transactions on Smart Grid, vol. 3, no. 1, pp. 351-359, March 2012.

  • [13] M. Liu, P. McNamara, and S. McLoone, “Fair charging strategies for EVs connected to a low-voltage distribution network,” IEEE PES ISGT Europe, 2013.

  • [14] S. Xie, W. Zhong, K. Xie, R. Yu, and Y. Zhang, “Fair energy scheduling for vehicle-to-grid networks using adaptive dynamic programming,” IEEE Trans. on Neural Networks and Learning Systems, vol. 27, no. 8, pp. 1697-1707, 2016.

  • [15] S. Vandael, B. Claessens, M. Hommelberg, T. Holvoet, and G. Decon-inck, “A scalable three-step approach for demand side management of plug-in hybrid vehicles,” IEEE Trans. on Smart Grid, vol. 4, no. 2, pp. 720-728, 2013.

  • [16] S. Deilami, A. Masoum, P. Moses, and M. A. S. Masoum, “Real-time coordination of plug-in electric vehicle charging in smart grids to minimize power losses and improve voltage profile,” IEEE Trans. on Smart Grid, vol. 2, no. 3, pp. 456-467, 2011.

  • [17] Z. Ma, D. Callaway, and I. Hiskens, “Decentralized charging control of large populations of plug-in electric vehicles,” IEEE Trans. on Control Sys. Tech., vol. 21, no. 1, pp. 67-78, 2013.

  • [18] Y. He, B. Venkatesh, and L. Guan, “Optimal scheduling for charging and discharging of electric vehicles,” IEEE Trans. on Smart Grid, vol. 3, no. 3, pp. 1095-1105, 2012.

  • [19] L. Gan, U. Topcu, and S. Low, “Optimal decentralized protocol for electric vehicle charging,” IEEE Trans. on Power Systems, vol. 28, no. 2, pp. 940-951, 2013.

  • [20] Y. Mou, H. Xing, Z. Lin, and M. Fu, “Decentralized optimal demand-side management for phev charging in a smart grid,” IEEE Trans. on Smart Grid, vol. 6, no. 2, pp. 726-736, 2015.

  • [21] M. Liu, S. McLoone, S. Studli, R. Middleton, R. Shorten, and J. Braslays, “On-off based charging strategies for EVs connected to a low voltage distribution network,” IEEE PES APPEEC, 2013.

  • [22] B. Radunovic and J.-Y. Le Boudec, “A unified framework for max-min and min-max fairness with applications,” IEEE/ACM Trans. on Net., vol. 15, no. October, pp. 1073-1083, 2007.

  • [23] F. S. Hillier and G. J. Lieberman, Introduction to Operations Research. McGraw-Hill, 2010


Claims
  • 1. 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 comprising 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:
  • 2. The method of claim 1, further comprising formulating a mixed-integer-quadratic program based on integral terms to cope with time-dependent variables (ρi,λi) such asbattery wearing, andremaining energy demand.
  • 3. The method of claim 2, wherein 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 comprising introducing a ranking metric ri[k], which combines the operational margins with μi[k]:
  • 4. The method of claim 1, wherein, if {tilde over (P)}req[k] ∉ [Plb, Pub] the method comprises looping until fulfilling a constraint of {tilde over (P)}req[k]∈[Plb, Pub], wherein
  • 5. The method of claim 4, whereby 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].
  • 6. The method of claim 4, whereby 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 .
PCT Information
Filing Document Filing Date Country Kind
PCT/IB2019/054963 6/13/2019 WO