You are on page 1of 4

2017 IEEE International WIE Conference on Electrical and Computer Engineering (WIECON-ECE)

18-19 December 2017, WIT, Dehradun, India

Optimal V2G and G2V Operation of Electric


Vehicles using Binary Hybrid Particle Swarm
Optimization and Gravitational Search Algorithm
Vishu Gupta1 , Srikanth Reddy K2 , Lokesh Panwar3 , Rajesh Kumar1 , and BK Panigrahi2
1
Department of Electrical Engineering, MNIT Jaipur, Rajasthan, India
2
Electrical Engineering, Indian Institute of Technology Delhi, India
3
Center for Energy Studies, Indian Institute of Technology Delhi, India
email: vishu.gupta0607@gmail.com, srikanthreddy@ee.iitd.ac.in, lokesh.panwar28@gmail.com,
rkumar.ee@gmail.com, bijayaketan.panigrahi@gmail.com

Abstract— The smart grid paradigm enables improved par- Apart from charging demand management, the storage of
ticipation of customers in operational aspects of power system. EV is utilized for multiple purposes such as energy services,
The optimal charge-discharge operation of electric vehicles (EV) ancillary and contingency services [6]. The same is inves-
is one of the means for improvising such customer participation.
Therefore, this paper presents a hybrid meta heuristic approach tigated by considering parking lot constraints in G2V and
using particle swarm optimization and gravitational search al- V2G operation. The charge-discharge event initiation aided by
gorithm for optimal charge-discharge event management of EVs aggregator and customer perspective is also examined [7]. The
in smart grid. The same is carried out in conjunction with the V2G operation therefore, is an important provision in enabling
unit commitment procedure of power system operation. The UC the customer participation and power system benefits using
problem belongs to the class of binary optimization problems
where the search space is constricted to binary digits. For this, EV. The charge-discharge event management of EV/PHEV in
the real valued optimization variables and process is mapped smart grid along with optimal generation scheduling comprises
to binary version using tangent hyperbolic transformation. The a complex optimization problem.
effectiveness of BHPSO-GSA is examined through extensive The UC problem belongs to the binary class optimization
numerical experiments on various scenarios. The simulation
results are presented, discussed and compared to other existing problems where, the search space is a binary vector, whereas,
approaches to demonstrate the superiority of proposed approach G2V and V2G operation is a real valued function optimization.
in solving UC problem with and without EV in smart grid. For this reason, a hybrid optimization with binary along with
Keywords- Particle Swarm Optimization (PSO), Gravitational real valued operations is needed to solve UC-V2G problem.
Search Algorithm (GA), Electric Vehicles, V2G, G2V , UC. This paper, presents a binary hybrid particle swarm opti-
I. I NTRODUCTION mization (BHPSO) and gravitational search algorithm (GSA)
to solve UC-V2G operation. The UC problem is solved by
Smart grid infrastructure and operational policies enable mapping the real valued search space and variables into binary
the customer participation in various operational aspects. The versions. Whereas, the V2G and/or G2V are dealt in real
emerging technology in enabling such participation is the valued variables.
deployment of electric vehicle (EV)/plug in EV (PHEV)/ The paper is organized as follows. The problem formulation
hybrid EV (HEV) to rejoice multiple benefits in transportation with UC and V2G objectives is presented in Section II along
as well as electricity sector through grid-to-vehicle (G2V) with associated UC and EV constraints. The overview of
and vehicle-to-grid (V2G) operations. The intelligent operation real valued and binary HPSO-GSA is explained in Section
and scheduling of charge-discharge events of EVs plays an III. Thereafter, the solution procedure for proposed UC-V2G
important role in achieving system wide benefits along with using BHPSO-GSA is presented in Section IV. The simula-
EV benefits. tion results are presented, discussed and compared to other
The earlier research aspects of EV integration into electric approaches in Section V. Section VI concludes the paper with
network included accessing the impact of charging demands key findings.
of EV on power system operation [1], followed by intelli-
gent EV charging to maintain a near flat system load [2].
The impact of large scale EV deployment on environmental
II. P ROBLEM FORMULATION
pollution is also examined [3]. Thereafter, charging demand
management of EV is considered along with network operation
using locational marginal price (LMP) modelling [4]. Later, The operation/scheduling of UC with V2G operation is
the charging load impact and management of the EV in aided by cost minimization objective with constraints asso-
conjunction with thermal units through UC is studied [5]. ciated with faithful operation of thermal units and EVs.

978-1-5386-2621-4/17/$31.00 ©2017 IEEE 157


2017 IEEE International WIE Conference on Electrical and Computer Engineering (WIECON-ECE)
18-19 December 2017, WIT, Dehradun, India

A. Objective function where, U ti min is the minimum up time of thermal unit i.


The total objective of UC-V2G problem consists of mini- • Ramp up and down rate constraints - The variation in
mizing the total cost which consists of three principle com- power generation between consecutive scheduling hours
ponents - fuel cost, thermal unit state transition cost (start- is limited by ramp up and ramp down rates of thermal
up and shut down cost), V2G operation cost, i.e minT C = unit, given as P imin t < P g h < P gmax h .
F uelcost + Startupcost + V 2Gcost. This is further given as, P gmin h = max((P i mn ).P i t-1 − Dri )
T X
I (6)
X P gmax h = max((P i mx ).P i t-1 − U ri ); ∀i ∈ I, t ∈ T
M in [Πi (P i (t))δ i (t) + ξ i (t)(1 − δ i (t − 1))δ i (t)]
t=1 i=1
(1) 3) EV constraints:
T
X • Number of EVs - The accommodation capacity of charg-
+varrhou | P V2G (t) − Lch/di (t)| ing station is limited as N V2G (t) = N V2G max ; ∀t ∈ τ
t=1
• SOC Limits of EVs - The charge-discharge events of EVs
where, T and I respectively denote the total scheduling hours are constrained due to SOC limits of EV storage limits
and number of thermal units, commitment and de-commitment as given by SoC min EV < SoC n EV < SoC max EV ,
status of unit i in hour t is described as δ i (t) and is a binary
status bit, the power generation allocation to ith committed unit III. H YBRID B INARY PARTICLE S WARM O PTIMIZATION
for tth time slot is represented by Pi (t), PV2G (t) denotes the grid G RAVITATIONAL S EARCH A LGORITHM (HBPSO-GSA)
interactive power of the EV, Lch/di (t) is the charge-discharge A. Real valued HPSO-GSA
loss coefficient of V2G/G2V operation, ξ i (t) and Πi (P g h ) are
The objective behind the introduction of HPSO-GSA is
start up and fuel cost functions ∀i ∈ I, t ∈ τ, δ i (t) ∈ {0, 1} as
to maximize the benefits of PSO social coordination and
given by,
( exploration properties of GSA [8]. This is a sequential process
ξ i H , if DT min i ≤ of f h g ≤ {Csh i + Dtmin i }; wherein the velocity and position updates of agents/variables
ξ i (t) = (2)
ξ i C , if {Csh i + Dtmin i } ≤ Of f i h ; are carried out by updating GSA followed by PSO particle
update. For N number of agent positions with dimension
Πi (P i (t))2 + bi P i (t) + ci ; i ∈ I (3) d(X̂ = x1 i , . . . xd i . . . xn i ) with [i = 1, 2, 3, . . . N ], the force
In (2), ξ i H and ξ i C are hot and cost start-up costs of ith of gravitation (F d i,j (t)) between ith agent and j th agent during
unit respectively, Dti min symbolizes the minimum down time time iteration k is given by,
(hours) and Of f i h is the time (hours) in de-committed state M pi (k)XM aj (k) d
for ith unit, Csi h represents the cold start hours of tth thermal F i,j d (t) = G(k) (xj (k) − xj d (k)) (7)
Ri,j (k) + 
unit. In (3), ai , bi and ci correspond to the fuel cost coefficients
of the ith thermal unit. where, M pi (k) and M aj (k) respectively represent the active
and passive gravitational masses of ith agent and j th agents,
B. Constraints
Gk denotes the gravitational constant at iteration k,  is a
The constraints for the UC-V2G operation are given as: small number/constant, Ri,j (k) denotes Euclidean distance of
1) System Constraints: Given ∀i ∈ I, t ∈ T , δ i (t) ∈ {0, 1}. separation among particles i and j. Gk and Ri,j (k) are defined
• Load Constraints - The power balance constraint acts as
as follows:
a hard {−α∗ k k }
PTconstraint
PI for optimization problem and is given Gk = G0 ∗ e max (8)
by, t=1 i=1 P i (t)δ i (t) = P t ;
• Reserve Constraint - The spinning reserve constraint can Ri,j (k) = kX̂ i , X̂ j k2 (9)
PT PT
be realized as follows: t=1 i=1 P t mx δ i ≥ (1 + r)P t ; ,
where, α reduces as the current iteration (k) approaches to
where, r is the % online capacity above load (reserve
maximum number of iterations (K max ). The force acting on
capacity margin), P t mx corresponds to the maximum
agent i can be expressed as,
capacity of ith thermal unit.
2) Thermal Unit Constraints: N
X
• Power generation bound constraints - The upper and F i d (k) = rj F i,j d (k) (10)
lower generation bounds acts as bound constraints for j=1,j6=i

the UC V2G optimization problem as given by (4) where, rj is uniformly distributed random number in [0,1]. The
P i mn ≤ P i δ i (t) ≤ P i mx ; ∀i ∈ I, t ∈ T , δ i (t) ∈ {0, 1} (4) agent update in GSA is performed by acceleration of mass,
which is in direct proportion with force (F i d (k)) and in inverse
• Minimum up and down time constraints - The minimum proportion with the mass of inertia for agent i (M ii k) as given
up/down constraints are specified for the whole schedul- by,
ing period, as given by, F i d (k)
aci d (k) = (11)
(1 − δ i t+1 )U ti min ≤ Oni h if f δ i (t) = 1; M ii (k)
δ i i+1 Dti min ≤ Of f i h , if f δ i (t) = 0; (5) where, the mass (inertial, passive) of the agent i (Mai = Mpi =
∀i ∈ I, t ∈ T , δ i (t + 1) ∈ {0, 1} Mii ) is calculated after every iteration k using the fitness of ith

978-1-5386-2621-4/17/$31.00 ©2017 IEEE 158


2017 IEEE International WIE Conference on Electrical and Computer Engineering (WIECON-ECE)
18-19 December 2017, WIT, Dehradun, India

agent (f i (k)), best fitness (f best (k)), worst fitness (f worst (k))
as follows:
f i (k) − f worst (k)
mi (k) = (12)
f best (k) − f worst (k)
mi (k)
M ii (k) = P (13)
( j = 1)N mj (k)
The update operation of Gbest in HBPSO-GSA is carried
out using PSO update as the GSA is vulnerable to slow
convergence rate at the end of iteration process. This can
be due to the minimal movement of masses towards the
end of iterations, or as k moves towards k max , the distance
between masses will reduce drastically (as all the masses are
wandering near to best solution and experiencing same force
between them) which reduces the exploitation ability of the
Fig. 1: Flow chart of UC-V2G solution procedure
masses/agents. This problem is solved in PSO-GSA by guiding
the heavier masses using Gbest obtained using best fitness after
PSO update process as given by, • Find the fitness and assign Gbest .
d
V̂ i (k+1) = rand∗ V̂ i (k)+c1 ∗sci (k)+c2 ∗(Gbest − X̂ i ) (14) 2) Real valued position update -
where, the velocity of ith agent during the k th iteration is given • Evaluate the force between agents using (7).

by V̂ i (k), c1 , c2 are accelerating factors, rand is a uniformly • Estimate agents’ acceleration coefficients using (9).

distributed random number over [0,1], Gbest corresponds to • Update velocity/positions of agents using (14)/(15).

the best solution obtained so far among all agents N, aci d (k) 3) Binary Valued Position Update and Economic Load Dis-
is the acceleration coefficient of ith agent/particle. The velocity patch (ELD) - The real valued position of the agents is
update operation is followed by the position update operation followed by the binary update (16). The committed units
as in (15). are then allotted with generation using ELD. The fitness
value/cost is sorted to update Gbest . This procedure is
X̂ i (k + 1) = X̂ i (k) + V̂ i (k + 1) (15) continued until the stopping criteria (function tolerance
B. Binary HPSO-GSA (BHPSO-GSA) or kmax ) is achieved.
BHPSO-GSA can be formulated by using any transfer 4) Constraint Repair - Since, the presented BHPSO-GSA
functions that is used for binary mapping of real valued search is a heuristic search process, the variables at times may
space. The selection of transfer function is subjected to its experience constraint violation. Direct constraint repair
efficiency in allocating high transition probability for higher through heuristic adjustment is used as follows.
values of velocity change in real valued optimization process • Check for violation of power balance constraint and

and vice-versa. The bounds of the transfer function should be repair with unit transition if needed.
between 0 and 1 to facilitate state transition. In this work, a • Check for reserve constraint violation and update bit

hyperbolic transfer function is employed, transition in preceding hour.


( • Execute decommitment in case of excess reserve by
= 0|tanh(V̂ i d (k + 1))| > N r turning off the units.
ϕi d (k + 1) = (16)
= 1Otherwise • Continue checking till all constraints are satisfied for
total scheduling horizon.
where, tanh(V̂ i d (k)) represents the hyperbolic tangent trans-
formation of real valued velocity update of ith agent as follows, IV. R ESULTS AND D ISCUSSION
1− eV i d (k + 1) The proposed BHPSO-GSA is evaluated for test system with
tanh(V̂ i d (k + 1)) = (17) 10 thermal units and 50000 EVs aggregated. Thermal unit
1+ eV i d (k + 1)
operating characteristics and cost parameters are adopted from
C. Solution for UC-V2G using BHPSO-GSA
[6] and GSA and PSO algorithm parameters are from [7]. The
The procedure for UC-V2G is explained through flow chart hourly spinning reserve is assumed to be 10% of the load at
shown in Fig. 1. In Fig 1., the solution procedure can further that particular hour. The minimum and maximum SOC levels
be described as: of the EV storage are assumed to be 0.5 and 1 respectively.
1) Initialization - The UC-V2G model is executed for 30 identical trials. The
• Initialize algorithm parameters - number of agents N, proposed BHPSO-GSA is applied to two cases - with and
maximum number of iterations (k max ),c1 ; c2 ; G0 ; ; without V2G attributes. The best operational cost without and
• Initialize the positions and velocities randomly with with V2G operation is $563977 and $560015 respectively.
dimension ((N +1)*T) The average cost of operation without EV is $564758.41

978-1-5386-2621-4/17/$31.00 ©2017 IEEE 159


2017 IEEE International WIE Conference on Electrical and Computer Engineering (WIECON-ECE)
18-19 December 2017, WIT, Dehradun, India

against the UC-V2G operation with average operation cost


of $563428. Table 1 shows the performance comparison of
BHPSO-GSA with and without EV.
TABLE I: Performance comparison of BHPSO-GSA
PSO LR-PSO
Best Worst Avg. Best Worst Avg.
Without V2G 567029 567436 567191.8 565870 - -
With V2G - - - - - -
GA BPSO
Best Worst Avg. Best Worst Avg. Fig. 3: EV charge-discharge characteristics
Without V2G 565825 - 570032 565814 - -
With V2G - - - - - -
ALR BF
Best Worst Avg. Best Worst Avg. with commitment and decommitment status of thermal units
Without V2G 565508 - - 564842 - -
With V2G - - - - - - occupying either 0 or 1 states in a binary search pace. Suit-
MHPSO BHPSO-GSA able changes are incorporated in HPSO-GSA through tangent
Best Worst Avg. Best Worst Avg.
Without V2G 564419 564432.7 564423.9 563977 565315.49 564758.41 hyperbolic transfer function to map the real valued variables
With V2G - - - 560015.49 564848.19 563428
into binary variables. However, the charge-discharge event are
It can be observed that the performance of BHPSO-GSA optimizing the real valued HPSO-GSA only. The UC-V2G
is superior compared to PSO[9], Modified hybrid PSO (MH- operation using BHPSO-GSA is evalued using test system with
PSO) [10],Lagrangian relaxation with PSO (LR-PSO) [9], thermal units and EVs. The comparison of simulation results
Binary PSO (BPSO)[9], GA[11], Bacterial Foraging (BF) [12] concludes the effectiveness of proposed BHPSO-GSA UC and
and Adaptive Lagrangian Relaxation (ALR)[13], with respect UC-V2G effectively.
to solution quality. The commitment and schedule of thermal
units without and with UC-V2G operation is shown in Fig. 2(a) R EFERENCES
and 2(b) respectively. It can be observed that, EV deployment [1] Cong Liu; Jianhui Wang; Botterud, A.; Yan Zhou; Vyas, A., ”Assessment
of Impacts of PHEV Charging Patterns on Wind-Thermal Scheduling by
Stochastic Unit Commitment,” in Smart Grid, IEEE Transactions on ,
vol.3, no.2, pp.675-683, June 2012
[2] Xu, N.Z.; Chung, C.Y., ”Well-Being Analysis of Generating Systems
Considering Electric Vehicle Charging,” in Power Systems, IEEE Trans-
actions on , vol.29, no.5, pp 2311-2320, Sept. 2014
[3] KeKoster, D.R.; Morrow, K.P.; Schaub, D.A.; Hubele, N.F., ”Impact of
electric vehicles on select air pollutants: a comprehensive model,” in
Power Systems, IEEE Transactions on , vol.10, no.3, pp.1383-1388, Aug
1995
[4] N. O’Connell, Q. Wu and J. Istergaard, ”Efficient determination of
(a) distribution tariffs for the prevention of congestion from EV Charging,”
2012 IEEE Power and Energy Society General Meeting, San Diego, CA,
2012, pp. 1-8.
[5] Saber, A.Y.; Venayagamoorthy, G.K., ”Resource Scheduling Under Un-
certainty in a Smart Grid With Renewables and Plug-in Vehicles,” in
Systems Journal, IEEE , vol.6, no.1, pp.103-109, March 2012.
[6] Reddy, K.S.; Panwar, L.K.; Kumar, R., ”Potential bene
ts of electric vehicle deployment as responsive reserve in unit commit-
ment,” in Industrial and Information Systems (ICIIS), 2014 9th Interna-
tional Conference on , vol., no., pp.1-6, 15-17 Dec. 2014
[7] C. Jin, J. Tang and P. Ghosh, ”Optimizing Electric Vehicle Charging: A
Customer’s Perspective,” in IEEE Transactions on Vehicular Technology,
(b) vol. 62, no. 7, pp. 2919-2927, Sept. 2013.
[8] Seyedali Mirjalili , Gai-Ge Wang, Leandrodos S. Coelho, Binary op-
Fig. 2: Thermal UC and generation scheduling: a) Without timization using hybrid particle swarm optimization and gravitational
G2V/V2G b)With G2V/V2G search algorithm, Neural Computing and Applications, Volume 25, Issue
6, pp 1423-1435, November 2014.
[9] T. Logenthiran and D. Srinivasan, ”Particle swarm optimization for unit
for V2G purpose has resulted in transition of peak units commitment problem,” in Proc. IEEE 11th Probab. Methods Appl. power
(10th unit) from committed to de-committed state. The charge- Syst. Int. Conf., Singapore, 2010, pp. 642-647.
[10] D. Sharma, D. Srinivasan, and P. N. Manji,”A modified hybrid particle
discharge events, duration and power are shown in Fig. 3. It swarm optimization approach for unit commitment,” in Proc. IEEE Evol.
can be observed from the EV schedule that, decommitment Comput. Congr., New Orleans, LA, USA, 2011, pp. 1738-1745.
transition of peak thermal units is facilitated by the discharge [11] S. A. Kazarlis, A. G. Bakirtzis, and V. Petridis, ”A genetic algorithm
solution to the unit commitment problem,” IEEE Transactions on power
events of EVs during peak load hours. systems, vol. 11, no. 1, pp. 83-92, Feb 1996.
[12] M. Eslamian, S. H. Hosseinian, and B. Vahidi, ”Bacterial foraging-based
V. C ONCLUSION solution to the unit-commitment problem,” IEEE Trans. Power Syst., vol.
24, no. 3, pp. 1478-1488, Aug. 2009.
In this paper, a hybrid particle swarm optimization and [13] W. Ongsakul and N. Petcharaks, ”Unit commitment by enhanced adap-
gravitational search algorithm is presented to solve UC-V2G tive Lagrangian relaxation,” IEEE Trans. Power Syst., vol. 19, no. 1, pp.
620-628, Feb. 2004.
efficiently. The UC problem is modeled as binary problem

978-1-5386-2621-4/17/$31.00 ©2017 IEEE 160

You might also like