Next Article in Journal
Hybrid Blockchain Platforms for the Internet of Things (IoT): A Systematic Literature Review
Previous Article in Journal
Multilevel Fine Fault Diagnosis Method for Motors Based on Feature Extraction of Fractional Fourier Transform
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Energy Scheduling Based on Jaya Algorithm for Integration of Vehicle-to-Home and Energy Storage System with Photovoltaic Generation in Smart Home

by
Min Wang
1,* and
Modawy Adam Ali Abdalla
1,2,*
1
College of Energy and Electrical Engineering, Hohai University, Nanjing 211100, China
2
Electrical Engineering Department, College of Engineering Science, Nyala University, Nyala 63311, Sudan
*
Authors to whom correspondence should be addressed.
Sensors 2022, 22(4), 1306; https://doi.org/10.3390/s22041306
Submission received: 5 December 2021 / Revised: 30 January 2022 / Accepted: 31 January 2022 / Published: 9 February 2022
(This article belongs to the Section Intelligent Sensors)

Abstract

:
With the emerging of the smart grid, it has become easier for consumers to control their consumption. The efficient use of the integration of renewable energy sources with electric vehicle (EV) and energy storage systems (ESSs) in the smart home is a popular choice to reduce electricity costs and improve the stability of the grid. Therefore, this study presents optimal energy management based on the Jaya algorithm for controlling energy flow in the smart home that contains photovoltaic generation (PV), integrated with ESS and EV. The objective of the proposed energy management is to reduce electricity cost while meeting the household load demand and energy requirement for the EV trip distance. By using the Jaya algorithm, the modes of home-to-vehicle (H2V) and vehicle-to-home (V2H) are controlled, in addition to controlling the purchase of energy from the grid and sale of the energy to the grid from surplus PV generation and ESS. Before EV participation in the V2H process, the amount of energy stored in the electric vehicle battery will be verified to be more than the energy amount required for the remaining EV trip to ensure that the required energy for the remaining EV trip is satisfied. Simulation results highlight the performance of the optimal energy scheduling to achieve the reduction of the daily electricity cost and meeting of load demand and EV energy required. The simulation results prove that optimal energy management solutions can be found with significant electricity cost savings. In addition, Jaya is compared with the particle swarm optimization (PSO) algorithm in order to evaluate its performance. Jaya outperforms PSO in terms of achieving optimal energy management objectives.

1. Introduction

Nowadays, the increase in energy consumption has become one of the problems that face the power network, especially in the residential sector due to population growth and urbanization, in addition to the use of many appliances by several homes at the same time, which in turn leads to the peaks load [1,2]. Moreover, with the advent of electric vehicles as new technology, carbon emissions have decreased in the transportation sector. In contrast, electricity consumption has increased in the energy sector due to the dependence of electric vehicles on electricity energy as it is the main source [3,4,5]. A recent report indicated that the number of EVs has reached 13 million in 2021 and is expected to exceed 73 million by 2025 [6]. The increase in the number of EVs may increase the peak demand, especially in the residential sector, because electric vehicles are considered among loads of high energy consumption. The peak demand affects the grid flexibility and creates an imbalance between generation and demand. To balance generation and demand, utility companies offer a program called demand response (DR). The demand response program urges the consumers to shift their consumption from peak period to off-peak period (lower electricity price time), depending on the prices provided by utility companies such as time of use (TOU) and real-time pricing (RTP) [7].
On the other hand, the inclusion of renewable energy sources such as solar energy along with the grid contributes to reducing the peak and enhances the flexibility of the grid in addition to the economic benefits due to photovoltaic electricity price subsidy and decrease of PV module cost [8]. However, due to the variability of the available solar energy, the generation period sometimes does not coincide with the period of energy demand. To avoid the intermittent generation of PV, solar energy is used with battery storage [9]. Storage in both stationary battery and electric vehicle batteries has spread because of a reduction in their prices. Although the spread of EV is considered a challenge to the power grid, if it is used in a smart way, such as the technology of the vehicle to anything in conjunction with the stationary battery, it can reduce peak demand and electricity costs.
In contrast, the challenge is how to manage the energy for combining storage in both stationary battery and electric vehicle batteries with grid-connected PV. Therefore, energy management strategies represented by demand-side management (DSM) techniques are significantly important to deal with these challenges. Energy management strategies that rely on the DSM technique operate to match generation with demand by managing the appliances energy consumption on the user side and controlling stationary battery, electric vehicle battery, and PV generation [10]. There are many advantages that DSM techniques provide to grid utilities and consumers, such as reducing peak demand, reducing consumers energy costs, improving the system load curve, and maximizing the use of renewable energy sources. Therefore, this study will focus on optimal scheduling of grid-connected photovoltaic system with stationary battery and EV under a TOU program, in addition to how homeowners schedule their consumption, storage, and sale of surplus energy to the grid so that energy is managed in an optimal way and electricity costs are reduced.
The rest of this study is arranged as follows: The literature review is introduced in Section 2. Section 3 describes system structure and mathematical formulation. Optimal energy scheduling based on the Jaya algorithm is detailed in Section 4. Section 5 discusses the simulation results of the optimal energy scheduling. Lastly, Section 6 elaborates the conclusion.

2. Literature Review

The problem of optimal scheduling of consumption, storage, and/or generation in smart homes is considered an optimization problem that is not easy to control. Therefore, several studies have been presented on optimization methods for optimal energy optimal scheduling in smart homes, such as genetic algorithm (GA) [11], mixed-integer linear programming (MILP) [12], mixed-integer nonlinear programming (MINLP) [13], stochastic dynamic programming (SDP) [14], convex programming (CP) [15], shuffled frog leaping algorithm (SFLA) [16], multi-agent system (MAS) [17], and particle swarm optimization (PSO) [18]. In order to determine optimal load energy consumption under a dynamic pricing environment in residential buildings, the genetic algorithm (GA) is proposed with the purpose of reducing the total energy costs [11]. The framework of mixed-integer linear programming (MILP) under the home energy management system (HEMS) model was presented in [12], to limit the peak power with the possibility of bidirectional use of the electric vehicle and energy storage system. Small-scale PV generation, bidirectional energy storage system, V2H, and V2G capabilities, and different demand response strategies were integrated into the proposed HEMS model. In [13], mixed-integer nonlinear programming (MINLP) was formulated for scheduling battery and home appliances under the TOU tariff in the smart home to reduce cost, peak shaving, and valley filling. In [14], the study examined stochastic energy management for the smart home associated with sustainable energy supplies (PV) and the local energy storage opportunity provided by vehicle electrification (EV). Random-variable models such as PV generation and home energy consumption predictive models and Markov Chain model of EV mobility are developed. The stochastic energy management problem was formulated using optimal stochastic dynamic programming (SDP) to manage the power flow between energy sources and reduce the energy cost under TOU while satisfying EV charging requirements and home power demand. In [15], an optimization framework for sizing components and efficient energy use in a residential building with electric vehicle, ESS, and photovoltaic generation was devised. The optimization framework was formulated as a convex programming (CP) problem to efficiently control and optimize the ESS parameters. Vehicle-to-home (V2H) mode, home-to-vehicle (H2V) mode, and buying of electric energy to charge the energy storage system from the grid were controlled based on the convex programming (CP) algorithm.
In [16], the shuffled frog leaping algorithm (SFLA) was designed for optimal scheduling of photovoltaic generation (PV), energy storage system, electric vehicle (EV), and the electric heater (EH) in the smart home through HEMS. The suggested algorithm minimized the daily energy consumption cost and met the electrical and thermal loads. In [17], an efficient real-time embedded system and energy management (RT-ES-EM) was developed in the smart home by using a new multi-agent system (MAS). The proposed algorithm seeks to optimize electricity production without interruption in the hybrid-system-contained solar system with fuel cell backup system (FC). The integration of the electric vehicle (EV) as energy storage systems (ESSs) with uninterruptible power supply (UPS) under demand response help was introduced to reduce electricity bills while maintaining user comfort in the smart home. Electric water heater (EWH), an electric water pump (EWP), heating ventilating, and air conditioning (HVAC) were taken as home appliances which are scheduled by an algorithm of particle swarm optimization (PSO) [18]. In [19], a robust swarm-based optimization algorithm inspired by the grey wolf lifestyle, called grey wolf optimizer (GWO), was adapted to address power scheduling problems in a smart home (PSPSH). PSPSH is formulated as a multi-objective optimization problem to minimize the cost of the power consumed by home appliances, balancing the power consumed during a time horizon, particularly at peak periods, and maximizing the satisfaction level of users. Furthermore, grey wolf optimizer (GWO) and artificial bee colony (ABC) optimization algorithm under ToU pricing scheme based on the Internet of energy have been proposed to define the rates for shoulder-peak and on-peak hours and reduce demand in smart homes [20].
Moreover, several hybrid optimization algorithms have been proposed for optimal energy scheduling in smart homes, for instance, in [21], the HEMS model is designed based on four heuristic algorithms: genetic algorithm (GA), wind driven optimization (WDO), binary particle swarm optimization (BPSO), and bacterial foraging optimization algorithm (BFOA). In addition, a hybrid algorithm called genetic BPSO (GBPSO) is suggested for optimal scheduling of household appliances under real-time pricing (RTP), aiming to reduce the electricity bill and peak-to-average ratio (PAR). In [22], authors proposed a home energy management (HEM) strategy modeled as a mixed-integer linear programming (MILP) with a general algebraic modeling system (GAMS). The proposed strategy reduces electricity cost and compensates reactive power at the grid integration point. The proposed HEM works on scheduling the charging and discharging of the ESS and EV, in addition to scheduling shiftable loads (SL). An algorithm called quadratic binary particle swarm optimization (QBPSO) has been proposed for scheduling household appliances in a smart home equipped with variable renewable energy sources (wind and solar). The proposed algorithm works on optimal scheduling of appliances under both RTP and TOU tariffs to reduce electricity bills with consideration of consumers’ comfort [23]. A hybrid algorithm called firefly lion algorithm (FLA) has been proposed for reducing the cost of energy and the waiting time of consumers or end-users on the university campus [24].
Considering the valuable contributions introduced through the above-proposed optimization algorithms in the HEMS model, most mathematical algorithms, such as MILP and MINLP, have computational complexity or increased system complexity. On the other hand, the heuristic algorithms mentioned above, such as GA and PSO, require algorithmic-specific control parameters that can affect performances and increase computational time. Therefore, optimization algorithms that do not need any algorithmic-specific parameters for their execution and functioning, but just require common parameters such as population size and generation size, have recently been used in solving optimization problems, for example, the Jaya algorithm. Jaya is a simple, powerful, and new optimization algorithm developed by Rao for solving constrained and unconstrained optimization problems (which only requires common control parameters) [25]. Many studies have been proposed for optimal energy scheduling in smart homes by using the Jaya algorithm in the HEMS model, as in [26,27]. In [26], the Jaya algorithm was proposed for optimal energy scheduling in smart homes integrated with the photovoltaic system (PV) and energy storage system (ESS). The proposed algorithm operates on optimal scheduling of ESS and home appliances in response to critical peak price (CPP) and time-of-use (TOU) to reduce the cost of electricity. A multi-objective self-adaptive multi-population algorithm has been suggested for optimal energy scheduling in smart buildings equipped with rooftop PV and ESS. The proposed algorithm based on the Jaya algorithm was developed to minimize carbon emission and electricity price [27]. Table 1 shows a summary of techniques, objectives, features, and limitations of the literature.
To overcome the shortcomings of the previous studies, this study proposes a Jaya framework for the rapidly and efficiently optimal energy scheduling of a smart home with the ESS, EV, and photovoltaic generation. The aim of this work is to reduce the daily cost of electricity and meet the household demand and energy requirement for the EV trip distance. The major contributions of this study are summarized as follows:
  • Indeed, the main contribution of this work was to monitor the energy flow of the studied home by using the Jaya algorithm according to the following constraints: TOU electricity price signal, the specific daily load profile, PV generation profile, EV constraints, ESS constraints, and power balance, exchange, and flow constraints.
  • One of the advantages that distinguish this work is that it takes into account the effect of EV travel distance when using the EV in vehicle-to-home (V2H) mode. Therefore, before EV participation in the V2H process, the amount of energy stored in the electric vehicle battery will verify to be enough for the remaining vehicle trip distance to ensure that the required energy for the electric vehicle trip distance is satisfied based on vehicle trip distance. The verification of required energy for the electric vehicle trip distance has not been performed in any literature.
  • The proposed model elaborates that by using the Jaya algorithm, the modes of home-to-vehicle (H2V) and vehicle-to-home (V2H) are controlled, in addition, to controlling the purchase of energy from the grid and sale of the energy to the grid from PV generation and ESS.

3. System Structure and Mathematical Modeling

3.1. Studied System Structure

The configuration of the typical smart home is depicted in Figure 1. Besides the utility grid, the smart home under study includes a load profile, electricity price signal, solar radiation, photovoltaic system (PV), an electric vehicle (EV), household appliances, and an energy storage system. In order to achieve an optimal energy scheduling between the power grid and the studied smart home, a smart meter is required to collect information about the power quantity required or supplied to the utility grid [28]. In addition, the smart home energy management system (HEMS) is in charge of optimal energy exchange between smart house components and the utility grid [29,30]. The optimal control problem of energy scheduling between the power grid and the studied smart home entails control inputs as TOU electricity price signal, the specific daily load profile, PV generation profile, EV parameters, and ESS parameters. The control decisions are the power flows between the grid and the studied smart home, state of charge (SOC) of EV and ESS, which have battery charging and discharging power as control variables, and the arrival and departure time of the electric vehicle. The main objective is to reduce the daily cost of electricity and meet the household demand and energy requirement for the EV trip distance, taking into account the necessary constraints. This problem is of great importance because worldwide research on DSM, of which the main purpose is to match generation with demand by managing and controlling the energy consumption, energy storage, and generation on the user side, has opened new possibilities for advanced planning and control of consumption storage and generation, especially at the residential level in which the scheduling of energy consumption storage and generation can play a major role. Figure 2 displays the different combinations of energy exchange paths between components of the smart home.

3.2. Mathematical Modeling

3.2.1. Objective Function

The objective function of this study is the economic optimization of the smart home performance, aiming to minimize the total cost of electricity. The objective function is composed of three parts. The first part is the cost of power bought from the grid. The second part is the daily cost of PV and ESS installation and the daily EV battery degradation cost. The third part is the revenue of power sold to the grid.
M i n H c o s t = C o s t P b u y + C o s t P V , E S S , E V i n s t a l l a t i o n r e v e n u e P s e l l
C o s t P b u y = t = 1 24 λ t P G L , t P P V L , t P E S S L , t P E V L , t + t = 1 24 λ o f f P G E S S , t + P G E V , t
C o s t P V , E S S , E V i n s t a l l a t i o n = C o s t P V capital + C o s t E S S capital + C o s t E V d e g r a d a t i o n
r e v e n u e P g r i d s e l l = t = 1 24 γ λ t P P V G , t + λ k P E S S G , t
where P G L , t is power from the grid-to-load (kW), P G E S S , t represents the power from the grid-to-ESS (kW), P G E V , t represents power from the grid-to-EV (kW), P P V G , t represents the power from the PV-to-grid (kW), P E S S G , t represents the power from the ESS-to-grid (kW), P P V L , t represents the power from the PV-to-load (kW), P E S S L , t represents the power from the ESS-to-load (kW), P E V L , t represents the power from the EV-to-load (kW), and g a m m a is the contracted ratio for selling power to the grid.
The TOU pricing signal λ t is used in the economic optimization of the smart home performance, peak price λ k , mid-peak price λ m , and off-peak price λ o f f . The daily electricity price during different periods can be formulated as follows.
λ t = λ k , t = t k λ m i d , t = t m i d λ o f f , t = t o f f
The C o s t P V capital and C o s t E S S capital represent the daily capital cost of the PV installation and the daily capital cost of ESS installation, which are formulated as in Equations (6) and (7) respectively [31], and C o s t E V d e g r a d a t i o n represents the EV battery degradation cost due to V2H, which is formulated as in Equation (8) [32].
C o s t P V capital = C P V i 1 + i N 1 + i N 1 Z P V N d a y s
C o s t E S S capital = C E S S i 1 + i N 1 + i N 1 Z E S S N d a y s
C o s t E V d e g r a d a t i o n = C E V C f D O D Z E V D O D E E V R η E V d
where C P V is one-time installation cost of PV ($/kW), i is the interest rate, N is lifetime, N d a y s is the total number of days during the year, Z P V is rated capacity of PV array size (kW), C E S S is the one-time installation cost of ESS ($/kWh), Z E S S is rated capacity of ESS (kWh), C E V is the replacement cost of EV battery, C f is the full cycles number during battery lifespan, D O D is the total number depth of discharge, Z E V is rated capacity of EV battery (kWh), E E V R is the required energy for the EV travel distance in the typical day (kWh), and η E V d is the EV battery discharge efficiency.
The required energy for the electric vehicle trip distance can be represented by the following equation [33].
E E V R = η V D
where η V represents vehicle efficiency (kWh/km), and D represents the vehicle travel distance (km).

3.2.2. Operational Constraints of PV

The PV output constraint depends on power out from the PV array. The PV array consists of many solar cells that are interconnected in series and/or parallel to convert sunlight into DC power by a photovoltaic effect. The hourly power output from the PV generator of the specific area size can be formulated as follows:
P P V = η P V Z P V I P V
where η P V represents PV generator efficiency and I P V represents the solar radiation (kWh/m 2 ).
The efficiency of the PV generator is given by [34].
η P V = η R 1 0.9 ρ I P V I P V , N T T C , N T T A , N T ρ T A T R
where η R is the PV generator efficiency measured at reference cell temperature T R , i.e., under standard test conditions (25 C); ρ is the temperature coefficient for cell efficiency (typically 0.004–0.005/C); I P V , N T is the average hourly solar irradiation incident on the array at NT (0.8 kWh/m2); T C , N T (typically 45 C) and T A , N T (20 C) are, respectively, the cell and ambient temperatures at NT test conditions.
The constraint of PV output in this study that lies in PV power generation should be greater than or equal to the amount of PV power for immediate customer use, the amount of PV power used to charge ESS and EV, and the amount of PV power sold to the grid.
P P V L , t + P P V E S S , t + P P V E V , t + P P V G , t P P V , t

3.2.3. Operational Constraints of ESS

The state of charge of ESS constraint: Due to the limited capacity of the ESS, the ESS state of charge at time interval t will change depending on the residual energy from the past period and the charging and discharging in that interval. According to the state of charge of ESS at the past period, the state of charge of the current period can be formulated as
S O C E S S , t = S O C E S S , t 1 + 1 Z E S S η E S S c P E S S , t c P E S S , t d η E S S d
where S O C E S S , t is the ESS SOC at time t, S O C E S S , t 1 is the SOC of ESS in past period, P E S S , t c represents charging power of ESS (kW), P E S S , t d represents discharging power of ESS (kW), Z E S S represents the ESS rated capacity (kWh), and η E S S c and η E S S d represent charging and discharging efficiency of ESS, respectively.
ESS SOC boundary constraint: To maintain the state of charge of the ESS within the minimal and maximal allowable capacity, the state of charge of ESS is constrained as follows.
S O C E S S , min S O C E S S , t S O C E S S , max
where S O C E S S , max is the maximum SOC of ESS, and S O C E S S , min is the minimum SOC of ESS.
The constraint of sale of energy stored in the ESS to the grid: The energy stored in the ESS must be sold to the grid at peak price periods only.
P E S S G , t = 0 P E S S G , t P E S S G max , λ t = λ k 0 , o t h e r w i s e
The constraint of charging ESS from the grid: The ESS must be charging from the grid at off-peak price periods only.
P G E S S , t = 0 P G E S S , t P G E S S max , λ t = λ o f f 0 , o t h e r w i s e

3.2.4. Operational Constraints of EV

Similar to ESS, the EV battery state of charge will change due to charging and discharging depending on the remaining energy from the previous period. The following equation expresses the state of charge of EV battery in the current period depending on the state of charge of EV battery at the past period.
S O C E V , t = S O C E V , t 1 + 1 Z E V η E V c P E V , t c P E V , t d η E V d
where S O C E V , t represents EV battery SOC at time t, S O C E V , t 1 represents state of charge of EV battery at the past period, P E V , t c represents charge power of EV (kW), P E V , t d represents discharge power of EV (kW), Z E V represents the EV battery rated capacity (kWh), and η E V c and η E V d represent charging and discharging efficiency of EV battery, respectively.
In addition, similar to the ESS SOC constraint, the SOC of the EV should be within a certain range represented by the maximum and minimum state of charge levels as follows.
S O C E V , min S O C E V , t S O C E V , max
where S O C E V , max is the maximum SOC of EV battery, and S O C E V , min is the minimum SOC of EV battery.
The constraint of charging EV from the grid: The EV must only be charging from the grid at off-peak price periods.
P G E V , t = 0 P G E V , t P G E V max , λ t = λ o f f 0 , o t h e r w i s e
The constraint of providing the required energy for the electric vehicle trip distance in case of EV battery discharging: Before the participation of EV in the V2H process, the amount of energy stored in the electric vehicle battery will be verified to be enough for the remaining vehicle trip distance to ensure that the required energy for the electric vehicle trip distance is satisfied based on vehicle trip distance. Therefore, the state of charge of EV battery at departure time must be equal or higher than SOC required for the EV trip distance.
S O C E V , t S O C E V , R 1 , t = t d 1 .
S O C E V , t S O C E V , R 2 , t = t d 2 .
where S O C E V , R 1 is the SOC required for the EV trip distance at the first departure time t d 1 , and S O C E V , R 2 is the SOC required for the remaining EV trip distance at the second departure time t d 2 .

3.2.5. Power Balance Constraint

The power of grid, PV, ESS, and EV must supply household power demand as follows.
P G L , t + P P V L , t + P E S S L , t + P E V L , t = P L , t
From Equation (22), the bought power from the grid and power generated by PV besides the discharged power from ESS and EV battery should be equal to the home power demand, where P L , t is the household power demand at time t (kW).

3.2.6. Power Exchange Constraints

Electricity energy should not be sold to the grid and bought from the grid at the same time, which can be formulated and satisfied using a binary variable ( β ). From Equations (23) and (24), it is worth noting that the home can draw power from the grid when β is equal to 1 and sell back power to the grid when β is equal to 0.
P G L , t + P G E S S , t + P G E V , t β P max g r i d
P P V G , t + P E S S G , t 1 β P max s e l l
where P max g r i d is the maximum power that can be drawn from the grid (kW), and P max s e l l is the maximum power that can be sold back to the grid (kW).

3.2.7. Power Flow Constraints

For safety and other physical reasons, power flow from each source must be non-negative and less than the maximum allowable value as
0 P G L , t P G L max
0 P G E V , t P G E V max
0 P G E S S , t P G E S S max
0 P P V L , t P P V L max
0 P P V E V , t P P V E V max
0 P P V E S S , t P P V E S S max
0 P P V G , t P P V G max
0 P E S S L , t P E S S L max
0 P E S S G , t P E S S G max
0 P E V L , t P E V L max

4. Optimal Energy Scheduling Based on Jaya Algorithm

In this work, the problem introduced in Section 3.1 is the optimal control problem of energy scheduling between the power grid and the studied smart home, which belongs to scheduling problems. Most traditional mathematical algorithms, such as MILP and MINLP, are not adequate to control the scheduling optimization, and have computational complexity or increase system complexity. Therefore, metaheuristic algorithms such as GA, PSO, and Jaya are more and more used in scheduling optimization. In most cases, they give a good solution in a reasonable time for larger problems. However, some of the metaheuristic algorithms, such as GA and PSO, require algorithmic-specific control parameters that can affect performances and increase computational time. Therefore, to address this, we apply a metaheuristic Jaya algorithm to actualize our set of objectives, which do not need any algorithmic-specific parameters for their execution and functioning but just require common parameters such as population size and generation size. The Jaya algorithm is proposed and the result is compared with the PSO algorithm.
The theoretical and algorithmic aspects of Jaya are detailed in [25]. Suppose there is F(x) as an objective function that can be maximized or minimized. In any iteration t, let j represent the variables number (m = 1, 2, , j) and k represent population size or candidate number (n = 1, 2, , k). In addition, assume that the best value of the objective function (F(x)best) is found from the best candidate among all candidate solutions and the worst value of the objective function (F(x)worst) is found from the worst candidate among all candidate solutions. Let Xm,n,t be the value of mth variable for nth candidate at the tth iteration, then the value will be modified by the following equation:
X m , n , t = X m , n , t + r 1 X m , b e s t , t X m , n , t r 2 X m , w o r s t , t X m , n , t
where X m , b e s t , t represents the variable m best value obtained for the best candidate, X m , w o r s t , t is the variable m worst value obtained for the worst candidate, X m , n , t the modified value of X m , n , t , r 1 and r 2 are random values between zero and one. The r 1 X m , b e s t , t X m , n , t is the term of moving near to the best solution and r 2 X m , w o r s t , t X m , n , t is term of avoiding the worst solution. After that, the new solution value, found by X m , n , t , and previous solution value found by X m , n , t will be compared, and if the new solution value is better than the previous solution value, the new value will be accepted and will replace the previous solution. Otherwise, the previous solution will be kept and it will continue to work in that manner until the end of iteration t. The pseudocode of Jaya is outlined in Algorithm 1, which is simple to understand.
Algorithm 1: Pseudocode of Jaya.
1:
Input: Input: objective function (f), Population size (n)
Number of design variables (m), Lower and Upper bounds (Lb,Ub),
and Maximum number of iterations (Maxiter)
2:
Output: best solution and best objective function value
3:
Initialize the population within lower and upper bounds randomly
4:
Evaluation of fitness values
5:
iter = 1
6:
while iter < Maxiter
7:
Find the best and worst solution among the current population
8:
       for n = 1 to k do
9:
            for m = 1 to j do
10:
               Update the solution according to Equation (35)
11:
              if  X m , n , t < Lb
12:
                   X m , n , t = Lb
13:
              else if  X m , n , t > Ub
14:
                   X m , n , t = Ub
15:
              else
16:
                   X m , n , t = X m , n , t
17:
              end if
18:
           end for
19:
           if solution f( X m , n , t ) better than f( X m , n , t )
20:
               X m , n , t = X m , n , t (replace old solution by new solution)
21:
           else
22:
               X m , n , t = X m , n , t (keep old solution)
23:
           end if
24:
       end for
25:
iter = iter + 1
26:
end while
The objective function of the studies system in Equation (1) is used as Jaya objective function, which is of great interest to the household economic optimization performance, which is formulated to minimize the total cost of electricity. The constraints in this study are represented by PV constraints (Equation (12)), the ESS constraints (Equations (13)–(16)), the EV battery constraints (Equations (17)–(21)), the power balance constraints (Equation (22)), power exchange constraints (Equations (23) and (24)), and power flow constraints (Equations (25)–(34)). The number of design variables in this work is equal to the number of power flow equations, which include P G L , t , P G E S S , t , P G E V , t , P P V L , t , P P V E V , t , P P V E S S , t , P P V G , t , P E S S G , t , P E S S L , t , and P E V L , t . The flowchart in Figure 3 displays the optimal energy scheduling based on the Jaya algorithm for integrating vehicle-to-home and energy storage systems with photovoltaic generation in smart homes.

5. Simulation Results and Discussion

This section provides simulation results to verify the proposed algorithm’s performance and efficiency in minimizing the smart home’s daily electricity cost. The computational time of this study is executed within 24 h.
The solar irradiation and temperature data were taken from [35], which provides the solar meteorological data from 1981 to the date of access on 1 November 2021. To simplify, the hourly solar meteorological data during the last five years were utilized to evaluate the average power output curve of solar in summer and winter, which can be depicted in Figure 4a.
The electricity pricing signal for residential customers is shown in Figure 4b, which represents the residential time-of-use rates that refer to the Southern California Edison (SCE) TOU plans [36]. This figure displays the price profile of electricity with TOU in different intervals, which displays off-peak, mid-peak, and peak electricity prices during the time of day. It motivates the customers to charge their ESS and EV at low prices of electricity which can be used later on to feed load demand or sell it back to the grid at high prices of electricity to achieve economic benefits.
Near-real-time hourly electricity consumption data was collected from 48 states by the US energy information administration (EIA) [37]. They found that household electricity consumption is highest in the summer months. In contrast, hourly electricity load is less variable during the winter months but peaks in both the morning and the evening. Therefore, in this study, the home energy consumption in summer and winter are predicted as shown in Figure 5a.
PV systems prices in 2021 decreased by 5% compared to the previous year for systems from 2.5 kW to 10 kW. The PV data used in this study are presented in Table 2 [38].
It is supposed that the electric vehicle charges only at home, and the adequate level to charge the EV in the house ranges between 1.5–3 kW [39]. The electric vehicle daily travel distance is considered 40 miles, which is the average travel distance in the United States [40]. Furthermore, it is assumed that the electric vehicle is away from the house at 8:00 a.m., and back at the house at 12:00 p.m., away from the house again at 02:00 p.m., and back at house at 05:00 p.m., as in Figure 5b. Technical and economic data of the EV utilized in this study are taken from [41], and manufacturer specification and economic data of the chosen batteries used in the hybrid system are taken from [42]. Table 3 lists the parameters of EV and ESS used in this simulation. In this work, the interest rate is considered to be 6%. All Jaya parameters used in this simulation are shown in Table 4.
Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10 display the optimal power flows achieved with the proposed optimal energy scheduling based on the Jaya algorithm.
Figure 6a,b show the optimal power flows to feed the load demand of the customer during the typical day in summer and winter, respectively, which include power from the grid to load, power from PV to demand, power from ESS to demand, and power from EV to demand. During the peak time (high electricity price), the load is fed only by PV generation, ESS, and EV, while the load is fed from the grid during low electricity price or off-peak period only, unless the PV generation is not sufficient to supply the load, and maximum allowable value for feeding the load from ESS or EV is less than the load, or if EV is not available at home, the load will be fed from the grid at peak time.
Figure 7 displays the optimal power flows from/to the energy storage system during the typical day in winter and summer, which include power from ESS to load and grid and power from PV generation and grid to ESS. The ESS is charged from the grid during off-peak intervals. When the PV generation is sufficient and more than the household load, priority is given to charge the ESS from the PV generation in those periods. The energy stored in the ESS is utilized to minimize the daily cost of electricity and satisfy the demand by discharging the ESS to feed the load during peak periods, and periods when PV generation is insufficient, in addition to selling the energy stored in the ESS to the grid when the electricity prices are high.
The optimal power flows from/to EV battery during the typical day in winter and summer are plotted in Figure 8. The electric vehicle power flows include charging EV from the grid during the off-peak periods, charging EV from solar when the solar generation is higher than the load demand, and EV discharging to feed the load. In addition, this involves meeting the load demand through discharging of EV to feed the load demand when the load demand is greater than the generated PV and has not been fed by the ESS, after making sure that the energy stored in the EV battery is more than the amount of energy required for the remaining electric vehicle trip.
Figure 9a,b illustrate procured power from the grid to feed the load demand, ESS, and EV in summer and winter, respectively. According to Figure 9a,b procured power from the grid was reduced during the high electricity price intervals and increased during low electricity prices, which minimized the household’s total cost.
Figure 10a,b illustrate sold power to the grid in summer and winter, respectively, including the power sold to the grid from PV and ESS. It is noted that PV power is sold to the grid as soon as the PV generation is redundant, while the energy stored in the ESS is not sold to the grid unless the electricity prices are high, which increases the income of selling electricity.
The ESS state-of-charge curve in summer and winter is illustrated in Figure 11a,b, respectively. These figures show that the ESS is in charge and discharge status, and it is noted that the state of charge is increased in the period of high irradiation and off-peak time and decreased at the peak period. In addition, the figures confirm that the SOC is within the maximum and minimum levels during ESS charge and discharge, and the SOC boundary constraints have been satisfied.
Figure 12a,b show EV battery SOC profiles in summer and winter, respectively, and the increase and decrease of EV battery SOC values confirm the charge and discharge cases. From these figures, it is worth noting that the EV battery SOC boundary constraints have been satisfied.
In order to evaluate the performance of the Jaya algorithm and prove its reliability, PSO is adapted and evaluated in terms of achieving optimal energy scheduling objectives. The results obtained by Jaya and PSO are compared to show and evaluate the performance of the algorithms. PSO is examined using the same parameters and constraints used in the studied smart home. Table 5 shows the parameter settings of the PSO.
The results of Jaya and PSO are compared in summer and winter. Table 6 shows the results obtained by Jaya and PSO in summer and winter. The table clearly shows the powerful performance of Jaya in achieving the optimal energy scheduling objectives.
In the summer, without the proposed energy scheduling system, the daily home electricity cost due to the feed of household appliances and EV from the grid is USD 9.27, while after the use of proposed optimal energy scheduling based on the Jaya and PSO algorithms, daily home electricity cost dropped to USD 2.79 and USD 3, which represent 30% and 32% of total energy consumption cost during the summer, respectively (which means that the total energy consumption cost during the summer was reduced by 70% and 68%). On the other hand, in the winter, without the proposed energy scheduling system, the daily home electricity cost due to the feed of household appliances and EV from the grid is USD 8.75. However, after utilizing the Jaya and PSO algorithms with the proposed hybrid system, the daily home electricity cost was reduced to USD 4.0 and USD 4.3, which represent 46% and 49% of total energy consumption cost during the winter, respectively (which means that the total energy consumption cost during the winter was reduced by 54% and 51%).

6. Conclusions

This paper introduced optimal energy management based on the Jaya algorithm for the smart home that integrates PV generation of EV and ESS. The aim of the proposed work was to reduce the daily cost of electricity and meet the household demand and energy requirement for the EV trip distance according to the set of constraints: TOU electricity price signal, the specific daily load profile, PV generation profile, EV constraints, ESS constraints, and power balance, exchange, and flow constraints. The Jaya algorithm was used to control modes of home-to-vehicle (H2V) and vehicle-to-home (V2H), in addition to control of the energy purchase from the grid and sale of the energy to the grid from surplus PV generation and ESS. Simulation results highlight the performance.
The simulation results display that, by utilizing optimal energy scheduling based on the Jaya algorithm in a smart home containing electric vehicle, ESS, and photovoltaic generation, the use of PV generation, EV, and ESS was maximized. In addition, it can be noted that ESS and EV play a great role in storing power from the grid during cheap electricity price periods and feeding the load demand and selling it back to the grid during high electricity price periods. Therefore, with the optimal scheduling based on the Jaya algorithm of PV generation, EV, and ESS, the homeowner consumes a minimum grid power amount and minimizes their daily electricity cost.

Author Contributions

Conceptualization, M.A.A.A. and M.W.; methodology, M.A.A.A. and M.W.; software, M.A.A.A.; validation, M.A.A.A.; writing—original draft preparation, M.A.A.A.; writing—review and editing, M.W.; supervision, M.W.; funding acquisition, M.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Science and Technology Project of State Grid Corporation of China, Grant Number: 52094021000Q.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

SOCState of charge
V2HVehicle-to-home
H2VHome-to-vehicle
PVPhotovoltaic
EVElectric vehicle
ESSEnergy storage system
HEMSHome energy management system
NTStandard and nominal cell operating temperature conditions
D O D Total number depth of discharge
DVehicle travel distance (km)
iInterest rate
NLifetime
N d a y s Total number of days during the year
γ Contracted ratio for selling power to the grid
λ t Electricity price during different periods of day
λ k Peak price
λ m Mid-peak price
λ o f f Off-peak price
η E V d EV battery discharge efficiency
η V Vehicle efficiency (kWh/km)
η P V PV generator efficiency
η R The PV generator efficiency at reference temperature
η E S S c Charging efficiency of ESS
η E S S d Discharging efficiency of ESS
η E V c Charging efficiency of EV battery
η E V d Discharging efficiency of EV battery
β Binary variable
ρ Temperature coefficient for cell efficiency
P G L , t Power from the grid-to-load (kW)
P G E S S , t Power from the grid-to-ESS (kW)
P G E V , t Power from the grid-to-EV (kW)
P P V G , t Power from the PV-to-grid (kW)
P E S S G , t Power from the ESS-to-grid (kW)
P P V L , t Power from the PV-to-load (kW)
P E S S L , t Power from the ESS-to-load (kW)
P E V L , t Power from the EV-to-load (kW)
P E S S , t c Charging power of ESS (kW)
P E S S , t d Discharging power of ESS (kW)
P E V , t c Charging power of EV (kW)
P E V , t d Discharge power of EV (kW)
P L , t Household power demand at time t
P max g r i d Maximum power that can be drawn from the grid (kW)
P max s e l l Maximum power that can be sold back to the grid (kW)
C o s t P V capital Daily capital cost of the PV installation
C o s t E S S capital Daily capital cost of ESS installation
C o s t E V d e g r a d a t i o n EV battery degradation cost due to V2H
C P V One-time installation cost of PV (USD/kW)
C E S S One time installation cost of ESS (USD/kWh)
C E V Replacement cost of EV battery
C f Full cycles number during battery lifespan
Z P V Rated capacity of PV array size (kW)
Z E S S Rated capacity of ESS (kWh)
Z E V Rated capacity of EV battery (kWh)
E E V R Required energy for the EV travel distance in the typical day (kWh)
I P V Solar radiation (kWh/m2)
I P V , N T The average hourly solar irradiation incident on the array at NT
T A Ambient temperatures
T R Reference cell temperature
T C The cell temperature
T C , N T Cell temperatures at NT
T A , N T Ambient temperatures at NT
S O C E S S , t ESS SOC at time t
S O C E S S , t 1 SOC of ESS in past period
S O C E S S , max Maximum SOC of ESS
S O C E S S , min Minimum SOC of ESS
S O C E V , t EV battery SOC at time t
S O C E V , t 1 State of charge of EV battery at the past period
S O C E V , max Maximum SOC of EV battery
S O C E V , min Minimum SOC of EV battery
S O C E V , R 1 SOC required for the EV trip distance at the first departure time t d 1
S O C E V , R 2 SOC required for the remaining EV trip distance at the second departure time t d 2
t d 1 First departure time
t d 2 Second departure time
X m , b e s t , t Variable m best value obtained for the best candidate
X m , w o r s t , t Variable m worst value obtained for the worst candidate
X m , n , t Modified value of X m , n , t
r 1 and r 2 Are random values between zero and one

References

  1. Nejat, P.; Jomehzadeh, F.; Taheri, M.M.; Gohari, M.; Majid, M.Z.A. A global review of energy consumption, CO2 emissions and policy in the residential sector (with an overview of the top ten CO2 emitting countries). Renew. Sustain. Energy Rev. 2015, 43, 843–862. [Google Scholar] [CrossRef]
  2. Abbaker, A.O.; Wang, H.; Tian, Y. Voltage control of solid oxide fuel cell power plant based on intelligent proportional integral-adaptive sliding mode control with anti-windup compensator. Trans. Inst. Meas. Control 2020, 42, 116–130. [Google Scholar] [CrossRef]
  3. Habib, S.; Kamran, M.; Rashid, U. Impact analysis of vehicle-to-grid technology and charging strategies of electric vehicles on distribution networks a review. J. Power Sources 2015, 277, 205–214. [Google Scholar] [CrossRef]
  4. Slama, S.A.B. Design and implementation of home energy management system using vehicle to home (H2V) approach. J. Clean. Prod. 2021, 312, 127792. [Google Scholar] [CrossRef]
  5. Abdalla, M.A.A.; Min, W.; Gomaa Haroun, A.H.; Elhindi, M. Optimal Energy Scheduling Strategy for Smart Charging of Electric Vehicles from Grid-Connected Photovoltaic System. In Proceedings of the 2021 7th International Conference on Electrical, Electronics and Information Engineering (ICEEIE), Malang, Indonesia, 2 October 2021; pp. 37–42. [Google Scholar]
  6. Bibra, E.M.; Connelly, E.; Gorner, M.; Lowans, C.; Paoli, L.; Tattini, J.; Teter, J. Global EV Outlook, Accelerating Ambitions Despite the Pandemic; International Energy Agency (IEA): Paris, France, 2021. [Google Scholar]
  7. Hafeez, G.; Wadud, Z.; Khan, I.U.; Khan, I.; Shafiq, Z.; Usman, M.; Khan, M.U.A. Efficient energy management of IoT-enabled smart homes under price-based demand response program in smart grid. Sensors 2020, 20, 3155. [Google Scholar] [CrossRef]
  8. Martinopoulos, G. Are rooftop photovoltaic systems a sustainable solution for Europe? A life cycle impact assessment and cost analysis. Appl. Energy 2020, 257, 114035. [Google Scholar] [CrossRef]
  9. Lee, S.; Choi, D.H. Energy management of smart home with home appliances, energy storage system and electric vehicle: A hierarchical deep reinforcement learning approach. Sensors 2020, 20, 2157. [Google Scholar] [CrossRef] [Green Version]
  10. Gelazanskas, L.; Gamage, K.A. Demand side management in smart grid: A review and proposals for future direction. Sustain. Cities Soc. 2014, 11, 22–30. [Google Scholar] [CrossRef]
  11. Oladeji, O.; Olakanmi, O.O. A genetic algorithm approach to energy consumption scheduling under demand response. In Proceedings of the 2014 IEEE 6th International Conference on Adaptive Science & Technology (ICAST), Ota, Nigeria, 29–31 October 2014; pp. 1–6. [Google Scholar]
  12. Erdinc, O.; Paterakis, N.G.; Mendes, T.D.; Bakirtzis, A.G.; Catalao, J.P. Smart household operation considering bi-directional EV and ESS utilization by real time pricing-based DR. IEEE Trans. Smart Grid 2014, 6, 1281–1291. [Google Scholar] [CrossRef]
  13. Setlhaolo, D.; Xia, X. Optimal scheduling of household appliances with a battery storage system and coordination. Energy Build. 2015, 94, 61–70. [Google Scholar] [CrossRef]
  14. Wu, X.; Hu, X.; Moura, S.; Yin, X.; Pickert, V. Stochastic control of smart home energy management with plug-in electric vehicle battery energy storage and photovoltaic array. J. Power Sources 2016, 333, 203–212. [Google Scholar] [CrossRef] [Green Version]
  15. Wu, X.; Hu, X.; Teng, Y.; Qian, S.; Cheng, R. Optimal integration of a hybrid solar-battery power source into smart home nanogrid with plug-in electric vehicle. J. Power Sources 2017, 363, 277–283. [Google Scholar] [CrossRef] [Green Version]
  16. Lorestani, A.; Aghaee, S.S.; Gharehpetian, G.B.; Ardehali, M.M. Energy management in smart home including PV panel, battery, electric heater with integration of plug-in electric vehicle. In Proceedings of the 2017 Smart Grid Conference (SGC), Tehran, Iran, 20–21 December 2017; pp. 1–7. [Google Scholar]
  17. Sami, B.S.; Sihem, N.; Bassam, Z. Design and implementation of an intelligent home energy management system: A realistic autonomous hybrid system using energy storage. Int. J. Hydrogen Energy 2018, 43, 19352–19365. [Google Scholar] [CrossRef]
  18. Sisodiya, S.; Kumbhar, G.B.; Alam, M.N. A home energy management incorporating energy storage systems with utility under demand response using PSO. In Proceedings of the 2018 IEEMA Engineer Infinite Conference (eTechNxT), New Delhi, India, 13–14 March 2018; pp. 1–6. [Google Scholar]
  19. Makhadmeh, S.N.; Al-Betar, M.A.; Alyasseri, Z.A.A.; Abasi, A.K.; Khader, A.T.; Damasevicius, R.; Abdulkareem, K.H. Smart Home Battery for the Multi-Objective Power Scheduling Problem in a Smart Home Using Grey Wolf Optimizer. Electronics 2021, 10, 447. [Google Scholar] [CrossRef]
  20. Alhasnawi, B.N.; Jasim, B.H.; Rahman, Z.A.S.; Siano, P.A. Novel Robust Smart Energy Management and Demand Reduction for Smart Homes Based on Internet of Energy. Sensors 2021, 21, 4756. [Google Scholar] [CrossRef]
  21. Javaid, N.; Naseem, M.; Rasheed, M.B.; Mahmood, D.; Khan, S.A.; Alrajeh, N.; Iqbal, Z. A new heuristically optimized Home Energy Management controller for smart grid. Sustain. Cities Soc. 2017, 34, 211–227. [Google Scholar] [CrossRef]
  22. Golshannavaz, S. Cooperation of electric vehicle and energy storage in reactive power compensation: An optimal home energy management system considering PV presence. Sustain. Cities Soc. 2018, 39, 317–325. [Google Scholar] [CrossRef]
  23. Jordehi, A.R. Binary particle swarm optimisation with quadratic transfer function: A new binary optimisation algorithm for optimal scheduling of appliances in smart homes. Appl. Soft Comput. 2019, 78, 465–480. [Google Scholar] [CrossRef]
  24. Ullah, H.; Khan, M.; Hussain, I.; Ullah, I.; Uthansakul, P.; Khan, N. An Optimal Energy Management System for University Campus Using the Hybrid Firefly Lion Algorithm (FLA). Energies 2021, 14, 6028. [Google Scholar] [CrossRef]
  25. Rao, R. Jaya: A simple and new optimization algorithm for solving constrained and unconstrained optimization problems. Int. J. Ind. Eng. Comput. 2016, 7, 19–34. [Google Scholar]
  26. Samuel, O.; Javaid, S.; Javaid, N.; Ahmed, S.H.; Afzal, M.K.; Ishmanov, F. An efficient power scheduling in smart homes using Jaya based optimization with time-of-use and critical peak pricing schemes. Energies 2018, 11, 3155. [Google Scholar] [CrossRef] [Green Version]
  27. Manzoor, A.; Judge, M.A.; Almogren, A.; Akhunzada, A.; Fattah, S.; Gani, A.; Zareei, M. A priori multiobjective self-adaptive multi-population based jaya algorithm to optimize ders operations and electrical tasks. IEEE Access 2020, 8, 181163–181175. [Google Scholar] [CrossRef]
  28. Duerr, S.; Ababei, C.; Ionel, D.M. SmartBuilds: An energy and power simulation framework for buildings and districts. IEEE Trans. Ind. Appl. 2016, 53, 402–410. [Google Scholar] [CrossRef] [Green Version]
  29. Li, W.T.; Thirugnanam, K.; Tushar, W.; Yuen, C.; Chew, K.T.; Tai, S. Improving the operation of solar water heating systems in green buildings via optimized control strategies. IEEE Trans. Ind. Inform. 2018, 14, 1646–1655. [Google Scholar] [CrossRef]
  30. Benzi, F.; Anglani, N.; Bassi, E.; Frosini, L. Electricity smart meters interfacing the households. IEEE Trans. Ind. Electron. 2011, 58, 4487–4494. [Google Scholar] [CrossRef]
  31. Singh, S.; Singh, M.; Kaushik, S.C. Feasibility study of an islanded microgrid in rural area consisting of PV, wind, biomass and battery energy storage system. Energy Convers. Manag. 2016, 128, 178–190. [Google Scholar] [CrossRef]
  32. Li, X.; Tan, Y.; Liu, X.; Liao, Q.; Sun, B.; Cao, G.; Wang, Z. A cost-benefit analysis of V2G electric vehicles supporting peak shaving in Shanghai. Electr. Power Syst. Res. 2020, 179, 106058. [Google Scholar] [CrossRef]
  33. Abdalla, M.A.A.; Min, W.; Mohammed, O.A.A. Two-Stage Energy Management Strategy of EV and PV Integrated Smart Home to Minimize Electricity Cost and Flatten Power Load Profile. Energies 2020, 13, 6387. [Google Scholar] [CrossRef]
  34. Tazvinga, H.; Xia, X.; Zhang, J. Minimum cost solution of photovoltaic-diesel-battery hybrid power systems for remote consumers. Sol. Energy 2013, 96, 292–299. [Google Scholar] [CrossRef]
  35. National Renewable Energy Laboratory. Available online: https://midcdmz.nrel.gov/ (accessed on 1 November 2021).
  36. Time-of-Use Residential Rate Plans—Southern California Edison. Available online: https://www.sce.com/residential/rates/Time-of-Use-Residential-Rate-Plans (accessed on 1 November 2020).
  37. U. EIA, Hourly Electricity Consumption Varies Throughout the Day and Across Seasons. Available online: https://www.eia.gov/todayinenergy/detail.php?id=42915 (accessed on 1 November 2021).
  38. Feldman, D.; Wu, K.; Margolis, R. H1 2021 Solar Industry Update. United States: N. 2021. Available online: https://www.nrel.gov/docs/fy21osti/80427.pdf (accessed on 1 November 2021).
  39. Young, K.; Wang, C.; Wang, L.Y.; Strunz, K. Electric vehicle battery technologies. In Electric Vehicle Integration into Modern Power Networks; Springer: New York, NY, USA, 2013; pp. 15–56. [Google Scholar]
  40. McGuckin, N.; Fucci, A. Summary of Travel Trends: 2017 National Household Travel Survey; Technical Report No. FHWA-PL-18-019; Federal Highway Administration, US Department of Transportation: Washington, DC, USA, 2018. [Google Scholar]
  41. Konig, A.; Nicoletti, L.; Schroder, D.; Wolff, S.; Waclaw, A.; Lienkamp, M. An Overview of Parameter and Cost for Battery Electric Vehicles. World Electr. Veh. J. 2021, 12, 21. [Google Scholar] [CrossRef]
  42. Trojan J185 Solar AGM SAGM 12 205 12V 205 AH Battery. Available online: https://www.thesolarbiz.com/trojan-solar-j185-agm-12v-205-ah-battery.html (accessed on 1 November 2021).
Figure 1. Configuration of smart home.
Figure 1. Configuration of smart home.
Sensors 22 01306 g001
Figure 2. Energy exchange paths between components of the smart home.
Figure 2. Energy exchange paths between components of the smart home.
Sensors 22 01306 g002
Figure 3. The flowchart of optimal energy scheduling based on Jaya algorithm.
Figure 3. The flowchart of optimal energy scheduling based on Jaya algorithm.
Sensors 22 01306 g003
Figure 4. (a) Power output curve of solar in summer and winter; (b) TOU price signal.
Figure 4. (a) Power output curve of solar in summer and winter; (b) TOU price signal.
Sensors 22 01306 g004
Figure 5. (a) Hourly home energy consumption; (b) EV connection time.
Figure 5. (a) Hourly home energy consumption; (b) EV connection time.
Sensors 22 01306 g005
Figure 6. Optimal power scheduling to feed the load demand in summer and winter.
Figure 6. Optimal power scheduling to feed the load demand in summer and winter.
Sensors 22 01306 g006
Figure 7. Optimal power flows from/to energy storage system during summer and winter.
Figure 7. Optimal power flows from/to energy storage system during summer and winter.
Sensors 22 01306 g007
Figure 8. Optimal power flows from/to electric vehicle during summer and winter.
Figure 8. Optimal power flows from/to electric vehicle during summer and winter.
Sensors 22 01306 g008
Figure 9. Procured power from grid.
Figure 9. Procured power from grid.
Sensors 22 01306 g009
Figure 10. Sold power to the grid.
Figure 10. Sold power to the grid.
Sensors 22 01306 g010
Figure 11. Energy storage system state of charge.
Figure 11. Energy storage system state of charge.
Sensors 22 01306 g011
Figure 12. EV state of charge.
Figure 12. EV state of charge.
Sensors 22 01306 g012
Table 1. Summary of literature.
Table 1. Summary of literature.
TechniquesObjectivesDERDSMRLimitations
[11] GAMinimizing overall
electricity cost
--Computational complexity
and inconsideration
of DER and DSMR
[12] MILPPeak power limitation
and cost reduction
PVESS and EVComputational complexity
[13] MINLPAchieving of cost
saving, peak shaving,
and valley filling
-ESSIgnoring of DER
[14] SDPMinimize consumer
charges and satisfying
load and EV
energy requirements
PVEVSystem complexity
is increased
[15] CPHome economy
maximization and
satisfying load and
EV energy requirements
PVESS and EVSystem complexity
is increased
[16] SFLAMinimization of electricity
bill and air pollution
of the home and balances
electricity and natural
gas consumption during seasons
PVESS and EVSystem complexity
is increased
[17] RT-ES-EM
with MAS
Improvement of electricity
production without
interruption to provide
comfortable services
for users
PVESS and FCImplementing of V2H
and cost reduction
were not considered
[18] PSOBill reduction and
satisfying user requirement
-EV as ESSIgnoring of DER
[19] GWOMinimize the cost, balance the
power consumption, and maximize
the satisfaction level of users
-ESSIgnoring of DER and EV
[20] GWO and ABCReduce the demand--Inconsideration of DER and DSMR
[21] GA, WDO,
BPSO, BFOA,
and GBPSO
Reduction of electricity
cost and peak-
to-average ratio (PAR)
--Ignoring of
DER and DSMR
[22] MILP
with GAMS
Reduces electricity
cost and compensates
the reactive power at
the grid integration point
PVESS and EVComputational complexity
[23] QBPSOElectricity bill minimization
and maximizes the
consumer comfort
Wind and PV-Inconsideration of DSMR
[24] FLACost reduction--Ignoring of DER and DSMR
[26] JayaReduction of electricity costPVESSInconsideration
of V2H
[27] PMO-
SAMP Jaya
Minimization of economic
cost and CO2 emissions
PVESSUse of EV as electrical
load and ignores
the use of V2H
Table 2. PV parameters.
Table 2. PV parameters.
ParameterValue
Lifetime25 year
PV rated power6 kW
One-time investment cost3780 $/kW
Module efficiency18%
Table 3. Parameters associated with the ESS and EV.
Table 3. Parameters associated with the ESS and EV.
ParametersEVESS
Battery capacity19 kWh19.68 kWh
Cost324 $/kWh250 $/kWh
S O C max 90%90%
S O C min 20%20%
Initial S O C 50%50%
Depth of discharge DOD80%80%
Charging efficiency0.950.85
Discharging efficiency0.950.95
Lifetime2000 cycles10 years
Vehicle depart time08:00, 02:00-
Vehicle arrive time12:00, 17:00-
Vehicle efficiency14 kWh/100 km-
Table 4. Jaya parameters.
Table 4. Jaya parameters.
ParameterValue
Population100
Max iteration100
Upper bound1
Lower bound0
Table 5. PSO parameters.
Table 5. PSO parameters.
ParameterValue
Population100
Max iteration100
Upper bound1
Lower bound0
W m a x 0.9
W m i n 0.4
C 1 2
C 2 2
Table 6. Comparison between base case, Jaya, and PSO in summer and winter.
Table 6. Comparison between base case, Jaya, and PSO in summer and winter.
SeasonsCasesTotal Daily Cost (USD)Daily Cost Reduction (%)
Without the optimal energy scheduling9.27Base case
SummerOptimal energy scheduling based on Jaya2.7970
Optimal energy scheduling based on PSO3.068
Without the optimal energy scheduling8.75Base case
WinterOptimal energy scheduling based on Jaya4.054
Optimal energy scheduling based on PSO4.351
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Wang, M.; Abdalla, M.A.A. Optimal Energy Scheduling Based on Jaya Algorithm for Integration of Vehicle-to-Home and Energy Storage System with Photovoltaic Generation in Smart Home. Sensors 2022, 22, 1306. https://doi.org/10.3390/s22041306

AMA Style

Wang M, Abdalla MAA. Optimal Energy Scheduling Based on Jaya Algorithm for Integration of Vehicle-to-Home and Energy Storage System with Photovoltaic Generation in Smart Home. Sensors. 2022; 22(4):1306. https://doi.org/10.3390/s22041306

Chicago/Turabian Style

Wang, Min, and Modawy Adam Ali Abdalla. 2022. "Optimal Energy Scheduling Based on Jaya Algorithm for Integration of Vehicle-to-Home and Energy Storage System with Photovoltaic Generation in Smart Home" Sensors 22, no. 4: 1306. https://doi.org/10.3390/s22041306

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop