1 Introduction

In recent times, the harmful gas from burning fossil fuel causes diseases for humans worldwide [1]. Even though many countries do not have domestic fossil sources [2], yet 85% of nations in the world consume fossil fuel based energy [3]. As fossil fuel are finite, not renewable and have the high risk of totally running out by the turn of next century [4], worldwide nations are desperate to reduce dependency on fossil based fuels [5]. In order to ease the environment and energy crisis, there has been an increasing interest in Electric Vehicles and over a past decade, there is a dramatic increase in EVs production up to 1500% [6]. Electric vehicles consume power from the grid to charge the batteries in the vehicle [7, 8] and the energy stored in the batteries can be also used to supply the grid. The power from Electric vehicles to grid can efficiently increase the load profile of electric power system with optimal scheduling of charging and discharging behavior which reduces the total running cost and emission [9].

In addition with EVs, the uses of Renewable energy reduce the operating Cost of Generating Companies and contribute to countries’ economy [10]. Renewable energy resources mainly solar and wind play a most significant role in recent researches and due to the low electricity generation price and positive effect on environment [11, 12].

In deregulated environment, Generation Companies (GENCOs) are an entity with own generation resources and participate in the market with sole objective of maximizing the expected profit subjected to system and generators constraints [13]. GENCOs offer their services to energy and reserve markets depending upon the generator availability and this is referred as Profit Based Unit Commitment (PBUC).

This PBUC problem determines how much energy and reserve should be offered in deregulated power market to achieve the maximum profit. Here the problem of Profit Based Unit Commitment has two sub-problems: Initially the status and output powers of committed units are to be determined and then the determination of optimal bidding strategy is done to maximize the profit of the GENCOs.

Earlier, the PBUC problems were solved by various conventional methods such as Lagrangian Relaxation (LR) method [14], Priority List (PL) method [14] and Dynamic Programming (DP) method [15]. LR method provides fast solution but suffers from numerical divergence problem and PL method provides high speed of convergence but it leads to high operating cost for large scale problems. DP method can solve large scale problems but its complexity increases with increase in number of constraints. Also a hybrid Evolutionary Game theory has been proposed for optimal bidding of GENCOs in Energy and Ancillary services Markets [16]. In [17], a new genetic algorithm has been proposed to determine an optimal bidding strategy for GENCOs in Day Ahead market and to maximize the profit of GENCOs. In [18], Gravitational search algorithm (GSA) is a recent development which is used to solve reactive power dispatch problem. GSA has good convergence characteristics and less number of parameters.

However GSA convergence speed slows down in the large search space and it is easy to fall into local optimum solution. In [19], Particle Swarm Optimization (PSO) algorithm has been used to determine an optimal unit commitment schedule with all constraints to be met. But it has a low convergence rate in the iterative process and it cannot work out the problem of scattering.

It is evident that many existing methods have certain limitation in providing the solution within considerable computational time. Therefore in this work, improved pre-prepared power demand (IPPD) table based solution technique has been proposed. The IPPD table is constructed using system generation limits and fuel cost co-efficient to solve PBUC Problem [20].This approach gives the units to be committed for the specified power demand with less computational time and it also suggests to the GENCOs operator which unit to be put into generation to avoid the complexity of the unit commitment problem.

In every stage of decision making, the decision- making alternative can be discrete or continuous. Further it can be classified into single criteria and multi-criteria types. Also these criteria can be quantitative, qualitative or be the combination of both [21].The AHP (Analytical Hierarchy Process) is one of the most comprehensive systems which are designed for multiple criteria decisions, because this type of design can provide the possibility of formulating the above quantitative and qualitative criteria issues [22]. Therefore the combination of IPPD and AHP is the paper contribution. This combination gives better profit than other methodologies such as IPPD with Muller method etc. [20].

In Day Ahead market, the GENCOs submit their bid for the next 24 h. Based on supply bids and demand, Market clearing prices (MCP) are modeled and included electricity market to provide a high profit to GENCOs.

In this paper, PBUC problem is also defined and solved for a smart grid environment where RESs and EVs are integrated with thermal units provide low emission, low operating cost and high GENCO profit in a Day ahead market.

This proposed strategy has been tested on a standard system with ten thermal units including Renewable energy sources and Electric vehicles. Simulation results prove that the proposed method provides maximum profit to GENCOs when compared to other methodologies.

In assessment, compared to the previous related works, the main contribution of this study are:

  • Market clearing price (MCP) is modeled and included in PBUC problem. In Day market, this MCP provides maximum social welfare for both GENCOs and Consumers.

  • A novel combination of solution methodology: Improved Pre-prepared power demand (IPPD) table and Analytical Hierarchy method (AHP) for solving the optimal day ahead scheduling problem as an another contribution.

  • The intelligent and flexible operation of EVs sources or loads is implemented and the effectiveness of EVs in a smart grid with RESs and the maximum utilization of RESs through the use of EVs to reduce cost and emission in a smart grid is illustrated.

This paper organized as follows. Sections 2 and 3 deals with PBUC problem formulation and Energy Market strategies respectively. Sections 4 and 5 apply proposed solution methodology for PBUC and conventional costs based unit commitment (CBUC) problems respectively and compare the results. Renewable energy sources (solar & wind) and Electric vehicle system are introduced in Sect. 6. Simulation results of different cases are presented in Sect. 7. The conclusion & future scope of research work is presented in Sect. 8 and future scope of research work is presented in Sect. 9.

2 Problem Formulation

The PBUC is used to determine the generating unit schedule for maximization of GENCOs profit. The expected value of the profit is computed from expected revenue minus incurred total operating cost for a given period [23]. The PBUC problem can be mathematically represented as

$${\text{ Max Profit}} = {\text{Total Revenue cost }} - {\text{Total Operating Cost}}$$
(1)

Subject to the constraints explained in Sect. 2.1, 2.2, 2.3, 2.4, 2.5, 2.6 and 2.7

2.1 Power Demand Constraint

The total power output of the thermal generators and other sources may be less than or equal to the load of the corresponding hour and it is represented in Fig. 1.

$$\sum\nolimits_{{{\text{i}} = 1}}^{{\text{n}}} {{\text{P}}_{{{\text{gen}}}}^{{\left( {{\text{i}},{\text{t}}} \right)}} + {\text{P}}_{{\text{s}}}^{{\left( {\text{t}} \right)}} + {\text{P}}_{{\text{w}}}^{{\left( {\text{t}} \right)}} + {\text{P}}_{{{\text{EV}}}}^{{\left( {\text{t}} \right)}} \le {\text{PD}}^{{\left( {\text{t}} \right)}} ; \, 1 \le {\text{i}} \le {\text{n}}}$$
(2)
Fig. 1
figure 1

Schematic diagram of integrated wind, solar and electric vehicle with thermal power units

2.2 Generator Limits Constraint

The output power of each thermal generator must be operated within a specified range.

$${\text{P}}_{{{\text{gen}}}}^{{\min \left( {{\text{i}},{\text{t}}} \right)}} \le {\text{P}}_{{{\text{gen}}}}^{{\left( {{\text{i}},{\text{t}}} \right)}} \le {\text{P}}_{{{\text{gen}}}}^{{\max \left( {{\text{i}},{\text{t}}} \right)}} ; \, 1 \le {\text{i}} \le {\text{n}}$$
(3)

2.3 Reserve Constraint

$$\sum\nolimits_{{{\text{i}} = 1}}^{{\text{n}}} {\left( {{\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} {\text{.S}}^{{\left( {\text{i,t}} \right)}} } \right) \le {\text{SR}}^{{\left( {\text{t}} \right)}} ; \, 1 \le {\text{i}} \le {\text{n}}}$$
(4)
$$0 \le {\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} \le \left( {{\text{P}}_{{{\text{gen}}}}^{{{\max}\left( {\text{i,t}} \right)}} - {\text{P}}_{{{\text{gen}}}}^{{{\min}\left( {\text{i,t}} \right)}} } \right); \, 1 \le {\text{i}} \le {\text{n}}$$
(5)
$${\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} + {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} \le {\text{P}}_{{{\text{gen}}}}^{{{\max}\left( {\text{i,t}} \right)}}$$
(6)

2.4 Minimum Up/down time

$${\text{T}}_{{{\text{on}}_{{\text{i}}} }} \ge {\text{M}}_{{{\text{up}}_{{\text{i }}} }} ;{\text{ i}} = 1 \ldots {\text{n}}$$
(7)
$${\text{T}}_{{{\text{off}}_{{\text{i}}} }} \ge {\text{M}}_{{{\text{down}}_{{\text{i }}} }} ;{\text{ i}} = 1 \ldots {\text{n}}$$
(8)

2.5 Function of Output Power of Wind Energy System

The function of output power of wind energy system with respect to wind speed is given by [24]

$${\text{P}}_{{\text{w}}}^{{\left( {\text{t}} \right)}} = 0.15 \times {\text{A}} \times {\text{R}}^{2} \times v^{3} \times \rho \times \eta$$
(9)

2.6 Function of Output Power of Solar Energy System

The function of output power of solar energy system with respect to solar radiation is given by [25, 26].

$${\text{P}}_{{\text{s}}}^{{\left( {\text{t}} \right)}} = 0.5 \times {\text{G}} \times {\text{A}}_{{{\text{PV}}}} \times \xi_{{{\text{PV}}}}$$
(10)

2.7 Power Output Limit on Electric Vehicle System

Electric vehicles will play two important roles when they are connected to smart grid. These EVs will appear as load during charging and they are also used as storage units to supply energy to the remaining load demands, if the batteries have the sufficient spare energy [27].

The battery of electric vehicle acts as a source of stored energy to provide a number of ancillary services to supply voltage control. The battery of electric vehicle is chemical storage devices and they are exponential functions over time [28].The power output function with respect to electric vehicle travelling power is given by

$${\text{P}}_{{{\text{EV}}}}^{{\left( {\text{t}} \right)}} = 0.5 \times \xi {\text{N}}_{{{\text{E}}v2{\text{G}}}} {\text{P}}_{{\text{V}}} \left( {\Psi_{{{\text{pre}}}} - \Psi_{{{\text{dep}}}} } \right)$$
(11)

3 Energy Market Strategies

3.1 Market Structure

In deregulated power market, the GENCOs can sell real power in an energy market and reserve power in a reserve market directly to the power pools by competing in the energy market. The changes in energy and reserve have a direct impact on the price of power and reserve bids [29]. In deregulated power system, different market operators participate in electricity market to sell and purchase power and reserve [30].

In Day Ahead market, the GENCOs submit their bid for the next 24 h. Based on supply bids and demand, a market operator determines Market clearing prices (MCP) which plays an important role in electricity market with an objective of maximizing social welfare function where both GENCOs and consumers are benefited and power quantities are awarded [31]. In this process, the system operator clears the generation bids based on the price ordered from lower to higher prices. If the GENCOs bids higher than the Market Clearing Price (MCP), then such bid will be eliminated for little duration [32].

3.2 Optimal Bidding Strategy for PBUC

Optimal bidding parameters for both power and reserve are selected for each generating unit to maximize its profit. In bidding process, the fuel cost, startup cost, unit generating limits and minimum up and down time constraints are taken into account to ensure that the generating unit is capable of meeting the power demand [33, 34]. From the Eq. (1), the Total Revenue Cost (TRC) consists of Energy market revenue (EMR) and Reserve market revenue (RMR) and Total Operating Cost (TOC) denotes the production cost of thermal units. Therefore the profit obtained by GENCOs in deregulated market is represented as

$${\text{Max profit}} = \left( {{\text{Energy Market Revenue}} + {\text{Reserve Market Revenue}}} \right) - {\text{Total Operating Cost}}$$
(12)
$${\text{P}}_{{\text{T}}}^{{\left( {\text{i,t}} \right)}} = \sum\nolimits_{{{\text{t}} = 1}}^{{\text{T}}} {\left( {{\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} + {\text{P}}_{{\text{s}}}^{{\text{t}}} + {\text{P}}_{{\text{w}}}^{{\text{t}}} + {\text{P}}_{{{\text{EV}}}}^{{\text{t}}} } \right){\text{MCP}}^{{\left( {\text{t}} \right)}} }$$
(13)

Can be rewritten as

$${\text{Energy Market Revenue}} = \sum\nolimits_{{\text{t } = \text{ 1}}}^{{\text{T}}} {\left( {{\text{P}}_{{\text{T}}}^{{\left( {\text{i,t}} \right)}} } \right){\text{MCP}}^{{\left( {\text{t}} \right)}} }$$
(14)
$${\text{Where, P}}_{{\text{T}}}^{{\left( {\text{i,t}} \right)}} = {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} + {\text{P}}_{{\text{s}}}^{{\text{t}}} + {\text{P}}_{{\text{w}}}^{{\text{t}}} + {\text{P}}_{{{\text{EV}}}}^{{\text{t}}}$$
(15)
$${\text{Reserve Market Revenue}} = \mathop \sum \limits_{{{\text{t}} = 1}}^{{\text{T}}} \left( {{\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} } \right){\text{MCR}}^{{\left( {\text{t}} \right)}}$$
(16)
$${\text{MCP}}^{{\left( {\text{t}} \right)}} = {{\max \left( {{\text{c}}_{{\text{i}}} {\text{ } + \text{ b}}_{{\text{i }}} {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} } \right)} \mathord{\left/ {\vphantom {{\max \left( {{\text{c}}_{{\text{i}}} {\text{ } + \text{ b}}_{{\text{i }}} {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} } \right)} {{\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} }}} \right. \kern-\nulldelimiterspace} {{\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} }}$$
(17)
$${\text{MCP}}^{{\left( {\text{t}} \right)}} = {{\max \left( {{\text{c}}_{{\text{i}}} {\text{ } + \text{ b}}_{{\text{i }}} {\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} } \right)} \mathord{\left/ {\vphantom {{\max \left( {{\text{c}}_{{\text{i}}} {\text{ } + \text{ b}}_{{\text{i }}} {\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} } \right)} {{\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} }}} \right. \kern-\nulldelimiterspace} {{\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} }}$$
(18)
$${\text{TOC}} = \sum\nolimits_{{{\text{t}} = 1}}^{{\text{T}}} {\sum\nolimits_{{{\text{t}} = 1}}^{{\text{T}}} {\left\{ {\left( {1 - r} \right).{\text{F}}\left( {{\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} } \right) + r.\left[ {{\text{F}}\left( {{\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} } \right) + {\text{F}}\left( {{\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} } \right)} \right]} \right\}{\text{S}}^{{\left( {\text{i,t}} \right)}} + {\text{SU}}^{{\left( {\text{i,t}} \right)}} } }$$
(19)

where, \({\text{F}}\left( {{\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} } \right) = {\text{a}}_{{\text{i}}} + {\text{b}}_{{\text{i}}} {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} + {\text{c}}_{{\text{i}}} {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)_{{2}} }}\) and

$${\text{F}}\left( {{\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} } \right) = {\text{a}}_{{\text{i}}} + {\text{b}}_{{\text{i}}} {\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)}} + {\text{c}}_{{\text{i}}} {\text{P}}_{{{\text{res}}}}^{{\left( {\text{i,t}} \right)_{{2}} }}$$
(20)

In this paper, emission curve is also considered and represented as

$${\text{EC}}\left( {{\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} } \right) = {\upalpha }_{{\text{i}}} + {\upbeta }_{{\text{i}}} {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} + {\upgamma }_{{\text{i}}} {\text{P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)_{{2}} }}$$
(21)

where αi , βi and γi are emission coefficients of thermal units.

4 Solution Methodology for Profit Based Unit Commitment (PBUC)

The solutions for the PBUC problem are obtained in the following stages [35].

Stage 1: Commitment of units using IPPD and RIPPD tables.

Stage 2: Analytical Hierarchy Process based optimal scheduling.

4.1 Formation of the IPPD Table

The procedure of IPPD table formation is given below.

Step1: Determination of λimin and λimax for all generating unit at their \({\mathrm{P}}_{\mathrm{gen}}^{\mathrm{min}\left(\mathrm{i},\mathrm{t}\right)}\) and \({\mathrm{P}}_{\mathrm{gen}}^{\mathrm{max}\left(\mathrm{i},\mathrm{t}\right)}\). Arrange these λ values in ascending order and indicate them as

$${\uplambda }_{{\text{j}}}\,\, {\text{where j = 1, 2,}}{\text{.2n}}$$
(22)

Step2: Determine output power P\(P_{{{\text{gen}}}}^{{\left( {i,t} \right)}}\) = (λj−bi)/2ci for all generators at each λj value. The generator constraints such as minimum and maximum output power are considered as follows

$$\left( {\text{a}} \right){\text{ If }}\lambda_{{\text{i}}} \le \lambda_{{\text{j}}}^{\min } {\text{ then P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} = 0$$
(23)
$$\left( {\text{b}} \right){\text{ If }}\lambda_{{\text{j}}} = \lambda_{{\text{i}}}^{\min } {\text{ then P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} = {\text{P}}_{{{\text{gen}}}}^{{\min \left( {\text{i,t}} \right)}}$$
(24)
$$\left( {\text{c}} \right){\text{ If }}\lambda_{{\text{j}}} \ge \lambda_{{\text{i}}}^{\max } {\text{ then P}}_{{{\text{gen}}}}^{{\left( {\text{i,t}} \right)}} = {\text{P}}_{{{\text{gen}}}}^{{\max \left( {\text{i,t}} \right)}}$$
(25)

Step3: The sum of output power (SOP) for each λj value is determined.

The results of steps 1–3 are arranged in a table known as Improved Pre-Prepared Power Demand (IPPD) table [26].

This IPPD table provides an effective data structure for the formation of RIPPD table which will reveal the units to be committed. Later optimal scheduling of units is to be performed based on RIPPD Table. The proposed method which is being discussed has been tested on a standard power system of ten thermal units. The input characteristics of the test system are given in Table 1.

Table 1 Input characteristic of ten thermal generating units (GUs) system

The steps 1–3 are applied on the test system. The lambda values at \({\mathrm{P}}_{\mathrm{gen}}^{\mathrm{min}\left(\mathrm{i},\mathrm{t}\right)}\) and \({\mathrm{P}}_{\mathrm{gen}}^{\mathrm{max}\left(\mathrm{i},\mathrm{t}\right)}\) are determined and listed in Table 2 and then for these maximum and minimum lambda values, the sum of output power (SOP) is determined and arranged in Table 3 known as IPPD table.

Table 2 Lambda values at \({\mathrm{P}}_{\mathrm{gen}}^{\mathrm{min}}\) and \({\mathrm{P}}_{\mathrm{gen}}^{\mathrm{max}}\) in $/MW
Table 3 IPPD table for 10 generating units system in MW

4.2 Formation of the Reduced Improved Pre-prepared power demand (RIPPD) table

In generation companies (GENCOs), Maximum profit can be obtained only when the market clearing price (MCP) is higher than the increment fuel cost (λ) of the generating unit at that hours. Therefore, the market clearing price is an important factor to select the Reduced IPPD from the IPPD table. There are two ways to construct RIPPD from IPPD table [36]. They are

(i) At the predicted forecasted price, two rows from the Improved Pre-prepared power demand table are selected in such a way that the price should lie within the lambda limits. Assume m and m + 1 are the corresponding rows.

(ii) At the predicted forecasted demand\({\mathrm{PD}}^{\left(\mathrm{t}\right)}\), two rows from Improved Pre-prepared power demand are selected in such a way that the predicted power should lie within the lambda limits.Assume n and n + 1 are the corresponding rows. If m < n, then RIPPD table is selected based on option 1, otherwise option 2 is selected. Once RIPPD table is obtained, the Reduced Committed Units (RCU) table could be formed by simply assigning + 1 if the output unit is ON and 0 if the unit is OFF. The RCU table will have binary elements indicating the status of all committed units.

The predicted load demand and reserve is presented in Table 4 and For the test system, Market Clearing Price (MCP) for power and reserve for test system is given in Table 5. The RIPPD table for different power demands are constructed and given in the Table 6. In this Table 6, the first row provides the initial information of committed units. If MCP is greater than the lambda at maximum output power, then that corresponding unit will be turned ON.

Table 4 Forecasted power demand (PD) and Spinning reserve (SR) for test system in MW
Table 5 Market clearing price for power and reserve
Table 6 RIPPD table for various power demands

Therefore the second row of the above RIPPD table gives the final information of units to be committed and also the transition of unit commitment from one lambda to another lambda in the table. The RCU table is obtained from the RIPPD table by substituting binary values in such a way that if the output power is non zero then it will be replaced as 1. For forecasted power demand of 1500 MW, the status of generating units is given in Table 7 as an example.

Table 7 Status of generating units for the power demand of 1500 MW

The procedures of de-commitment of units and Minimum up and down time constraints are also included in the PBUC problem.

4.3 Analytic Hierarchy Process (AHP) Method

The Analytic Hierarchy Process (AHP) is a theory of measurement through pair wise comparisons and relies on the judgments of experts to derive priority scales. The comparisons are made using a scale of absolute judgments that shows how much one element dominates on another element with respect to other factors represents how much more; one element dominates another with respect to a given attribute. The judgments may be inconsistent, and how to measure inconsistency and improve the judgments, when possible to obtain better consistency is a concern of the AHP [37].

The AHP is a decision-making approach. It offers alternatives and criteria, evaluates trade-off and applies a synthesis to reach a final decision.The PBUC problem can be solved with this approach by making decision effectively by ranking units in term of their values.

The pictorial representation of proposed methodology is given in the Fig. 2.

Fig. 2
figure 2

Flowchart of proposed method

Here the decision in Generation Company is taken based on priorities and to decompose the decision the following steps are followed.

1. Define the type of problem and determine the different kind of knowledge sought.

2. Generally the decision hierarchy is generated by the top management and then the objectives of an optimization are formulated from a broad perspective, through the intermediate levels (criteria on which subsequent elements depend) to the lowest level (which usually is a set of the alternatives).

3. Construct a set of pair wise comparison matrices. Each element of the upper level is used to compare with other elements in the level immediately below with respect to it.

4. Use the priorities obtained from the comparisons to weigh the priorities in the level immediately below. Do this for every element. Then for each element in the level below add its weighed values and obtain its overall or global priority.

In this paper, AHP method dispatches the demand in PBUC problem to maximize GENCOs profit. The performance of AHP is well tested for many optimization techniques in many literatures. The AHP method provides high applicability and efficiency to solve PBUC problem in Day a head market and achieve the highest profit.

5 Comparison of PBUC with CBUC

Generation scheduling problems can be solved by either Cost Based Unit Commitment or Profit Based Unit commitment objective functions [38]. Generally, CBUC problem is considered as a cooperative case whereas PBUC problem as competitive case. The objective of CBUC is to minimize the total operating cost by optimal scheduling of generating units by considering all the constraints. Whereas the objective of PBUC scheduling is to maximize the profit of GENCOs due to constraints and market price variations.

In cooperative case, the GENCOs should meet demand with minimum reserve requirements. So, the hourly load should be less than the total generation capacity and the system should work in a self sufficient mode [38].

In the competitive case, the system generation can be equal or lower than demand required. Usually, the profits of GENCOs are more in Competitive markets since GENCOs offer bids in such a way that it will attain a maximum profit [38]. The proposed methodology provides a better profit individually for PBUC and CBUC problems when compared with other methods(as published in many literature) such as Memory management algorithm (MMA), Muller, Improved Particle swarm optimization (PSO), Tabu search -RP and Tabu search-TRP etc. This is shown in Fig. 3 for PBUC and Table 8 for CBUC problems.

Fig. 3
figure 3

PBUC—profit comparison of proposed method with different methods

Table 8 CBUC—operating cost comparison of proposed method with different methods

The overall profit of CBUC and PBUC problems defined for a standard 10 unit system (introduced in Sect. 4) are compared in Table 9. It is shown that PBUC provides a maximum profit of $137595.25 whereas CBUC presents $75093 in Day ahead scheduling.

Table 9 Comparison of PBUC with CBUC

6 Introduction of Renewable Energy Sources and Electric Vehicle System

In this research work, a modified test system consists of Thermal units, Renewable Energy Sources (RESs) and Electric Vehicles (EVs) is constructed and the effect of solar, wind and Electric vehicle power output is considered on scheduling of ten units generating system. A multiple scale factor is used to model the wind and solar farms. By using this scale the power production level of solar and wind is found. The power output of each solar and wind is proportional to resource potential in term of solar irradiation and wind speed respectively [39]. In this paper, the actual solar irradiation and wind velocity is obtained from Kuala Terengganu, Malaysia [40] in given the Table 10. In Malaysia, the solar irradiation is relatively high compared to other countries. From the solar irradiation, the output power of the solar energy generated from PV panel can be calculated using Eq. (10). Area of the PV module is 1.6 m2 and PV module efficiency is 16% [41].

Table 10 Actual solar irradiation and wind speed data

From the wind velocity [42], the output power of wind energy generated from wind turbine can be calculated using the Eq. (9). Radius of the wind turbine rotor = 80 m, Air density = 1.2 kg/m3, Efficiency factor = 40%. Here solar energy is available from 7 am to 6 pm and wind energy is available most of the time..The Power generation from Renewable energy source for 24 h is graphically represented in Fig. 4 where total \({\mathrm{P}}_{\mathrm{s}}^{\left(\mathrm{t}\right)}\) is 2709.54 MW and \({\mathrm{P}}_{\mathrm{W}}^{\left(\mathrm{t}\right)}\) is 2697.87 MW.

Fig. 4
figure 4

source and b Wind energy source

Power generation of renewable energy for 24 h a Solar energy

In the recent years, The Electric Vehicles has drawn the interest of researchers by providing the batteries power of Electric Vehicles to the micro-grid when parked or take power from the micro-grid to charge the batteries on the vehicle, known as vehicle to grid concept. It can be used as loads (or) sources in the application of smart grid. The vehicle to grid improves the load profile and further reduces system running cost and emission [43]. For practical application, the number of Electric Vehicles (EVs) in an electric power network can be estimated analytically based on the number of electricity clients or customers in that network. The Electric Vehicle parameter considered in this paper are as follows: Average vehicle battery capacity (PV) = 15kWh, Estimated number of Electric Vehicles in a small city = 50,000. The output power of the Electric Vehicles can be calculated using Eq. (11). Departure Sum of charge \(({\uppsi }_{dep})\)= 50%, Minimum number of electric vehicle (\({\mathrm{N}}_{V2G})\)= 50,000 and system efficiency \((\upxi )\) = 85%.

The maximum number of discharging vehicles at each hour, 10% of total vehicles.. Due to stochastic nature of solar and wind, the output power from solar and wind farms cannot be predicted accurately and uncertainty in Electric vehicles occurs due to parking the vehicle in parking lot and at a home garage about 90–95% time a day.

Therefore, probability distribution of solar, wind and Electric vehicles is modeled and included in this paper. The probability distribution of solar, wind and electric vehicles for 24 h are 0.5, 0.15 and 0.5 respectively. The power production of electric vehicle is obtained by considering Average traveling power of Electric Vehicle and Minimum charging time of Electric Vehicle. Thus, the Electric vehicles are operated as loads and storages mainly at night from 10 pm to 7 am and they are operated as sources during working hours from 8 am to 3 pm and during the rest of the time from 4 to 9 pm they are operated as load or sources depending on the system demand and an optimal distribution of 50,000 electric vehicles in 24 h where they are charged from or discharged to grid and power dispatched from electric vehicles is given in Table 11.

Table 11 An optimal distribution of electric vehicles in 24 h where acting as sources and load

7 Simulation Results and Discussions

The proposed methodology is well tested in simulation study for following three cases in order to solve PBUC problem with Emission, Cost and profit is obtained.

Case 1: Ten thermal units.

Case 2: Ten thermal units with Electric Vehicles (EVs).

Case 3: Ten thermal units with Renewable Energy Sources (RESs) and Electric Vehicles (EVs).

Case 1 is described in detail in Sects. 4.1,4.2 and 4.3 and Case 2 and 3 results are provided in this Table 12 The Table compares the operating cost, emission and profit for ten unit system in each scenario. From Table 12, it is observed that in 10 unit 24 h system, the operating cost and emission are $5593,367.06 and 257,391.18 tons, when electric vehicles are considered in smart grid.On the other hand, the operating cost and emissions are $430,245.3and 249,566.88 tons respectively, when RESs and EVs are integrated in the same system.

Table 12 Result of different cases in terms of emission, cost and profit

The number of electric vehicles connected to the grid or grid to vehicle is not directly proportional to the demand. The scheduling of vehicle depends on non linear price curve, emission curve, constraints and so on.

The optimization method considers these factors and fifty thousand vehicles in grid where Electric vehicles are charged and discharged to or from the grid to reduce cost and emission. The maximum numbers of vehicles are discharged to the grid at peak load of 73.10 MW at 12 PM and maximum charging of electric vehicle take place at 12 to 1 AM at night.

From the simulation results, it can be observed that The AHP based power generation and reserve allocation for the test system with RESs and EVs energy sources reduces the total operating cost of the thermal units as well as provides high profit to the GENCOs.

From the simulation results, it can be observed that The AHP based power generation and reserve allocation for the test system with Renewable and Electric vehicle energy sources reduces the total operating cost of the thermal units as well as provides high profit to the GENCOs. This is shown in Table 13.

Table 13 AHP based optimal power generation and reserve allocation for the ten thermal unit systems with renewable and electric vehicle energy sources

From the Table 13, it is observed that the GENCO decides to shut off Units 5 to units 10 in all committed period and to sell power and reserve less than predicted power demand. This is because, the objective of PBUC is not to minimize operating cost as before but to maximize profit of GENCOs and solar energy is available only at day time from 7 am to 6 pm and wind energy is available most of the time and The Electric vehicles are charged from the grid during 1st to 7th and 22nd to 24th hours. On the other hand, Electric vehicles are discharged to the grid during the 8th to 21th hours.

From the Table 14, it is observed that the total power demand minus the total power of renewable energy and Electric vehicle for each hour is compensated by thermal units.The highest output obtained from renewable energy and electric vehicles is 869.09 MW at 14th hour and the output power generated from thermal power is considered to be lowest.

By Considering the Uncertainty of solar, wind and Electric vehicle, the maximum power is obtained from renewable energy and electric vehicle which reduces the power generation of thermal units thereby it reduces operating cost of thermal units and provides profit to GENCOs. The total revenue cost, total operating cost and profit obtained from the ten thermal units with renewable energy sources and electric vehicles is listed in the Table 14

Table 14 The profit calculation for the standard ten thermal units system with renewable energy sources and Electric vehicles

.

The TRC, TOC and Profit of GENCOs for case 3 are given in Fig. 5a. Profit obtained from the different cases has been compared in Fig. 5b. From the Fig. 5a it is observed that by optimal scheduling of thermal unit with Renewable Energy and Electric Vehicles provides maximum profit to the Generation Companies (GENCOs) and From the Fig. 5b it is also noted that the case 3 as high profit when compared to other two cases.

Fig. 5
figure 5

a Profit obtained from case 3 and b Profit obtained from different cases

8 Conclusion

In this research work, Unit commitment has been carried out in Cooperative and Competitive environment. A combination of solution methodology i.e. Improved Pre-prepared power demand Table with Analytic Hierarchy Process is proposed for unit commitment problems. It is solved in two stages. Firstly, the statuses of the generating units are obtained by IPPD Table, then Optimal scheduling of committed units is performed by AHP at second stage.

The PBUC approach achieves high profit of GENCOs in a Day ahead scheduling because of its competitive nature when compared to CBUC approach. In addition to that as major contribution, profit based unit commitment is redefined to include the model of market clearing price, multiple distributed resources and Electric vehicles. It is observed that MCP plays a key role in day ahead market to achieve high profit for GENCO.

In this paper, PBUC problem is defined and solved for a smart grid environment where Renewable Energy Sources and Electric Vehicles are integrated with thermal units by proposed methodology. The effects of RES and EV clearly provide low emission, low operating cost and high GENCO profit in a Day ahead market.

9 Further Work

This paper intended to solve Profit based unit commitment problem in a smart grid environment with Renewable energy source and Electric Vehicles. However, the emission less and fuel cost free Hydro generation can be considered for the analysis in future. Electric Vehicle batteries have large size and high mass due to which it takes a longer time to charge fully. So it is necessary to focus more on reducing this effort [44]. For future scope of work [45], Battery swapping scenario can be considered in Electric Vehicles. The PBUC problem with system frequency limit constraints can be proposed to facilitate high penetration level of renewable resources and Electric Vehicles. This may be modeled and included in PBUC problem as future work.