You are on page 1of 5

A New GA-approach for Optimizing Bidding Strategy

Viewpoint of Profit Maximization of a GENCO


A.Azadeh1,S.F.Ghadrei2,B.Pourvalikhan Nokhandan3
Department of Industrial Engineering, College of Engineering
University of Tehran
Tehran, Iran, P.O. Box 11155-4563

Abstract—Generation companies (GENCO) wish to is encoded. This encoded bidding price will be improved by
maximize their profit while participate in the electricity market. GA process such as crossover and mutation process. To find
In this paper, a GA approach is developed for solving GENCO fitness value and calculate the price, the profit of all
profit maximization problem to determine optimal bidding participants must be known. This fitness function is the flaw
strategy for GENCO in the day-ahead market. It is assumed that of this algorithm because each GENCO can not know their
Each GENCO submit its own bid as pairs of price and quantity.
rivals’ profits. However, GENCO need to forecast others
Also, it was assumed that the sealed auction with a pay-as-bid
MCP would be employed. Since, there are some complex market participants’ bid. Stochastic dynamic programming
constraints for GENCO to be taken into account; this is a non- model considering risk management was used as a method to
convex problem which is difficult to solve by traditional find optimal bidding strategies in energy and reserve markets
optimization techniques. In this paper, problem is solved from [24].
view point of profit maximization of GENCO that consider both GENCO need to predict optimal energy production and
rivals’ bid and profit functions. Therefore, there is a multi- optimal bidding price. An approach for predicting these
objective function to solve. A simple example is designed and requirements was presented in Ref. [25]; but technical and
illustrated how GA-approach can tackle this problem efficiently. complex generation constraints didn’t be considered in their
model. These complex constraints consist of fuel cost, start-up
Index Terms—bidding strategy, profit maximization, cost, generating limits and unit minimum up/down time
Genetic Algorithm, Day-ahead market, GENCO.
constraints [26].
In this paper, a new approach is proposed for determining
I. INTRODUCTION
GENCO’s optimal bidding in the day-ahead electricity market.

I n the competitive electricity market, generation is


dispatched based on bids; and each generation companies
(GENCOs) need to compete with rivals via bidding to the
This approach is developed from viewpoint of a GENCO that
participates in a market and wish to maximize its own profit.
It is assumed that the rivals’ bidding information is known or
market. Competition creates the opportunities for GENCOs to can be estimated based on historical data. Also, Constraints
get more profit [1]. such as generating limits are considered. These constraints
The bidding strategy problem was developed by many make the problem more difficult and hard to solve using the
researchers [2–17]. They used many different methods to conventional optimization methods. Therefore, the
solve the optimal bidding strategy problem. Monte Carlo optimization problem is solved by using of Genetic Algorithm
Simulation is one of these methods [18-19]. It repetitively taking constraints such as generator operating limits into
computes the optimal bidding strategy for one player with account. The proposed algorithm provides the optimal bidding
randomly rival bidding. Reinforcement Learning is one else for GENCO. It is assumed that bids submitted as pairs of price
method to solve the optimal bidding strategy problem [20-21]. and quantity. In this study, optimal bidding strategy using GA
In this method, next bidding price will be determined by is provided based on the forecasted load, forecasted market
artificial agent in each round of the auction. This chosen price clearing price (MCP) and expectations concerning rival bids
corresponds to load forecast and previous experience. If the and their profit functions. Therefore, there is a multi-objective
agent learned enough, selected bidding strategy based on problem to solve.
agent decision called optimal bidding strategy. Genetic This article is organized as follow: Section II presents
algorithm (GA) is one of them mentioned methods for finding mathematical modeling of profit maximization problem for
optimal bidding strategy [22-23]. In this study, the price optimizing bidding strategy. Section III gives an introduction
should being offered in the next round of bidding by GENCO to GA. Optimal bidding strategy using GA is shown by a
simple example in Section IV including problem description
and GA-approach to solve it. Numerical results are presented
1
Email address: aazadeh@ut.ac.ir by section V. Conclusions are drawn in Section VI.
Cell: +98 21 82084162
2
Email address: ghaderi@ut.ac.ir II. MATHEMATICAL MODELING
Tel: +98 21 88021067
3
Email address: b_pourvali@yahoo.com In this paper, it is assumed that each GENCO submit its own
Tel: +98 915 1042778 bid as pairs of price and quantity in day-ahead electricity
market. Suppose that there are K independent GENCOs
participating in electricity market in which the sealed auction
with a pay-as-bid MCP is employed. It is assumed that

978-1-4244-2758-1/09/$25.00 ©2009 IEEE


GENCOS have information such as forecasted load, Following constraint (8) represent that total energy is supplied
forecasted price and expectations of rival bids. Suppose jth f
by market must meet demand. Where P is forecasted
GENCO wish to participate in this market. The objective of
demand by jth GENCO.
this GENCO is to maximize its own profit (i.e., revenue minus K
cost) subject to all prevailing constraints. For GENCO at
considered hour, the profit is given as
∑P
j =1
j = Pf (8)

π j = RV j − TC j (1) Also, the market clearing price at considered hour can be


represented by (9):
π j , RV j , TC j
are profit, the total revenue and total CP = C f +ε
production cost for jth GENCO, respectively. Total revenue (9)
and total production cost can be calculated at considered hour,
ε ≈ N (μ ,σ 2 )
from (2) and (3) respectively. P f
where C is the actual price at considered hour, C is the
forecasted price by jth GENCO, ε is a stochastic variable
Nj

RV j = ∑ C ji Pji (2) subject to the normal distribution with mean μ and variance
i =1
2
(3)
σ2, which are obtained from the historical forecasts. The
TC j = a j + b j Pj + c j Pj
players are willing to offer a high price with a related tolerable
Nj risk. In addition, more constraint can be considered.
Where is the number of bid segments for jth GENCO.
C ji Pji III. INTRODUCTION TO GA
and are offered price and quantity at segment i for
Pj The well-known genetic-algorithm optimization techniques
jth GENCO, respectively. is the total quantity produced by implement the basic biological principles. Genetic Algorithms
Nj is one of the powerful non-deterministic methods to solve and
Pj = ∑ Pji optimize and find the best solution for the complex and non-
i =1
(4) linear problems especially NP problems.
jth GENCO at considered time where
There is a population of potential and feasible solutions for the
A: Objective Function each defined optimization problems. GA operates on initial
In this case, Each GENCO is aware of its rivals trying to population members (called chromosome) based on their
maximize their profits, too. So there is a multi objective fitness. Chromosomes with the best fitness are selected to
function to solve. In this case, GENCO maximize its own create new generation in the next round. Next generation
profit while maximize rival’s profits, too. chromosomes would have the better fitness and better
Most of the conventional algorithms reformulate a given approximations to best solution. Figure 1 shows the total
multi-objective optimization problem into a single objective- structure of a simple GA [27- 29].
function to be minimized or maximized. In this method a
single objective-function is formed from combination of
objectives to be optimized by determining appropriate weights
representing their importance. Following formulation is
selected as objective function based on two expert’s idea.
K K
α 0 (∑ π j ) + ∑α π
max j =1 j =1
j j
(5)
Objective function mentioned by (5) is a convex linear
K

∑α j =1
combination of GENCOs’ profit functions where j=0
.
α0 is coefficient of sum of profits. In this way, Coefficients
can be determined by experts from before experiments.
Fig. 1: Structure of a Genetic Algorithm

Genetic Algorithms are generally based on three modules


B: Subject to constraints known as production module, evaluation module and
Following constraint (6) represent offered price in each reproduction module.
segment has to be lower than market price cap. (a) Production module contains a set of operators and
C ji ≤ price _ cap j = 1..K , i = 1...N j (6) techniques for creating and manipulating population. The
Following constraint (7) represent GENCO’s minimum and initialization operator is used to create the initial population by
maximum generation requirements. filling it with randomly generated individuals. Each individual
min is a representative of the problem solution which is identified
Pj ≤ Pj ≤ Pjmax j = 1..K (7) by its digit string. The deletion operator deletes all old
population which can not contribute as influential parents in
new next generations when the reproduction has been for maximizing own profits. The unreality data are used in this
occurred. example because of simplifying problem to show efficiency of
(b) Evaluation module involves checking the individuals to proposed GA solving such problems. In follow, a GA-
see how good they are able to satisfy the objectives in the approach is proposed for solving this problem.
problem. The fitness operator quantifies the total characters of
each chromosome (individual) in the population. The B: GA Procedure
evaluating fitness operator assesses the value of fitness The proposed methodology consists of following
function of each chromosome in order to satisfy the objectives components:
based on maximum or minimum level. • Representation
(c) Reproduction module is really the most important stage in For this problem, the proper cumulative offered quantities for
GA. The module includes three main operators. The selection both GENCOs are selected as control variables in this
operator is beneficially used to determine which individuals as problem. Each chromosome in this GA consists of these 6
parents are chosen for mating and how many off springs, each variables and can be expressed as follow:
selected individuals and produce. The recombination operator
is used to produce new chromosomes in combining the chromosome q11 q12 q13 q 21 q 22 q 23
information contained in the parents. After recombination,
each off spring undergoes small perturbations (size of
mutation step) with low probability by the mutation operator q ji = Pji + Pj ( i −1) (11)
[30]. j = 1,2..i = 1..3 and Pj 0 = 0

IV. OPTIMAL BIDDING STRATEGY BY GA • Fitness Function


In this study, the value of the objective functions (profits) is
A: Example-Problem Description used to designate the fitness of each chromosome. Fitness
Suppose that there are two independent GENCOs willing to function is considered based on (10).
participate in electricity market. Suppose first CENCO wish to
• Initialization
participate at market and maximize its own profit.
Based on the feasible and operating range of the control
The problem is going to be solved from GENCO’s point of
variables; the chromosome’s of first population is randomly
view considering his rival’s bid. In this way, GENCO wish to
initialized.
maximize his profit while consider his rival wishing to
• Reproduction
maximize his profit, too. So, GENCO is going to solve two
Competition method is used for chromosome selection in this
maximization problems. As mentioned before, one approach is
problem. Selected chromosomes compose Mating pool. In
transfer two objective to a single objective by giving some
fact, Reproduction operator select a set of the best
coefficient to each objective based on its important.
chromosomes but none of these are new.
Suppose player 1 wish to maximize his profit considering his
rival bid wishing to maximize his profit, too. So, following • Crossover
single objective based on an expert idea is used instead of two Crossover operator creates new chromosomes from randomly
maximization objective. selected chromosomes from mating pool. The crossover
operator is carried out according to a rate of crossover. In this
max 0.5 * (π 1 + π 2 ) + 0.3π 1 + 0.2π 2 study crossover rate is defined as 0.7. Our approach is as
Suppose player 1 decide submit his bidding by three follow:
segments. Suppose that forecasted demand and forecasted Two chromosomes are selected from Mating pool as parents,
market clearing price by player 1 are 30 MVh and 7.5$, randomly. A number is selected from interval (0, 1) randomly
respectively. Also price cap is equal to 8$. Suppose this player and uniformly. If random number is less than crossover rate
considers caps for each segment’s quantity equal to 5, 10, and then crossover operator create two new chromosomes as child
15(MVh). Also, he determines his offered price for each from parents, else parents will be copied in child
segment based on historical data, price cap and forecasted chromosomes cell by cell. Parents are encoded as a four-based
price equal to 2, 5, 7 ($) respectively. Also, suppose player 1 number. Four-based coding is selected because selected
knows that his rival wishes to bid on three segments. Player 1 cumulative quantity values are small in this paper. Childs are
expect three caps for quantity bidding of his rival equal to 6, created by use of Mask array.
10, 20 (MVh) and three offered price equal to 2, 5, 7 ($). • Mutation
Suppose minimum and maximum generation for player 1 is The mutation operator is carried out according to a rate of
equal to 11 and 15 (MVh), respectively. Also minimum and mutation. In this study, mutation rate is considered as 0.02.
maximum generation for player 2 equal 16 and 20 (MVh), Childs will be copied in an array as future parents, so it must
respectively. Total cost of player 1 and player 2 are considered return to first step for fitness calculating. Mutation operator
fixed and equal 10 and 15, respectively. changes two cell content of child if random number be lower
parent1_1 0 0 1 0 1 1 0 3 1 0 0 0 0 1 0 1 0 1 than mutation-rate.
parent1_2 0 0 3 0 0 3 0 3 2 0 0 1 0 2 1 1 0 0

Now, player 1 try to choose parameters based on constraints Parent 1 1 5 13 0 4 17


1 1 1 1 1 0 0 0 0 1 1 1 1 0 1 1 1 0
Parent 2 3 3 14 1 9 16
Mask1
0 1 0 0 1 1 0 0 1 1 1 0 1 0 0 1 1 1
Mask2
child1_1 0 0 1 0 1 3 0 3 2 0 0 0 0 2 0 1 0 0
profit maximization problem to solve. Also, in our study,
child1_2 0 0 3 0 1 1 0 2 1 0 0 1 0 2 1 1 0 1 constraints such as generation limits were included in the
problem. Therefore, the optimal bidding strategies were
child1 1 7 14 0 8 16 resulted from an optimization problem solving that takes these
constraints into account. This was a non-convex problem
child2 3 5 13 1 9 17
which is difficult to solve by conventional optimization
techniques. Therefore, in this study, Genetic Algorithm was
• Termination criteria used to solve the problem. A simple example was defined and
There are various methods to end genetic algorithm running. illustrated how this approach could tackle this problem
Here, algorithm will be finished by determined number of efficiently. This example assumed a day-ahead market with
repetitions. two players concern to participate in market. In this example,
Initial population of chromosomes is shown in TABLE I by GA-approach find the optimal bidding strategy based on some
appendix A. assumptions such as the forecasted load, forecasted market
clearing price (MCP) and some expectations such as rival bids
V. SIMULATION RESULTS and profit functions. Numerical results represented that two
Following figure and Tables shows GA results for designed players using this approach for solving their problems achieve
problem. a common solution to submit bids. Therefore, they got
Optimal solution for problem is given by follow chromosome: equilibrium for bidding.

chromosome 1 5 13 0 4 17

Also, problem has been solved from view point of player 2.


Optimal solution is given by follow chromosome:

chromosome 1 5 13 0 4 17

The interested result is that two player achieve a common


solution to submit bids.
Price Price

7
7
5
5
2
2
Quantity Quantity

1 5 13 4 17
a. optimal bid for b. optimal bid for
player 1 player 2
Profit =68 Profit =96

Fig. 2. Optimal bidding strategy from viewpoint of player 1 (also player 2)


considering rival’s profit function

VI. CONCLUSION
In this paper, a GA approach was developed for solving
GENCO profit maximization problem to determine optimal
bidding strategy for GENCO in the day-ahead market. It was
assumed that each GENCO submit its own bid as pairs of
price and quantity; and they know or can estimate rivals’
bidding information based on historical data. Also, it was
assumed that the sealed auction with a pay-as-bid MCP is
employed. The proposed method was developed based on
profit maximization of a GENCO considering rival’s bidding
and profit functions. Therefore, GENCO has a multi objective
Appendix A: [15] Xiong G, Hashiyama T and Okuma S. An evolutionary computation for
TABLE I supplier bidding strategy in electricity auction market. Proc IEEE Power
INITIAL POPULATION OF CHROMOSOMES Eng Soc Winter Meet, February 2002 2002 p. 83–8.
[16] Ni E and Luh PB. Optimal integrated generation bidding and scheduling
Initial Population Fitness Function with risk management under a deregulated daily power market. Proc
Player 1 Player 2 IEEE Power Eng Soc Winter Meet, February 2002 2002 p. 70–6.
No. Chromosomes [17] Wen F and David AK. Coordination of bidding strategies in day-ahead
Profit Profit
energy and spinning reserve markets. Electr Power Energy Syst 2002;
ch-1 1 5 13 0 4 17 68 96 24(5):251–61.
ch-2 3 8 11 4 10 19 42 86 [18] Fushuan Wen and A.K.David 2001. Optimal bidding strategy for
competitive generators and large consumers. Electric Power and Energy
ch-3 3 3 14 1 9 16 73 76 System, 23, 37-43.
ch-4 3 5 12 6 10 18 55 73 [19] Xinshun Ma, Fushuan Wen, Yixin Ni and Jianxin Liu 2005. Towards the
ch-5 5 8 13 5 10 17 50 45 development of risk-constrained optimal bidding strategies for generation
companies in electricity markets. Electric Power System Research, 73,
ch-6 2 6 11 1 8 19 49 99 305-312.
ch-7 0 5 12 0 6 18 64 99 [20] Rajkumar Ragupathi and Tapas K.Das 2004. A Stochastic Game
Approach for Modeling Wholesale Energy Bidding in Deregulated Power
ch-8 3 5 11 2 7 19 48 98 Markets. IEEE Transactions on Power Systems, 19(2), 849-856.
ch-9 4 7 12 6 6 18 48 81 [21] Gaofeng Xiong, Shigeru Okuma and Hideki Fujita 2004.Multi-agent
Based Experiments on Uniform Price and Pay-as-Bid Electricity Auction
ch-10 2 9 13 3 10 17 57 75 Markets. In Proceeding of Conference on Electricity Utility Deregulation,
ch-11 3 4 14 1 8 16 71 78 Restructuring and Power Technologies, Hong Kong,72-76.
ch-12 4 4 11 3 6 19 47 97 [22] Sheble Gerald B. 2000. Agent Based Economics. In Marija Ilic.,
Francisco Galiana & Lester Fink (Eds). Power Systems Restructuring (pp.
ch-13 2 6 14 3 4 16 70 80 187-242). Kluwer Academic Publishes.
ch-14 1 7 11 0 4 19 50 110 [23] Pathom Attaviriyanupap, Hiroyuki Kita, Eiichi Tanaka and Jun
Hasegawa 2005. New bidding strategy formulation for day-ahead energy
ch-15 1 6 12 2 8 18 59 89 and reserve markets based on evolutionary programming. Electrical
ch-16 4 7 13 6 9 17 55 68 Power and Energy Systems, 27, 157-167.
[24] Ni E.N and Luh P.B., Optimal integrated generation bidding and
ch-17 5 10 14 5 5 16 53 72 scheduling with risk management under a deregulated daily power
market, in: Proceedings of IEEE Power Engineering Society Winter
REFERENCES Meeting, vol. 1, 2002, pp. 70–76.
[25] Wen FS, David AK. Oligopoly electricity production under incomplete
[1] Xinshun Maa, Fushuan Wena, Yixin Nia and Jianxin Liub, Towards the information. IEEE Power Eng Rev 2001(April):58–61.
development of risk-constrained optimal bidding strategies for generation [26] New bidding strategy formulation for day-ahead energy and reserve
companies in electricity markets, Electric Power Systems Research 73 markets based on evolutionary programming, Pathom Attaviriyanupap*,
(2005) 305–312. Hiroyuki Kita, Eiichi Tanaka, Jun Hasegawa, Electrical Power and
[2] David AK. Competitive bidding in electricity supply. IEE Proc: Gener, Energy Systems 27 (2005) 157–167.
Transm Distribution 1993;140(5):421–6. [27] Davis L. (1991). Hand Book of Genetic Algorithms, New York: Van
[3] Gross G and Finlay DJ. Optimal bidding strategies in competitive Nostrand Reinhold.
electricity markets. Proc 12th Power Syst Comput Conf, PSCC, August [28] Goldberg D.E. (1989). Genetic Algorithm in Search and Optimization,
1996 1996 p. 815–22. New York: Addison-Wesley.
[4] Gross G, Finlay DJ and Deltas G. Strategic bidding in electricity [29] Orero S.O. and Irving M.R. (1996). A genetic algorithm for generator
generation supply markets. Proc IEEE Power Eng Soc Winter Meet, scheduling in power system, Journal of Electrical Power and Energy
February 1998 1998 p. 309–15. System 18 (1) 19–26.
[5] Richter Jr. CW and Sheble GB. Genetic algorithm evolution of utility [30] Ebrahimipour V., Azadeh A., Rezaie K. and Suzuki K., A GA–PCA
bidding strategies for the competitive marketplace. IEEE Trans Power approach for power sector performance ranking based on machine
Syst 1998;13(1):256–61. productivity, Applied Mathematics and Computation 186 (2007) 1205–
[6] Hao S. A study of basic bidding strategy in clearing pricing auctions. Proc 1215.
21st Int Conf Power Ind Computer Appl, PICA, May 1999 1999 p. 55–
60.
[7] Mielczarski W, Michalik G and Widjaja M. Bidding strategies in
electricity markets. Proc 21st Int Conf Power Ind Computer Appl, PICA,
May 1999 1999 p. 71–6.
[8] Attaviriyanupap P .Electrical Power and Energy Systems 27 (2005) 157–
167.
[9] Richter Jr. CW, Sheble GB and Ashlock D. Comprehensive bidding
strategies with genetic programming/finite state automata. IEEE Trans
Power Syst 1999;14(4):1207–12.
[10] Bhattacharya K. Strategic bidding and generation scheduling in
electricity spot-markets. Int Conf Electr Utility Deregul Restruct Power
Technol 2000 p. 108–13.
[11] Zhang D, Wang Y and Luh PB. Optimization based bidding strategies in
the deregulated market. IEEE Trans Power Syst 2000;15(3):981–6.
[12] Wen F and David AK. Strategic bidding in reserve market. Proc Fifth Int
Conf Adv Power Syst Control, Oper Manage, APSCOM, October 2000
2000 p. 80–5.
[13] Wen F and David AK. Optimal bidding strategies and modeling of
imperfect information among competitive generators. IEEE Trans Power
Syst 2001;16(1):15–21.
[14] Guan X, Ho YC and Lai F. An ordinal optimization based bidding
strategy for electric power suppliers in the daily energy market. IEEE
Trans Power Syst 2001;16(4):788–97.

You might also like