Abstract

In recent decades, Renewable Energy Sources (RES) have become more attractive due to the depleting fossil fuel resources and environmental issues such as global warming due to emissions from fossil fuel-based power plants. However, the intermittent nature of RES may cause a power imbalance between the generation and the demand. The power imbalance is overcome with the help of Distributed Generators (DG), storage devices, and RES. The aggregation of DGs, storage devices, and controllable loads that form a single virtual entity is called a Virtual Power Plant (VPP). In this article, the optimal scheduling of DGs in a VPP is done to minimize the generation cost. The optimal scheduling of power is done by exchanging the power between the utility grid and the VPP with the help of storage devices based on the bidding price. In this work, the state of charge (SOC) of the batteries is also considered, which is a limiting factor for charging and discharging of the batteries. This improves the lifetime of the batteries and their performance. Energy management of VPP using the teaching-and-learning-based optimization algorithm (TLBO) is proposed to minimize the total operating cost of VPP for 24 hours of the day. The power loss in the VPP is also considered in this work. The proposed methodology is validated for the IEEE 16-bus and IEEE 33-bus test systems for four different cases. The results are compared with other evolutionary algorithms, like Artificial Bee Colony (ABC) algorithm and Ant Lion Optimization (ALO) algorithm.

1. Introduction

An increase in power demand and restrictions imposed on fossil fuel usage to reduce power plant emissions have made utilities look for alternate sources. Also, power distribution to remote locations is still a problem due to technical and financial issues. To mitigate these problems, distributed generators like wind, solar, fuel cells, and so on are used. The government also announces useful schemes and policies such as Renewable Portfolio Standards (RPS) and different kinds of subsidies at different levels to encourage the usage of renewable energy sources for power generation. The global power generation [1] using wind and solar energy has increased to 743 GW and 874 GW at the end of 2021, with an 8% growth in renewable capacity.

Consumers need electrical energy at a cheaper cost, with high reliability and high quality. VPP is one of the remarkable solutions [2] to enhance power quality and reliability. VPP is a small, single imaginary power plant consisting of distributed generators (DGs), energy storage devices, and controllable loads along with information and communication technologies that plan, monitor the operation and coordinate the power flow between the components. Distributed generators consist of clean energy sources such as photovoltaic (PV), wind, Micro Turbines (MT), Fuel Cells (FC), diesel generators, and Combined Heat Power Plants (CHPP). In VPP, the storage devices (battery, electric vehicle, and battery-based robots) play a major role in energy exchange between the utility grid and VPP [3]. There are two types of VPP: commercial VPP and technical VPP. VPPs minimize the generation costs, minimize emissions, maximize profit, and enhance the trade in the electricity market. One of the main advantages of VPP is the integration of RES, which helps to reduce the deviation from the predicted generation of electricity and associated penalties. The other advantage is the integration of EVs, which can act as a storage device in the power system [4].

Even though RES helps to reduce the emission, RES is not sufficient to meet the power demand and may fail to maintain the power balance between the generation and the load demand during peak hours. This problem can be overcome in VPPs, wherein the power generation from other distributed resources and storage devices along with power generated from RES maintains the power balance [3]. During peak load, VPP can support the grid by supplying its reserves. Likewise, when the pricing of utility power is lesser than that of the VPP, VPP buys power from the utility grid. Optimal scheduling of each unit in a VPP is thereby important for the economical operation. Various optimization techniques are used for the optimal operation of VPP [5, 6]. For proper functioning of VPP, the Energy Management System (EMS) is responsible for controlling the flow of power between the generating units, controllable loads, and the storage devices. There are various challenges associated with EMS of VPP, such as uncertainty of Renewable Energy Sources (RES), market price, power balancing, and integration of all the units in VPP [7, 8].

Energy management in a VPP is done by replacing the diesel generators with RESs and energy storage devices [9]. The proper balance between the power generation and the load demand is essential to avoid the instability problems in the VPP operation. DG, being the peak load provider during peak hours, helps to maintain the power balance between power generation and consumption [10]. The penetration of various DGs, especially the RES, will bring more uncertainties in the power system operation. Various mathematical methods are used in the literature to model the uncertainty of RES. A Probabilistic Load Flow (PLF) using the unscented transformation (UT) method is introduced in [11] to analyze the system performance. The increased utilization of PEVs along with the high penetration of RES will affect the optimal operation of the distribution feeder reconfiguration (DFR) strategy in the smart grids. To mitigate this problem and to increase the efficiency of the system, the V2G concept is proposed and the uncertainty of RES is modeled with the UT method [12]. The robust optimization model is used for calculating the generation cost of VPP on an hourly basis that is proposed in [1316] while considering the uncertainty of PV and wind. A two-stage Stackelberg game is proposed for the day-ahead energy management of VPP considering the uncertainty of RES and market price [17]. A combination of Stochastic Programming and Adaptive Robust Optimization (ARO) based approach is proposed to model the uncertainty of market price [18]. Integration of Electric vehicles (EVs) is a new trend for power balancing in VPP. Integrating more and more uncertain sources of energy such as PV, wind, and energy storage devices makes the system highly dynamic. Thereby, to maximize the profit of a VPP, Hybrid Levy Particle Swarm Variable Neighborhood Search Optimization (HL-PS-VNSO) [19] is suggested. The uncertainties due to plug-in-electric vehicles (PHEVs) in G2V (additional load to the grid) and market price are also considered.

Energy storage devices play a vital role in maintaining the power balance in a VPP by selling or buying the power from the VPP [20]. Energy storage devices, like fuel cells and batteries, supply power to additional or instantaneous loads. Regulation of SOC of battery is an important aspect to enhance the proper power flow between the utility grid and the VPP. A fuzzy-based control strategy [21] is applied for the regulation of SOC and for controlling the power flow during excess and insufficient conditions. The concept of electric vehicles (EVs) to store energy to overcome the intermittent supply of energy from the wind farms is discussed in [22].

The metaheuristic techniques reduce computational time compared with conventional methods [23]. Dimeas and Hatziargyriou used Multiagent System- (MAS-) based control [24] for the optimal and effective control of a VPP. It is claimed that in centralized systems, MAS provides a better solution, but not an optimal solution. De Filippo et al. introduced a two-stage optimization model [25] for a VPP EMS, which decides the optimal planning of power flows for each time step at minimum cost. In this two-stage model, in the first stage, the prediction of uncertainty is modeled using a robust approach to optimize the load demand shift and estimate the cost. In the second stage, an online greedy optimization algorithm is implemented within the simulator that uses the optimal shift produced in the first stage to minimize the operating cost. However, there is a loss of quality in the solution because of the greedy algorithm used in the second step.

The minimization of the total cost and thereby maximation of the profit is the major concept associated with VPP. Profit maximization of VPP in a day-ahead market taking into account the uncertainty of RES is proposed [26]. The bidding strategy for a VPP is formulated as an optimization problem to maximize the profit using MILP. To reduce the operating cost while maintaining energy balance, system security, and system voltage level, a two-stage stochastic optimization model is introduced to address the uncertainties in the wind power outputs and electricity prices [27]. Results validated the reduction in operating costs while maintaining system reliability. An economic dispatch of VPP modeled using mixed-integer programming is presented in [28]. Bilevel mathematical programming used to model the bidding strategy is proposed [29] to maximize the profit and minimize the emission of VPPs. Computational intelligence- (CI-) based metaheuristic techniques [30] are increasingly used for profit maximization in VPPs. A trading model [31] of a VPP in a unified market is proposed and solved using the fruit fly algorithm (FFA) to maximize the profit.

However, most of these optimization techniques require algorithm parameters that need to be tuned to improve the performance of the techniques. Also, CI-based metaheuristic methods are not efficient to handle uncertainty in real-time situations. All these disadvantages can be overcome using the TLBO algorithm. In addition, the TLBO algorithm does not require any parameter to be tuned, which makes the implementation of TLBO much simpler.

In this paper, minimization of the operational cost of a commercial VPP for 24 hours in a day is formulated as the optimization problem. Power losses are also taken into account. The VPP consists of solar, wind, MT, FC, and battery as energy sources. VPP can supply or buy power from the utility grid depending upon the cost of power generation and load demand in the VPP and the utility price. Though there are many techniques available in the literature to solve this problem, in this paper, the TLBO algorithm is used to solve the cost minimization problem by considering 4 different scenarios. Since the operating cost of RES is less compared to other generating units in the VPP, power output from the RES is utilized to the maximum. The optimal dispatch of generating units considering the power losses in the distribution system is done using backward-forward sweep load flow analysis. SOC of batteries is also taken into account, which enhances the battery life and its performance.

This paper is organized as follows. In Section 2, the basic structure of EMS for VPP, problem formulation, and the related constraints are discussed. An overview of the TLBO algorithm is presented in Section 3. In Section 4, the implementation of the TLBO algorithm for energy management in VPP is presented. Section 5 discusses the simulation results of 4 different cases and their comparison with ABC and ALO algorithms. Finally, the conclusion and future scope are discussed in Section 6.

2. Optimal Energy Management of Virtual Power Plants

The objective of a VPP is to relieve the load on the grid by smartly distributing the power generated by the individual units during peak load. A VPP and its components connected to a utility grid is represented in Figure 1. The main functionality of the EMS is to ensure proper power exchange between the utility grid and the VPP through proper coordination between the DGs and the grid. Energy is exchanged between the VPP and utility grid and thereby trading is done. This in turn can minimize the total operating cost or maximize the profit of a VPP. The EMS continuously monitors the status of each unit and sends suitable control signals to control the operation of DGs, energy storage devices, and controllable loads in an economical manner.

2.1. Problem Formulation

The main objective of the proposed work is the optimal allocation of generating units and the storage devices to minimize the operational cost of VPP in 24 hours of a day using the TLBO algorithm. In addition, the operating limits of the storage device, say the battery, are also considered in this work. The SOC of the battery is set to operate in the range of 10% to 90% of the battery capacity. This will improve the performance and lifetime of the storage device. Depending upon the load demand and the price of generation, power can either be sold or purchased from the main grid. Considering the hourly basis of usage, if the per-unit cost of the utility grid is less than the cost of VPP power, buying the power from the utility grid is economical. The power bought from the utility grid is also stored in the storage devices. On the other hand, if the utility price is more, then power from the VPP is sold to the utility. The objective function of the VPP is formulated to include the cost of power purchase from the utility grid, the fuel cost of the DGs and storage devices, and the start-up/shutdown cost of the power sources in the VPP [32]. In addition, the cost of power losses is also taken into account. Power losses are calculated using the forward-backward sweep method [33].

The objective function for the problem statement mentioned above is given as follows.where .where Ik is the current flow in the kth branch, Rk is the resistance of the kth branch, and M is the number of feeder sections/branches. are the available power from the PV, wind, turbine, fuel cell, microturbine, storage devices, utility grid, and power losses, respectively. are the bidding price of the PV, wind turbine, fuel cell, microturbine, storage devices, and utility grid, respectively. is the cost incurred towards the power losses. The ON/OFF status of all the corresponding units is represented by . The start-up or shutdown costs for the ith DGs and jth storage devices are given as , respectively. and Ns are the numbers of distributed generators and the storage units, respectively. are the ON/OFF status of DG units and are the ON/OFF status of storage devices with respect to time t and t − 1, respectively.

2.2. Constraints

At any given time, the power generation and the load demand in the VPP must be balanced; that is, the total power generation must equal the sum of load demand and losses as expressed inwhere , Ns, and Nload are the numbers of distributed generators, the storage units, and loads, respectively.

The power generation limits of DGs, storage devices, and utility grid are expressed aswhere and are the minimum and maximum allowable powers of DGs, and are the minimum and maximum allowable power of the storage devices, and and are the minimum and maximum allowable powers of the utility grid. are the available power from the DGs, storage devices, and utility grid, respectively. The state of charge of the storage device is expressed asWhere and are the energy stored in the devices at time t and t– 1, respectively. PCharge and PDischarge are the charging and discharging power at an instant, is a definite time, and ηCharge and ηDischarge are the efficiency during charging and discharging. The SOC, charging, and discharging limits of the storage devices are expressed aswhere SOCESS,min and SOCESS,max are the minimum and maximum state of charge of the storage device. The discharge efficiency is given as

The storage devices cannot charge and discharge at the same time and hence X(t) and Y(t) take values of either 0 or 1. Bus voltage limit for the ith bus is given aswhere and are the minimum and maximum voltage of the ith bus.

The current in each feeder should not exceed the maximum current carrying capacity of the branches.where l is the number of branches. The maximum allowable active and reactive power injection of DGs are as follows.where and are the active and reactive powers of DGs, and are the minimum allowable active and reactive powers of DGs, and and are the maximum allowable active and reactive powers of DGs.

3. Overview of TLBO Algorithm

The Teaching-Learning-Based Optimization (TLBO) algorithm is a new effective human population-based algorithm proposed by Rao et al. This algorithm resembles the teaching-learning process of the instructor and students in a lecture room. In this approach, a set of learners in a category are considered as a population. Also, the number of subjects offered to the learners is the variables, the result of the learner is the fitness value, and the knowledge of the student is the objective function. The parameters considered in the objective function are the variables for the given problem and the best fitness value of the objective function is taken as the best solution. The TLBO method is split into two phases: the teacher phase and the learner phase. In the former phase, the learners are learning from the teacher and in the latter phase, the learners are learning by discussing with other learners [34, 35]. The phases of TLBO are described as follows.

3.1. Teaching Phase

In this phase, the teacher continuously tries to improve the mean result of the class for his/her subject. The best solution which is defined by the objective function is considered as the teacher in that population. This phase starts with identifying the best solution. First, generate a random population with N rows and S columns. N represents the population size (number of learners in the class, i = 1,2, …, N) and S represents the number of design variables (number of subjects, j = 1,2, …, S). The jth variable of the ith learner is initialized randomly usingwhere rand is a uniformly distributed random number that takes values between 0 and 1 and and represent the minimum and maximum values for the jth parameter. The difference between the best solution and the mean result of the class for the jth subject in the kth iteration is given bywhere is the mean result of the students for the subject j and represents the best solution for the subject j in the kth iteration. The teaching factor TF as given in (15) is indicative of the teaching ability of the teacher, depending on which the mean result of the subject will change. Its value is selected as either 1 or 2.

The solution for the problem is updated in each iteration usingwhere is the new solution for the jth subject and is the old solution for the jth subject in the previous iteration. If the updated solution is better than the previous one, it is an acceptable solution. The accepted solution is the input to the next phase.

3.2. Learner Phase

This is the second phase of the algorithm in which the learners improve their knowledge through mutual interaction. In this process, each learner will interact with other learners randomly to facilitate knowledge sharing depending on their knowledge level. The solution to the problem is updated based on knowledge sharing. To represent it mathematically, two learners are considered randomly as and . The updated solution can be expressed as follows.

The best solutions for the different subjects are accepted at the end of this phase, and these solutions are the input for the teacher phase. Both the teacher and learner phases are repeated until the stopping criterion is met. In this work, the stopping criterion is the number of iterations.

3.3. Implementation of TLBO Algorithm for Energy Management Problem

In this section, the implementation of the TLBO algorithm for the energy management of generating units and load demand in a VPP is discussed. The steps involved in the implementation procedure are given below.

Step 1. Initialization of Parameters
Specify the input data of the VPP and TLBO algorithm. The VPP data includes generator bidding price, hourly utility grid price, load demand, and power limits of the renewable energy sources, storage devices, and distributed generation units. Initialize the parameters of the TLBO algorithm, such as population size, design variables, and stopping criteria. The population size corresponds to the number of students, the number of design variables or subjects offered corresponds to the number of generating units, and the stopping criterion is chosen as the number of iterations.

Step 2. Initialization of Population
Generate a random population of dimension [N × S] according to the population size, N, and the number of design variables, S. The randomly generated population is mathematically expressed as , where N is the number of solutions in the multidimensional search space. Each solution is represented by an S-dimensional vector, and , where S is the number of parameters to be optimized. In this problem, S corresponds to the six DGs. The elements of each solution vector represent the power output of distributed generation units that can take values between the maximum and minimum generation limits as given inwhere and are the minimum and maximum power limits of each unit. For each interval in the scheduling horizon, initialization of the population is done as given inwhere is the real power output of the Sth generation unit for the Nth individual, which should satisfy the constraint given in (4).

Step 3. Fitness Evaluation
Evaluate the generation cost as expressed in (1) for the generated random population in (19) and calculate sum of the cost for all the generating units in the iteration using

Step 4. Teacher Phase
Based on the sum of the generation cost in (20), the minimum generating cost is selected as the best solution. The best solution can be considered as a teacher as expressed in (21). Update the power generation matrix based on the best solution using (16).

Step 5. Learner Phase
In this step, the best solution obtained in Step 4 is considered as the input for the learner phase. The solution is modified based on the mutual interaction among the learners and the solution matrix is updated using (17).

Step 6. Repeat steps 35 until the stopping criterion is met, which is the maximum number of iterations.

4. Results and Discussions

In this section, the cost minimization problem of a VPP is implemented using the TLBO algorithm. IEEE-16[32, 36] and IEEE-33 [37] bus test systems shown in Figures 2 and 3 are considered in this paper. They comprise of wind, solar, microturbine, and fuel cell as generating units, along with the storage devices and loads. The optimal load dispatch is done for 24 hours in a day, and the optimal power generation is based on the utility price and the load demand at the particular hour. Programming is done in MATLAB for the aforementioned problem and executed on Intel® Core™ i7-8550U, 8th Gen CPU @ 1.99 GHz, 8.00 GB RAM PC. The power limits, bidding price, and start-up/shutdown cost of each generating unit for IEEE 16-bus and IEEE 33-bus test systems are given in Tables 1 and 2, respectively. The load demand, utility market price, and forecasted power output [32] from PV, Wind1, and Wind2 are given in Tables 35, respectively. The total load demand per day is taken as 1695 kW and 3295 kW for IEEE 16-bus and IEEE 33-bus test systems, respectively. The power losses are computed using the forward-backward sweep method [33]. The base power and base voltage are taken as 100 kVA and 400 V, respectively, and the cost for the power losses is assumed as 0.19 (€ct/kWh). The power factor is taken as 0.85 lagging for residential and commercial loads and 0.9 lagging for industrial loads [38] for both IEEE 16- and IEEE 33-bus test systems. The optimization problem is solved for with and without losses for comparison purpose. In addition to the TLBO algorithm, ABC and ALO algorithms are also used in this paper to solve the problem statement and to validate the performance of the TLBO algorithm.

The parameters of the TLBO algorithm used in this problem are the population size, N taken as 100, maximum iteration as 1000, and number of trials or runs as 20. The same parameters are used for ABC and ALO algorithms for comparison. Four different cases are considered, and the results are discussed in this section.

Power is exchanged between the VPP and the grid, based on the bidding price of the generation units and that of the utility grid. Whenever the bidding price of the DGs in the VPP is less than that of the utility price, the generated VPP power is used to meet the load demand. Also, the excess power generated and the energy stored in the storage devices (discharging mode) are sold to the utility grid. If the bidding price of the VPP is greater than that of the utility price, the power is bought from the utility grid and the same is stored in the storage devices (charging mode). In general, the power generated by the PV and wind is utilized based on their maximum availability. FC and MT are operated throughout the day because of lower bid costs.

4.1. Case I

In this case, all the generating units in the VPP are in operation and they operate within their power limits. The VPP is connected to the utility grid. The maximum power which can be exchanged between the VPP and the utility grid is restricted to 30 kW. All the DGs except PV are in ON condition throughout the 24 hours. The initial SOC of the storage device is taken as 3 kW (i.e., 10% of the maximum capacity). The optimal power dispatch for 24 hours of the day using the TLBO algorithm is given in Table 6. Each unit is optimally operated based on its bidding price and the load demand.

During the first eight hours of the day, the bid cost of the utility is lesser than that of any of the DGs (except FC) in the VPP. Thereby, 30 kW of power is purchased from the utility grid and the remaining load demand is supplied by the DGs in the VPP as shown in Figure 4. For instance, at the 8th hour, the demand is 75 kW. So, 30 kW is purchased from the utility and the remaining 45 kW is supplied by the DGs in the VPP. As FC has the lowest bid cost, it supplies its maximum capacity of 30 kW, and the remaining 10 kW is supplied by PV, wind, MT, and battery.

Also, the load demand is less during the first eight hours and thereby, the excess power generated in the VPP is stored in the battery. The SOC of the battery is plotted in Figure 5. At the end of the 8th hour, the battery is charged to 90% of its maximum capacity (27 kW).

After the 8th hour, it can be observed that the utility grid price is higher than that of the other DGs (except PV) in the VPP. The demand is also higher. Now, the local demand in the VPP is met by the DGs and the excess power generated is exported to the utility. The battery is in discharging mode to meet the excess load demand. It is also observed from Figure 5 that at the end of the 18th hour of the day, the battery is discharged to 10% of its maximum capacity (3.776 kW).

For instance, at the 18th hour, the load demand is 88 kW. The available wind power is 1.7085 kW, battery power of 1.387 kW, and microturbine power of 24.828 kW are used to meet the demand along with the utility power and fuel cell power of 30 kW each. There is no PV power availability from the 18th hour. During these hours, the load demand in the VPP is met with the other sources based on their bidding price. During the last two hours of the day, the power demand is less and the excess power is stored in the battery. At the end of the day, the SOC of the battery for Case I is 5.484 kW. The operating cost of VPP (with losses) for the Case I is obtained using the TLBO method and is compared with other metaheuristic techniques and is given in Table 7. It is evident from the results that TLBO is superior to other methods as it provides the minimum cost of €ct 758.348 for without losses and €ct 765.2968 for with losses. The comparison of convergence characteristics for the optimal operating cost for Case I is illustrated in Figure 6. It is observed that the optimal solution is obtained within 100 iterations when compared to the ABC and ALO methods. From Table 7, it can be observed that the time taken for the convergence of optimal solution using the TLBO algorithm is 6.587 s, which is lesser than that of the other methods.

4.2. Case II

In this case, the DGs operate within their power limits and there is no restriction on the power exchange between the utility grid and the VPP. All the DGs are in ON condition throughout the 24-hour time period except for PV. The initial SOC of the storage device is 3 kW, which is 10% of the maximum battery capacity. The optimal power dispatch for 24 hours of the day using the TLBO algorithm is shown in Table 8. In Figure 7, it is observed that for the first 7 hours of the day, the utility grid price is low compared with the bidding price of the DGs in the VPP. Hence, energy is purchased from the utility grid without any restriction to meet the load demand of VPP. The power output from the PV and wind turbine are used as per the availability. All other units of VPP are operating with minimum capacity due to their higher bidding price compared to the utility price.

During the first 8 hours, the load demand is less. Therefore, the excess power is stored in the battery. At the end of the 8th hour, the battery is charged to 90% of its maximum capacity (27 kW) and is shown in Figure 8. The load demand increases from the 9th hour of the day. The utility price is higher than that of the VPP bidding price from the 9th to the 18th hour of the day. Thereby, power is sold to the utility grid without any restrictions. The battery is in discharging mode to meet the load demand. The SOC of the battery will change depending on the load demand and the bid cost. The battery is discharged to 3.702 kW (10% of its maximum capacity). During the 9th to 18th hour of the day, the available power generation from the wind is utilized to meet the load demand. Since the utility price is more than the bidding price of MT and FC, these units are operating with their maximum capacity to meet the load demand. From the 18th to the 20th hours of the day, the load demand is high (peak load). During this period, PV power is not available and also wind power availability is less. As the bid cost of fuel cell power is less, it is operated at its maximum capacity. In addition, the utility power price is also less and thereby power is purchased from the utility. Power is also stored in the storage devices during this interval.

The discussions made for the 18th to 20th hours are valid for the 23rd and 24th hours also. During the 20th and 22nd hours of the day, as the utility price is more than that of VPP, power is sold from the VPP to the utility grid. All the units are operating with maximum capacity and the battery is also supplying the power. On the 22nd hour, the battery has discharged to 3 kW (10% of its maximum capacity) as shown in Figure 8. During the last two hours of the day, the power demand is less and the excess power is stored in the battery. At the end of the day, the SOC of the battery for Case II is 5.367 kW.

The operating cost (with losses) for Case II using the TLBO algorithm is shown in Table 9 and is compared with the other metaheuristic techniques like ABC and ALO. From Table 9, it is noticed that TLBO is better than other techniques in terms of convergence time and operating cost. The convergence graph for Case II is shown in Figure 9. It is evident from the characteristics that TLBO is faster than the other two methods. The convergence time for this problem using TLBO is 6.524 s.

4.3. Case III

In this case, all the generating units in the VPP can switch between the ON/OFF modes and they operate within their power limits. The initial SOC of the storage device is 3 kW. The VPP is connected to the utility grid. The maximum power that can be exchanged between the VPP and the utility grid is restricted to 30 kW.

The optimal power dispatch for 24 hours of the day using the TLBO algorithm is presented in Table 10. The ON and OFF states of the MT, FC, PV, WT1, battery, and utility are represented by 1 and 0, respectively. From Figure 10, it is evident that, for the first 8 hours of the day, the utility grid price is low compared with the VPP bidding price. Hence, power is purchased from the utility grid to meet the load demand of VPP and the storage device is in charging mode.

At the end of the 8th hour, the battery is charged to 90% of the maximum capacity; that is, the SOC is 27 kW as depicted in Figure 11. During this period, the power output from the PV is zero. The bidding price of FC is less compared to all the other units of VPP. Hence, FC is operating at its maximum capacity during this period.

The utility price is higher than that of the VPP bidding price from the 9th to 18th hours of the day. Thereby, the power is sold to the utility grid by discharging the storage devices. The battery is in discharging mode and discharged to 10% of its maximum capacity (i.e., 3.5 kW during the 18th hour as shown in the SOC plot in Figure 11). During this duration, the power generation from the RES (PV and wind) are utilized as per the availability.

From the 19th and 20th hours of the day, the load demand is high (peak load). During this period, the bidding price of FC is less and is operating with its maximum capacity. Since the utility price is less compared to the VPP bidding price, the grid power along with the power generated from the VPP is used to meet the peak load. Also, the storage device is in discharging mode. During the 21st and 22nd hours of the day, as the utility price is more than that of VPP, the power from VPP is sold to the utility grid. Since the bidding price of FC and MT is less compared with that of the utility price, these units are operating at their maximum capacity. The battery is in discharging mode and discharged to 10% of maximum capacity (i.e., 3.122 kW during the 18th hour as shown in the SOC plot in Figure 11). During the 23rd and 24th hours of the day, the utility price is less than that of VPP, so power is purchased from the utility to VPP and stored in the storage devices (charging mode). During the last two hours of the day, the power demand is less and the excess power is stored in the battery. The operating cost (with losses) using the TLBO algorithm for Case III is compared with the other metaheuristic techniques and is given in Table 11. Minimum operating cost is obtained using the TLBO algorithm when compared with other methods. The convergence characteristics with respect to the number of iterations is plotted in Figure 12. It is observed that the optimal solution is obtained in minimum time and less number of iterations using the TLBO algorithm. The time taken for the convergence using the TLBO algorithm is 6.987 s.

4.4. Case IV

In this case, the IEEE-33 bus test system is considered. All the generating units of VPP are in ON condition and operating within their respective power limits. The maximum amount of power that can be transferred between the VPP and the utility grid is considered as 30 kW. Throughout the day, all DGs are available to meet the load demand, except PV. The initial SOC of the battery is assumed to be 3 kW, which is 10% of its maximum capacity. The optimal power dispatch for 24 hours of the day using the TLBO algorithm is shown in Table 12. Each unit is operated within its capacity based on its bidding price and load demand. Furthermore, power is transferred between the VPP and the utility grid based on the bidding price.

From Figure 13, it can be observed that, during the first seven hours of the day, the bid cost of the utility is lesser than that of any of the DGs in VPP. As a result, 30 kW of power is bought from the utility grid and the remaining load demand is supplied by the DGs in the VPP based on their bid cost. For instance, at the 7th hour, the demand is 128.75 kW. Therefore 30 kW of power is purchased from the utility, while the remaining 98.75 kW is supplied by the VPP units. As MT2 has the lowest bid cost, it supplies its maximum capacity of 50 kW and the remaining 48.75 kW is supplied by other units. During the first 8 hours, the load demand is less. Therefore, the excess power is stored in the battery. The SOC of the battery is plotted in Figure 14. At the end of the 8th hour, the SOC of the battery is 90% of its maximum capacity (27.03 kW) as displayed in Figure 14.

In general, the power generated by PV and wind is utilized based on their maximum availability. MT2 is operated with its maximum capacity throughout the day because of the lower bid cost. After the 7th hour, it can be observed that the utility grid price is more compared to the other DG units in the VPP. The demand is also higher. Now, the local demand in the VPP is met by the DGs and the excess power generated is exported to the utility. From the 8th to 22nd hours of the day, FC1, MT2, and FC2 have lesser bid cost compared to the utility grid. Hence, these units are operating at their maximum capacity during this period. The battery is in discharging mode to meet the excess load demand. It is also observed from Figure 14 that at the end of the 22nd hour of the day, the battery is discharged to 10% of its maximum capacity (3.071 kW). For instance, at the 22nd hour, the load demand is 133.75 kW. To meet this demand, 4.337 kW total available power from the RES, battery power of 0.984 kW, and 128.429 kW of power from the other DGs are used and the excess power of 30 kW is transferred to the utility grid during this hour. During the 23rd and 24th hours of the day, based on the utility price and power demand, DGs are operated and power is purchased from the utility to VPP. The excess power generated in the VPP is stored in the storage devices (charging mode). At the end of the day, the SOC of the battery for Case IV is 5.799 kW.

The operating cost (with losses) of VPP for Case IV obtained using the TLBO method is compared with other metaheuristic techniques and is given in Table 13. It is evident from the results that TLBO is superior to other methods as it provides the minimum cost of €ct 797.0170 for without losses and €ct 780.5115 including losses.

The comparison of convergence characteristics for the optimal operating cost for Case IV is illustrated in Figure 15. It is observed that the optimal solution is obtained within 100 iterations when compared to the ABC and ALO methods. From Table 13, it can be observed that the time taken for the convergence of optimal solution using the TLBO algorithm is 7.895 sec, which is lesser than the other methods.

Through the optimal dispatch of power from all the units of VPP using the TLBO algorithm, minimum generation cost is achieved. For the validation of the proposed methodology, four different cases are considered for 2 different test systems and the total generation cost is computed and compared in Table 14. It is evident that, among the three cases for IEEE 16-bus system, Case II is more economical. This is due to the unlimited power exchange option between the VPP and the utility grid, wherein the low utility price during off-peak hours is favorable for VPP to purchase utility power and thereby minimize the generation cost.

In Case I, the maximum power exchange between the utility grid and the VPP is limited to 30 kW. All the units of VPP including RES are in ON state in this case. Therefore, the generation cost is higher than in the other 2 cases. In Case III, the maximum power exchange between the utility grid and the VPP is limited to 30 kW. In addition to that, all the units of VPP are operating in an ON/OFF state based on the corresponding bidding price and start-up/shutdown cost. Therefore, the generation cost is higher than that of Case II. It is observed from the abovementioned case studies that the generation cost of cases with limited power exchange between the utility grid and the VPP is higher compared with the cases with unlimited power exchange. Case II is the most economical and feasible mode of operation. However, in order to reduce the burden on the utility grid and to utilize the maximum available power from the renewable energy sources, Case III is preferable.

5. Conclusion

In this paper, the optimal energy management problem of VPP is formulated and implemented using the TLBO algorithm for 24 hours of the day. To evaluate the performance of this optimization algorithm, four different cases are considered. The power is exchanged between the utility grid and the VPP based on their bidding price in all four cases. It is evident from the analysis that the operational cost of VPP is minimized by optimally scheduling the generation of each unit of VPP. It is found that the cases with unlimited power exchange between the utility grid and the VPP is more economical compared to the cases with limited power exchange. Also, Case II is more feasible as it utilized the RES to the maximum extent in spite of the higher bidding price to march towards an emission-free environment. The effectiveness of the TLBO algorithm for this energy management problem is verified in terms of convergence time and minimum generation cost. As TLBO uses the best solution of the iteration to change the existing solution in the population, convergence rate is improved. It is observed that TLBO gives better performance compared to the other metaheuristic techniques, like ABC and ALO.

Data Availability

Previously reported data were used to support this study and are cited at relevant places within the text as references [32, 33, 36, 37].

Conflicts of Interest

The authors declare that they have no conflicts of interest regarding the publication of this paper.