Lecture8
Lecture8
EEN/L-671:
RESTRUCTURED POWER
SYSTEMS
LECTURE 8: Organization of Electricity
Markets
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 2
y
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 4
40000
30000
25000
Cost
20000
15000
10000
5000
0
0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200
MW
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 6
400
350
AFC AVC AC MC
300
250
Cost
200
150
100
50
0
0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200
MW
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 7
Example
• Demonstrate that the marginal production cost is equal to
the average production cost for the value of the output
that minimizes the average production cost.
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 10
Example
• A firm’s short-run cost function for the production of
gizmos is given by the following expression: 𝐶(𝑦) =
10𝑦 2 + 200𝑦 + 100000
• Calculate the range of output over which it would be profitable for
this firm to produce gizmos if it can sell each gizmo for ₹2400.
Calculate the value of the output that maximizes this profit.
• Repeat these calculations and explain your results for the
case in which the short-run cost function is given by
𝐶(𝑦) = 10𝑦 2 + 200𝑦 + 200000
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 11
`
AC in short-run
medium factory
MC2
AC
π*=MR1=MR2
π*=AR=MR
AVC
MC1
q1 q* q2 Quantity
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 17
Imperfect Competition
• The firms decide upon the quantity produced so as to
have direct effect on market price
• Prices can be manipulated by:
• Withholding the quantity
• Raising the asking price
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 18
Monopoly
• Monopoly firm is a sole seller of product
• Fundamental cause of monopoly is barrier to entry:
• Key resource for production is owned by a single firm
• Government gives exclusive rights to a single firm
• Costs of production make a single producer more efficient than
large number of producers
• An industry is a natural monopoly when a single firm can
supply a good to an entire market at a smaller cost than
two or more firms
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 20
𝜋
𝜋
Demand curve
Demand curve
𝜋 ∗= 𝑀𝑅
Marginal revenue curve
q q
MC
B
π*
AC
A
Demand
MR
q1 q* q2 Quantity
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 23
Oligopoly
• Modeling of oligopoly:
1. Cournot Model: firms decide quantity that they produce
2. Stackelberg Model: firms decide quantity that they
produce
3. Bertrand Model: firms decide the price
Perfect
Monopoly Oligopoly
Competition
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 24
Attendance
• MS Teams: l6ahq8m
• Please ensure 75% of attendance for ETE.
• Friday: 10 – 11 am
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 25
Cournot model
𝑌 = 𝑦1 + 𝑦2 + ⋯ + 𝑦𝑛
max[𝑦𝑖 𝜋 𝑌 − 𝑐 𝑦𝑖 ]
𝑦𝑖
𝑑
𝑦𝑖 𝜋 𝑌 − 𝑐 𝑦𝑖 =0
𝑑𝑦𝑖
𝑑𝜋 𝑌 𝑑𝑐 𝑦𝑖
𝜋 𝑌 + 𝑦𝑖 =
𝑑𝑦𝑖 𝑑𝑦𝑖
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 26
Cournot model
𝑦𝑖 𝑌 𝑑𝜋 𝑌 𝑑𝑐 𝑦𝑖
𝜋 𝑌 1+ =
𝑌 𝑑𝑦𝑖 𝜋 𝑌 𝑑𝑦𝑖
𝑦𝑖
⇒ 𝑠𝑖 =
𝑌
𝑠𝑖 𝑑𝑐 𝑦𝑖
⇒𝜋 𝑌 1− =
𝜀 𝑌 𝑑𝑦𝑖
𝑠𝑖
: should be high for existence of market power
𝜀 𝑌
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 27
Optimization
• Science of making best decisions
• Used in an extraordinary range of applications.
• Production, Manufacturing, Scheduling
• Distribution, supply chains
• Human resource planning (e.g., crew scheduling)
• Healthcare
• Designing technologies (e.g., networks, semiconductors, airplanes)
• Process design
• Airlines and trucking
• Retailing
• Oil and gas
• Electric power
• Financial services
• Agriculture
• Telecommunications
• Internet
• MUCH MORE.
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 29
Optimization Preliminaries
• In any optimization problem
• An objective function to be optimized
• Some constraints to be satisfied: equality and inequality constraints
• Objectives:
• Cost, loss, voltage stability margin, etc.
• Constraints:
• Power balance – equality constraint
• Voltage, generation, line flows – inequality constraints
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 30
Optimization techniques
• Two broad types:
• Simplex method (solves only linear programming problems)
• Gradient based methods
• First and second order gradient methods (Newton’s methods)
• Interior point methods
• Evolutionary algorithms
• Genetic algorithm
• Particle swarm optimization
• Differential evolution
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 31
Simple example
• A farmer has recently acquired a 110 hectares piece of land.
He has decided to grow wheat and millet on that land. Due to
the quality of the sun and the region’s excellent climate, the
entire production of Wheat and Millet can be sold. He wants to
know how to plant each variety in the 110 hectares, given the
costs, net profits and labour requirements according to the data
shown below:
Variety Cost (₹/Hec) Net Profit (₹/Hec) Man-days/Hec
Wheat 100 50 10
Millet 200 120 30
Simple example
• Chateau Maxim produces three different types of wines,
Red, Rose and White, using three different types of
grapes planted in its own vineyard. The amount of each
grape necessary to produce a unit amount of each wine,
the daily production of each grape, and the profit of selling
a unit of each wine is given below. How much of each
wines should one produce to maximize the profit? We
assume that all wines produced can be sold.
Wines (ton/unit)
Grapes Red White Rose Supply (ton/day)
Pinot Noir 2 0 0 4
Gamay 1 0 2 8
Chardonnay 0 3 1 6
profit (K₹/unit) 3 4 2
03-02-2025 © Deep Kiran, IIT Roorkee (2025) 34
Timeline of Contracts
Seller
Seller
Long term Day Ahead
bilateral Market (run by
Buyer transactions SO or PX)
Pool exchange
Buyer
or Pool
Dispatch
Seller
Seller