Abstract
This paper presents a comprehensive framework model of a distribution company with security and reliability considerations. A probabilistic wind farm, which is a renewable energy resource, is modeled in this work. The requirement energy of distribution company can be either provided by distribution company's own distributed generations or purchased from power market. Two reliability indices as well as DC load flow equations are also considered in order to satisfy reliability and security constraints, respectively. Since allocating proper spinning reserve improves reliability level, the amount of spinning reserve will be calculated iteratively. In this work, all equations are expressed in a linear fashion in which unit commitment formulation depends on binary variables associated with only on/off of units. The benders decomposition method is used to solve security-based unit commitment.
1. Introduction
In general, electrical energy sector has been affected by two main factors over the past two decades. The first factor is the advancement in generation technologies which has been evolving on a continuous basis. Newer and different energy transformation resources have been introduced to achieve high standards of energy provision. The second factor is the trend to liberate the energy sector from a monopolistic operating regime to a deregulated one to establish competitive markets for electricity [1].
Traditionally, a Distribution Company (DISCO) purchases energy from wholesale market, at a high voltage level, and then transfers this energy to final customers. Nevertheless, the restructuring process of the energy sector has stimulated the introduction of new agents and products, and the unbundling of traditional DISCO into technical and commercial tasks, including the provision of ancillary services [2].
A day-ahead energy acquisition model for a DISCO in a pool market in the presence of financial bilateral contracts is presented in [3]. Both investor and utility-owned DG units as well as interruptible load (IL) options are considered in the model. An optimal power flow (OPF) model is used to arrive at the optimal set of energy schedules and decisions.
A multiperiod energy acquisition model for a DISCO with DG and IL options has been presented in [4]. A bi-level optimization formulation is developed wherein the upper subproblem (SP) maximizes the DISCO’s revenue, while the lower subproblem addresses the independent system operator’s (ISO’s) market clearing by minimizing generation costs and compensation costs for IL. The model takes intertemporal effects such as ramping into consideration.
In [5], a quantification of benefits from customer-owned back-up generators to DISCOs is carried out. An integration scheme for DGs in a pool-based market structure is proposed in [6] that encompasses both energy and capacity payment procedures. The problem of dispatch and control of DGs is formulated in [7] as a multi-agent system-based scheme, specifically for the purpose of voltage support.
Power system operators must maintain a certain amount of spinning reserve (SR) at all time for the purpose of protection in the event of a sudden loss of generating capacity or system load fluctuation. Over the last four decades, numerous techniques and methods have been developed to calculate reserve-constrained unit commitment [8, 9]. Both deterministic and probabilistic approaches can and are used to establish spinning reserve requirements. Some utilities have adopted deterministic criteria for the spinning reserve requirements. Their operating rules require the spinning reserve to the greater than the capacity of the largest online generator or a fraction of the load, or equal to some function of both of them [10]. Reference [11] presents a probabilistic technique to determine the required spinning reserve in a traditional power system using loss of load probability (LOLP) index. A probabilistic pool-based market clearing algorithm is presented in [12] which is based on the reliability of the unit instead of the price of energy and reserve.
As wind is a variable source of energy and cannot be predicted with high accuracy. Capacity factor of wind farms compare to conventional power plants is lower. In [13], a reliability-based unit commitment in restructured power systems with high penetration of wind farms is proposed. However the output of wind farm in [13] is the same in all hours.
In this paper, a reliability-based unit commitment in a distribution company is proposed. The probabilistic output of Siahpoosh [14] wind farm is calculated in a 24 hour period. The linearized unit commitment’s equations are divided into two stages and are solved with Benders decomposition method. Since this method decomposes the problem into two subproblems, the problem is going to it is widely used to solve unit commitment problem [15]. In an iterative process, reliability indices, LOLP as well as expected energy not served (EENS), will be calculated. Since in this paper the reliability unit commitment is solved in a sequential procedure, the authors add a penalty term to total unit commitment cost and put aside the first five results. The amount of spinning reserve is set in a way to satisfy adequate reliability level.
The rest of this paper organizes as follows. Section 2 describes a modeling and mathematical formulation of a distribution company. Section 3 expresses the solution. Section 4 discusses about the result of applying the proposed method on an eight test system. In Section 5, conclusion of the study is represented. A review of Benders Decomposition procedure is proposed in the appendix.
2. Modeling and Mathematical Formulation of a Distribution Company
A model of the operation of DISCO in a day-ahead electricity market is depicted in Figure 1. This model consists of several parts that are described in details as follows.
2.1. Objective Function
As it is stated in (2.1), the objective function consists of two components. The first component expresses the cost function of disco’s DG units. The real wind farm is also considered in this model as a renewable source of energy. Since the price of operation and maintenance of wind farm is very low, the cost of wind farm is set to zero. The second component considers the cost function of purchased power from the market at the day-ahead market.
According to (2.2), the total cost function consists of three elements as it is described as follows:
The first component is the operation cost that is the result of unit commitment. The second and third components are related to cost of spinning reserve and reliability, respectively. Solving the unit commitment, spinning reserve, and reliability criteria will be calculated iteratively,
2.1.1. Linerazied Operation Cost of DISCO-Owned DG
The I/O characteristic curve of a DG is a quadratic and can be obtained from the following equation [16]:
As aforementioned above, all equations should be expressed in a linear fashion. Maintaining the convexity, (2.3) can be converted to multiple piecewise linear segments in order to approximate the nonlinearity. The piecewise linear cost curve of th DG is illustrated in Figure 2. The analytic representation of this linear approximation by considering this fact that marginal costs are increasing is as follows:
2.1.2. Power Purchased from Power Market
The DISCO is able to obtain its needed energy from wholesalers in power market (PM):
2.2. Model Constraints
2.2.1. Generation Limits and Ramping Constraints
The generation limits of unit for each period are set as follow: Constraints (2.6) bounds the generation by the minimum power output and the maximum available power output of th unit in period , which is a nonnegative variable bounded by (13), the unit capacity. It should be noted that while unit is offline in period, ,. So and are equal to zero.
Variable should be limited by ramp-up (or startup ramp-up) (2.7) as well as shutdown ramp rates constraints (2.8):
Hence, ramp-down limits are imposed on the power output
It should be noted that constraints (2.6) and (2.9) only include binary variables, , and there is no need for extra variables as used in [17].
2.2.2. Startup and Shutdown Constraints
As depicted in Figure 3 [18], the startup cost function of a generator has an exponential nature that can be approximated in a discrete form as a stair-wise function. A mixed-integer linear formulation for stair-wise startup cost [19] was proposed in (2.10):
As it is clear in (2.10), the linear startup cost functions only rely on the binary variables of committed units. Moreover, considering the fuel cost, the shutdown cost while the unit is going to be offline [19], is stated as follows:
2.2.3. Linear Expression of Minimum up- and downtime Constraints
As it is stated in [14], minimum up- and downtime of each DG relies only on committed units, . Constraints regarding the minimum up time are formulated as follows: where is the number of initial periods during which th unit must be online. is mathematically expressed as .
Constraint (2.12) are related to the initial status of the units as defined by . Constraints (2.13) are used for subsequent periods to satisfy minimum uptime constraint during all the possible sets of the consecutive periods of size . Constraints (2.14) model the final periods in which if unit is started up, it remains online until the end of the time span.
Analogously, minimum downtime constraints are formulated as follows (2.15): where is the number of initial periods during which unit must be offline. is mathematically expressed as .
2.2.4. Spinning Reserve
The complete procedure of spinning reserve calculation is stated in Section 3.
2.3. Security Constraints
2.3.1. System Real Power Balance
2.3.2. Power Fow Limit
2.4. Probabilistic Model of a Wind Farm Output Power
The output power of a wind turbine generator is nonlinearly related to the wind speed. A schematic of wind turbine output is depicted in Figure 4. Output power of a wind turbine unit can be approximated by the following expression [20]: where and are related to and as it is stated in the following equations:
In this paper, the velocity of wind in eight different directions and their associated times of occurrence for six years in Siahpoosh are used. This wind farm has 50 wind turbines that capacity and force outage rate of each generator are 0.1 MW and 0.02, respectively. The output of a wind farm that has turbines is calculated as follows:
The probability of different output of wind farm is stated in Table 1.
The expected average power of wind farm during a period of 24 hours is given in Table 2.
3. Solution Method
In this section, the procedure of minimizing total cost of DISCO considering security and reliability indices is proposed.
3.1. Security-Constrained Unit Commitment Based on Benders Decomposition Method
The first part of the solving procedure is unit commitment problem with DC load flow constraints. Unit commitment in electric power systems is to optimize generating resources to supply system load while satisfying prevailing constraints, such as minimum on/off time, ramping up/down, minimum/maximum generating capacity, and fuel limit [21].
The network model is also included to consider load flow limits which is based on a DC load flow. In general, the UC problem falls into the category of large-scale and nonconvex problems that are extremely difficult to solve in an accurate and efficient way. In light of the need of more efficient tools to support decisions for resource scheduling in the new competitive business environment, the Benders decomposition method has attracted more attention in recent years [15, 22, 23].
This approach decomposes UC into a master problem and a subproblem. The master problem is an integer programming, and subproblem is a linear programming. The master problem applies integer programming method to solve UC and find proper on/off states of the units, and the subproblem uses this solution to form appropriate cuts and adds them to the master problem for solving the next iteration of UC. All continuous variables are considered in subproblem. The iterative process will continue until a predefined gap is obtained and a converged optimal solution is found. The procedure of Benders decomposition is stated in the appendix. In the proposed decomposition approach, both subproblem and master problem would have constraints. Since the objective function and constraints of the master problem are modified in a way that there exists no continuous variable in this problem, the solution will be found faster than conventional mixed integer linear programming (MILP).
The flowchart of the Benders decomposition procedure followed in this paper includes the steps illustrated in Figure 5.
3.1.1. Subproblem
The objective function of subproblem is as (3.1) in which the integer part is fixed
The subproblem will be solved subject to linear model of power generation (2.6), ramp-up and ramp-down constraints (2.7)–(2.9), power balance (2.18), and DC power flow equations (2.19).
3.1.2. Relaxed Subproblem
If the subproblem is not feasible, the subproblem will be relaxed in order to make the subproblem feasible. The formulation of the relaxed subproblem is stated as follows:
After solving the relaxed subproblem and finding the dual variables, , a cut (3.3) is added to the master problem,
3.1.3. Master Problem
The objective function of the master problem is as (3.1) in which the continuous variables are fixed. Constraints regarding the master problem are startup and shutdown constraints (2.10) and (2.11) and minimum up time (2.12)–(2.14) and minimum downtime constraints (2.15)–(2.17).
A Benders cut (3.4) is added to the master problem while the master problem does not converge.
The master problem will be solved by either (3.3) or (3.4), and the optimization problem will be terminated while .
3.2. Calculation of Reliability Indices
Reliability constraints are implemented in order to achieve a reliable unit commitment schedule. There are two ways to consider reliability constraints. The first method is to consider reliability indices implicitly as unit commitment’s constraints in a mixed integer linear format and calculate unit commitment and reliability indices simultaneously,
This method has been implemented in [11] for one hour. The result of this method is optimum; however, it is impractical for a 24-hour period because it is computationally extensive. Another method which is used in this paper is to calculate the reliability indices sequentially. Since computating reliability indices in DELPHI-executable format are very fast, the authors programmed reliability indices in DELPHI language.
3.3. LOLP Calculation
Once the status of each unit is determined by unit commitment, the LOLP is checked for each hour: where If (3.6) is not satisfied in hour , the unit commitment result will be rejected. In another word, the committed units do not guarantee a reliable system. So an integer cut is added to unit commitment constraints. Then unit commitment should be calculated again. Besides, the amount of spinning reserve will be determined as follows:
This iterative process continues until (3.8) is satified for a 24-hour period.
3.4. Expected Interruption Cost
Most methods that have been proposed for calculating expected interruption cost were based on a combination of a cost model and a set of reliability indices. An important factor in calculating expected interruption cost is that cost of a service interruption is much higher for some customers than others. Therefore, some customers are willing to pay more for higher reliable level, while others would accept less reliable system for reduction in their electricity cost. So in this paper, the value of the loss load (VOLL) is considered the same for all customers. The expected interruption cost is as follows: where is the energy is expected energy that is not going to be supplied. Different methods have been implemented to calculate . In this work, is $1000/MWh.
Since expected interruption cost is related to the configuration of committed units, different units’ combination leads to different expected interruption cost. In this paper, the first 5 total costs are saved.
4. Case Study
The proposed algorithm has been implemented in GAMS and DELPHI. The effectiveness of the proposed method was initially tested on an eight-bus test system in which the reliability indices were not included. The result of the proposed method has been compared with [24]. In the second test system, we modified the 33-bus distribution test system [25] by adding three DG units owned by disco and a wind farm. Two different scenarios are implemented to examine the operational issues of proposed method.
4.1. Case Study 1
In this section, the convergence speed of proposed method is compared with an eight-bus test system. The single line diagram of the test system is given in Figure 6.
In this first case, the reliability indices are not considered and only the effectiveness of benders decomposition in solving unit commitment, in which binary variables are only on/off of units, is examined. In this case, the deterministic spinning reserve is considered. The deterministic spinning reserve is set to 10 percent of total load. Table 3 shows the simulation result of the first case study. The total cost of proposed method $80982.65 is the same as [24]; however, the execution time is improved by %33.2. The improvement is due to the decomposition of the unit commitment problem into two stages as well as reformulating the unit commitment in a way that only binary variables associated with on/off of units are considered.
The proposed method is applied to a modified 33-distribution test system. The single line test system and its data are in Figure 7.
4.2. Case Study 2
Three DG units and a wind farm owned by the disco are supposed to be connected at the end of distribution buses. It should be noted that, the locations of DGs in this work are absolutely selected arbitrary. The two of them, at the buses-18 and 33, are 5 MW capacities each, while the last one at bus-22 is 4 MW capacity. The output of wind farm, which is connected to bus-25, is illustrated in Table 2. The hourly demands as well as their associated price are stated in Table 4. The tie lines are not put into practice in this paper. The disco is able to purchase energy from wholesalers at power market which is connected at bus-1.
The total cost of this case is $6616.282. It is clear that when the cost of electricity is low in some hours, the disco tends to purchase energy from market instead of using DG-2 or DG-3. Three DG units and a wind farm owned by the disco are supposed to be connected at the end of distribution buses. It should be noted that the locations of DGs in this work are absolutely selected arbitrary. The two of them, at the buses-18 and 33, are 5 MW capacities each, while the last one at bus-22 is 4 MW capacity. The output of wind farm, which is connected to bus-25, is illustrated in Table 2. The hourly demands as well as their associated price are stated in Table 4. The tie lines are not put into practice in this paper. The disco is able to purchase energy from wholesalers at power market which is connected at bus-1.
In order to discuss the efficiency of proposed method in details, we consider the following three cases.
Case 1. Base case.
Case 2. Base case + DC power flow + deterministic spinning reserve.
Case 3. Base case + DC power flow + reliability constraints + probabilistic spinning reserve.
4.2.1. Case 1
In this case, only a two-level unit commitment is considered. The disco provides its needed energy from wind farm, its own DG units, and power market. All generators are supposed to be ON for the first hour. The DG-1 is the cheapest DG unit while DG-2 is the most expensive one. The simulation result of this case is depicted in Table 5.
4.2.2. Case 2
In this case, the unit commitment in which DC load flow equations as well as spinning reserve are included is considered. The amount of deterministic spinning reserve is set to 3 MW for all hours. This method of calculating spinning reserve does not take into consideration the probability of occurrence of this contingency, if its probability is low, on the average, over-scheduling of reserve may result, while if the probability of occurrence is high, the reserve may be insufficient [26]. The transmission constraints are also added to unit commitment constraints. The DC load flow variables are belonged to the subproblem. The total cost of this case is $12049.852. The simulation result is stated in Table 6. It is clear that DG-2 is the most expensive units. The cost of second case is greater by 82% comparing with Case 1. This increase in cost is because of using spinning reserve as well as considering security constraints.
4.2.3. Case 3
In this case, we consider the complete model of DISCO in which security as well as reliability constraints are included.
In Table 7, the result of unit commitment with DC load flow considerations, spinning reserve, hourly LOLP, and total EEN are presented. As it is clear in Table 6, in some hours, DG2 which is the most expensive unit are going to be ON in order to improve the reliability of the system. The hourly spinning reserve which was obtained from (3.8) and (3.9) is set in a way that LOLP in all hours will be less than 0.05. The EENS of the system is 0.742 MWh. The total cost of the system (2.2) is $9388.999 which was improved by 0.22%. Table 7 includes the first 5 EENS values and their associated total costs. As it is extracted from Table 8, the first result has the minimum total cost.
5. Conclusion
This paper presented a reliability-based unit commitment of a DISCO in restructured power market. The probabilistic output of the real wind farm is also used in this paper. A step-by-step procedure was stated to clarify the applicability of proposed methodology. In unit commitment formulation, only one set of binary variables, on/off of the units, was used. The Benders decomposition was used to solve the unit commitment problem. The LOLP and EENS indices were programmed in Delphi environment and linked with GAMS. The proposed algorithm was applied to two-bus test system. The numerical results demonstrated the efficiency of proposed method. The proposed model is more comprehensive in comparison with other related done works.
Appendix
Unit Commitment Based on Benders Decomposition
The unit commitment problem is a MILP in which the master problem includes on/off of generators and some constraints that include only binary variables while the subproblem includes continuous variables of generation of each unit and other constraints that include continuous variables. A MILP is assumed as follows: where and represent linear and integer variables, respectively. Each master problem provides a lower bound which represent and optimistic estimate of the original problem solution. Each subproblem provides an upper bound with respect to . The iterative “testing” of difference between upper bound and lower bound helps master problem to learn about the problem. As Benders’ cuts are added to the master problem, the objective function, which is an upper bound on the original problem optimal solution, is monotonically decreasing. The Benders’ cuts provide an approximation of the subproblem objective function value for different sets of in solution. Nevertheless, each cut provides some information about the influence of each on the problem solution. When the optimistic and conservative bound coverage, the optimal solution of original problem is represented as the subproblem solution which generated the last conservative bound, combined with the sets of values which generated that solution. The Benders algorithm as implemented is the following.
Step 1. Initializing:
Step 2. Solve subproblem. The initial subproblem is solved after adjusting the subproblem to reflect the vector’s impact on constraint right hand sides, where are the duals for inequalities .
Step 3. Comparing. The subproblem-objective function plus is compared to the previous conservative bound. If this sum represents an improvement over bound, the current and associated subproblem solutions are saved as the incumbent solution
The difference between conservative and optimistic bound is then compared to convergence tolerance (). If bound difference is less than or equal to, go to Step 7. If not, the iteration number is incremented by 1 and new Benders’ cut is formed which is then added as another constraints in the master problem:
Step 4. Solve Master Problem:
Step 5. New Optimistic Bound. The master problem-objective function value becomes new optimistic bound. Then it is checked for problem convergence. If the difference is less than or equal to tolerance, go to Step 7. Else, based on the new master solution, right hand side of the subproblem is computed.
Step 6. Based on the from Step 4, the subproblem is solved. Then return to Step 3.
Step 7. Dual variables. The dual variables are calculated for the optimal solution. The incumbent solution from Step 3 is then printed and the procedure is terminated.
Units
Constants: | Constant of wind farm |
: | Coefficient of a wind farm output |
: | Number of wind turbines |
: | Coefficients of quadratic production cost function of unit |
: | Probability of th state |
: | Number of states |
: | Startup constant of unit |
: | Coefficients of wind turbine output |
: | Number of the segments of the piecewise linear production cost function |
: | Capacity of unit |
: | Slope of block of the piecewise linear production cost function of unit |
: | Shutdown cost of unit |
: | Upper limit of block of the piecewise linear production cost function of unit |
: | Minimum power output of unit |
: | Maximum power of power plant |
: | Power output of a wind turbine in hour |
: | Power output of a wind farm in hour |
: | Minimum power allowed from wholesaler |
: | Maximum power allowed from wholesaler |
: | Maximum spinning reserve |
: | Rated output power of a wind turbine |
: | Maximum power flow limit of line in hour |
: | Ramp-up limit of unit |
: | Shutdown ramp rate of th unit |
: | Iteration number for saving EENS |
: | Maximum value of spinning reserve |
: | Startup ramp rate of th unit |
: | Upper bound of master problem in Benders decomposition method |
: | Lower bound of master problem in Benders decomposition method |
: | Cut-in speed of a wind turbine |
: | Rated speed of a wind turbine |
: | Cut-out speed of a wind turbine |
: | Fixed binary variables |
: | Number of periods unit has been offline prior to the first period of time span |
: | Initial commitment state of unit |
: | Number of periods unit has been offline prior to the first period of time span |
: | Minimum up time of unit |
: | Minimum down time of unit |
: | Maximum allowed LOLP. |
: | Operating cost of DISCO |
: | Total cost of DISCO |
: | Cost of spinning reserve in hour |
: | Expected interruption cost |
: | Cost of operation of unit in hour |
: | Startup cost of th unit |
: | Shutdown cost of th unit |
: | DC power flow of line in hour |
: | Spinning reserve in hour |
: | Power output of unit in hour |
: | Maximum available power output of unit in hour |
: | Binary variables that are equal to 1 if unit is online in period and 0 otherwise |
: | Power produced in block of the piecewise linear production cost function of unit in period |
: | Relaxed objective function in Benders decomposition |
: | LOLP of hour |
: | Dual variables of unit related to equation of subproblem |
: | Dual variables of unit related to equation of relaxed subproblem |
: | Objective function of subproblem |
: | Benders cut of master problem |
: | Benders cut of relaxed subproblem. |
: | Set of indexes of the generating units |
: | Set of indexes of the time periods |
: | Counter in Benders decomposition formulation. |