A Convex Primal Formulation for Convex Hull Pricing › materials › 2015-2016 › W5.9... ·...
Transcript of A Convex Primal Formulation for Convex Hull Pricing › materials › 2015-2016 › W5.9... ·...
A Convex Primal Formulation for Convex Hull Pricing
Bowen Hua and Ross Baldick
May 11, 2016
Outline
1 Motivation
2 Convex Hull Pricing
3 A Primal Formulation for CHP
4 Results
5 Conclusions
6 Reference
Hua and Baldick Primal Formulation for CHP May 11, 2016 2 / 36
Motivation
Outline
1 Motivation
2 Convex Hull Pricing
3 A Primal Formulation for CHP
4 Results
5 Conclusions
6 Reference
Hua and Baldick Primal Formulation for CHP May 11, 2016 3 / 36
Motivation
Markets with unit commitment
Day-ahead and some real-time markets in the US are based on amixed-integer unit commitment and economic dispatch (UCED)problem solved by the Independent System Operator (ISO).
The ISO: welfare-maximizing decision maker who sends prices andtarget quantity instructions to each generator.
Individual generators can be idealized as price-taking andprofit-maximizing.
Ideally, energy prices:
in the short term: decentralize the ISO’s decision by aligning thedecision of profit-maximizing market participants with the ISO’swelfare-maximizing decision,
in the long term: incentivize investments in new generation (based onanticipation of future energy prices) at the right place and time.
Hua and Baldick Primal Formulation for CHP May 11, 2016 4 / 36
Motivation
Non-convexity and uplift payments
If the market model is convex (e.g., the economic dispatch problem):
prices based on marginal costs align individual profit-maximizingdecisions with the ISO’s decision;
prices support a welfare-maximizing decision.
Because the UCED problem is non-convex,
sales of energy at LMPs may not cover start-up and no-load costs(e.g., block-loaded units);
in general, there does not exist a set of uniform prices that support awelfare-maximizing decision.
Uplift payments are:
side-payments that give incentives for the units to follow the ISO’sdecision,
non-anonymous.
Hua and Baldick Primal Formulation for CHP May 11, 2016 5 / 36
Motivation
Convex Hull Pricing
Intuition: Raising the energy price slightly above the marginal costmay reduce uplift payments.
Convex hull pricing (CHP) [Ring, 1995, Gribik et al., 2007] producesuniform prices that minimize certain uplift payments.
The Lagrangian dual problem of the UCED problem has been used todetermine CHP:
Convex hull prices are the dual maximizers.A convex but non-smooth problem.Existing methods do not guarantee polynomial-time solution.
Hua and Baldick Primal Formulation for CHP May 11, 2016 6 / 36
Motivation
Efficient computation of CHP is challenging
Obtaining the exact dual maximizers of the Lagrangian dual problemis computationally expensive [Hogan, 2014, Wang et al., 2016].
Midcontinent ISO (MISO) implemented an approximation that is asingle-period integer relaxation of the UCED problem[Wang et al., 2016].
We propose a polynomially-solvable primal formulation of theLagrangian dual problem, in which we explicitly characterize:
convex hulls of individual units’ feasible sets (based, in part, onprevious literature), andconvex envelopes of their cost functions.
Hua and Baldick Primal Formulation for CHP May 11, 2016 7 / 36
Convex Hull Pricing
Outline
1 Motivation
2 Convex Hull Pricing
3 A Primal Formulation for CHP
4 Results
5 Conclusions
6 Reference
Hua and Baldick Primal Formulation for CHP May 11, 2016 8 / 36
Convex Hull Pricing
The UCED problem
Consider a T -period problem with |G| units
minpg ,xg ,ug ,g∈G
∑g∈G
Cg(pg,xg,ug) (1)
s.t.∑g∈G
pg = d (2)
(pg,xg,ug) ∈ Xg, ∀g ∈ G. (3)
A basic model, extensions considered later, where:
pg ∈ RT+ dispatch levels, xg ∈ {0, 1}T on/off, ug ∈ {0, 1}T startup.
The offer cost function Cg is (piecewise) linear or quadratic in pg.
System-wide constraints: only demand constraints.
Private constraints that define Xg: generation limits, minimumup/down time, but not (yet) ramping constraints.
Hua and Baldick Primal Formulation for CHP May 11, 2016 9 / 36
Convex Hull Pricing
Profit maximization of market participants
Individual unit’s problem, given specified price vector π:
maxpg ,xg ,ug
πᵀpg − Cg(pg,xg,ug) (4)
s.t. (pg,xg,ug) ∈ Xg. (5)
Assume that unit g is a price-taker in the economics sense that itcannot affect prices.
Denote its value function by wg(π), which gives the maximum profitunder price π.
Hua and Baldick Primal Formulation for CHP May 11, 2016 10 / 36
Convex Hull Pricing
Uplift payment for lost opportunity costs
Profit made by following the ISO’s decision
Let the ISO’s solution to the UCED problem be (p∗,x∗,u∗).
Profit made by following the ISO: πᵀp∗g − Cg(p∗g,x∗g,u
∗g).
Uplift Payment
Because of the non-convexity of the UCED problem, the maximumprofit wg(π) may be strictly larger than profit made by following theISO.
There is a lost opportunity cost (LOC) of following the ISO.
We define the amount of uplift payment for LOC to be
Ug(π,p∗,x∗,u∗) = wg(π)− (πᵀp∗g − Cg(p
∗g,x∗g,u
∗g)), (6)
which is non-negative by definition.
Hua and Baldick Primal Formulation for CHP May 11, 2016 11 / 36
Convex Hull Pricing
CHPs as dual maximizers
The gap between the UCED problem,∑
g∈G Cg(p∗g,x∗g,u∗g), and its dual:
The Lagrangian dual function
q(π) =∑g∈G
(min
(pg,xg,ug)∈Xg
Cg(pg,xg,ug)− πᵀpg
)− πᵀd, (7)
is exactly the total lost opportunity cost∑
g∈G Ug(π,p∗,x∗,u∗).
The convex hull prices are the dual maximizers that solves
The Lagrangian dual problem
maxπ
q(π). (8)
Convex hull prices minimize this duality gap. This is a non-smooth problemthat is difficult to solve.
Hua and Baldick Primal Formulation for CHP May 11, 2016 12 / 36
Convex Hull Pricing
A single-period example from [MISO, 2010]
Table: Units in Example 1
UnitNo-load Energy p
gpg
$ $/MWh MW MW
1 0 60 0 1002 600 56 0 100
Table: Optimal Commitment and Dispatch for Example 1
tdt x1,t p1,t x2,t p2,t
MW MW MW
1 170 1 70 1 100
Both units must be committed since demand is above 100 MW, andoptimal dispatch is to operate unit 2 at full output since it has thelower marginal cost.Hua and Baldick Primal Formulation for CHP May 11, 2016 13 / 36
Convex Hull Pricing
Example from [MISO, 2010], cont’d
Table: Comparison of Different Pricing Schemes for Example 1
Pricing Schemeπ U1 U2
$/MWh $ $
LMP 60 0 200CHP 62 60 0
Under LMP, price is equal to unit 1’s energy offer, and unit 2 wouldhave a negative profit, necessitating uplift to unit 2.
Under CHP, price is equal to unit 2’s average cost, and unit 1 has anincentive to generate more than the ISO’s dispatch, necessitatinguplift to unit 1.
Hua and Baldick Primal Formulation for CHP May 11, 2016 14 / 36
A Primal Formulation for CHP
Outline
1 Motivation
2 Convex Hull Pricing
3 A Primal Formulation for CHP
4 Results
5 Conclusions
6 Reference
Hua and Baldick Primal Formulation for CHP May 11, 2016 15 / 36
A Primal Formulation for CHP
The Lagrangian dual problem in primal space
Structures
Compact but nonconvex Xg.
Quadratic or piecewise linear cost functions Cg(pg,xg,ug).
Linear system-wide constraints.
Separable across g absent of the system-wide constraints.
Notations
conv(·) denotes the convex hull of a set.
C∗∗g,Xg(·) is the convex envelope of Cg(·) taken over Xg:
the largest convex function on conv(Xg) that is an under-estimator ofCg on Xg,the epigraph of C∗∗g,Xg
(·) is the convex hull of the epigraph of Cg(·)taken over Xg.
Hua and Baldick Primal Formulation for CHP May 11, 2016 16 / 36
A Primal Formulation for CHP
The Lagrangian dual problem
Theorem 1.
The optimal objective function value of the Lagrangian dual problem (8) isequal to that of the following problem:
minpg ,xg ,ug ,g∈G
∑g∈G
C∗∗g,Xg(pg,xg,ug) (9)
s.t.∑g∈G
pg = d (10)
(pg,xg,ug) ∈ conv(Xg), ∀g ∈ G. (11)
An optimal dual vector associated with (10) is an optimal solution toproblem (8).
This is an application of a theorem in [Falk, 1969].
Hua and Baldick Primal Formulation for CHP May 11, 2016 17 / 36
A Primal Formulation for CHP
Getting CHPs using the primal formulation
Convex hull prices are the optimal dual variables associated with thesystem-wide constraints. To use this primal formulation, we need:
Explicit characterization of conv(Xg):Exponential number of valid inequalities needed for a generalmixed-integer linear feasible set [Cornuejols, 2007].Polyhedral studies of Xg exploit special structure to find compactcharacterization [Rajan and Takriti, 2005, Damc-Kurt et al., 2015,Pan and Guan, 2015].First consider convex hull of binary commitment decisions and theninclude dispatch decisions.
Explicit characterization of C∗∗g,Xg(pg,xg,ug):
In general difficult because of the non-convexity of Xg.Usually the cost functions are piecewise linear or quadratic.If Cg(pg,xg,ug) is affine then its convex envelope is itself.We exhibit convex envelopes for piecewise linear and for quadratic costfunctions.
Hua and Baldick Primal Formulation for CHP May 11, 2016 18 / 36
A Primal Formulation for CHP
Convex hulls for binary decisions
First consider the set of feasible commitment and start-up decisions.
State-transition constraints
ugt ≥ xgt − xg,t−1, ∀t ∈ [1, T ]. (12)
Min up/down time constraints
t∑i=t−Lg+1
ugi ≤ xgt, ∀t ∈ [Lg, T ], (13)
t∑i=t−lg+1
ugi ≤ 1− xgt, ∀t ∈ [lg, T ], (14)
where Lg and lg are respectively the minimum up and minimum downtimes of unit g.
Hua and Baldick Primal Formulation for CHP May 11, 2016 19 / 36
A Primal Formulation for CHP
Convex hulls for binary decisions
The set of feasible commitment and start-up decisions is
Dg = {xg ∈ {0, 1}T ,ug ∈ {0, 1}T | (12)–(14)}. (15)
Trivial inequality
ugt ≥ 0, ∀t ∈ [2, T ]. (16)
[Rajan and Takriti, 2005] show that the convex hull of the feasible binarydecisions alone is
conv(Dg) = {xg ∈ RT ,ug ∈ RT |(12)–(14), (16)}. (17)
The number of these facet-defining inequalities is polynomial in T .
Hua and Baldick Primal Formulation for CHP May 11, 2016 20 / 36
A Primal Formulation for CHP
Convex hull for commitment and dispatch decisions
The dispatch variables are constrained by:
xgtpg ≤ pgt ≤ xgtpg, ∀t ∈ [1, T ], (18)
Theorem 2.
If minimum up/down time and generation limits are considered for eachunit, then the polyhedron
Cg = {pg ∈ RT ,xg ∈ RT ,ug ∈ RT | (12)–(14), (16), (18)}
describes the convex hull of Xg.a
aFor T = 2 and T = 3, a more general Xg in which ramping constraints areincluded is considered in [Damc-Kurt et al., 2015] and [Pan and Guan, 2015].The result here holds for an arbitrary T .
Hua and Baldick Primal Formulation for CHP May 11, 2016 21 / 36
A Primal Formulation for CHP
Convex envelopes for piecewise linear cost functions
Suppose the interval [pg, pg] is partitioned into |K| intervals:
[pg, pg] = ∪k∈KIk. (19)
Suppose, when the unit is on, the single-period cost function for pgt ∈ Ik is
Cgt(pgt, 1, 0) = bgkpgt + cgk. (20)
Let the start-up cost of this unit be hg.
Theorem 3.
The convex envelope of the piecewise linear cost function taken over Xg isC∗∗g,Xg
(pg,xg,ug) =
T∑t=1
{bgkpgt + cgkxgt + hgugt, if pgt ∈ Ik
}.
Hua and Baldick Primal Formulation for CHP May 11, 2016 22 / 36
A Primal Formulation for CHP
Convex envelopes for quadratic cost functions
Suppose the cost functions are given in the form of
Cg(pg,xg,ug) =
T∑t=1
Cgt(pgt, xgt, ugt), (21)
whereCgt(pgt, xgt, ugt) = agp
2gt + bgpgt + cgxgt + hgugt (22)
is a single-period cost function that includes start-up cost hg and no-loadcost cg.
Observation
The convex envelope of a nonlinear convex function taken over anonconvex domain may not be itself.
Hua and Baldick Primal Formulation for CHP May 11, 2016 23 / 36
A Primal Formulation for CHP
A single-period example of convex envelope of quadratic cost function
The convex envelope of the bi-variate single-period cost function0.2p2gt + pgt + 4xgt taken over {xgt ∈ {0, 1}, pgt ∈ R |xgt ≤ pgt ≤ 5xgt}.
pgt
01
5
5
Cgt
4
10
xgt
0.5
14
20 0
The graph of the convex envelope of this bi-variate function at (pgt, xgt) withxgt ∈ (0, 1) is determined by the line connecting (0, 0, 0) and(pgt
xgt, 1, Cgt(
pgt
xgt, 1, 0)).
Hua and Baldick Primal Formulation for CHP May 11, 2016 24 / 36
A Primal Formulation for CHP
Generalization to multi-period case for quadratic costfunction
Theorem 4.
The convex envelope of the quadratic cost function (21) taken over Xg isC∗∗g,Xg
(pg,xg,ug) =
T∑t=1
{ag
p2gtxgt
+ bgpgt + cgxgt + hgugt, xgt > 0,
0, xgt = 0.
Min up/down time constraints complicate Xg. However, they do notchange the convex envelope.
Convex envelope is continuously differentiable on conv(Xg), but notso on the whole Euclidean space.
Non-linearity comes from the quadratic-over-linear terms.
Hua and Baldick Primal Formulation for CHP May 11, 2016 25 / 36
A Primal Formulation for CHP
Casting the problem as a second-order cone program
Moving the nonlinear terms from the objective to the constraints
Define an additional decision variable sgt ∈ R+ for eachquadratic-over-linear term.
New constraint:sgtxgt ≥ agp2gt. (23)
Reformulation
For xgt ≥ 0 and sgt ≥ 0, constraint (23) is equivalent to
‖(2√agpgt, xgt − sgt)‖2 ≤ xgt + sgt, (24)
which is a second-order cone constraint [Lobo et al., 1998].
Our primal formulation becomes an SOCP, since all other constraintsare linear. Off-the-shelf interior-point solvers available.
Hua and Baldick Primal Formulation for CHP May 11, 2016 26 / 36
A Primal Formulation for CHP
Extensions
Transmission constraints
Theorem 1 still holds.
Any linear system-wide constraints can be included.
Ramping constraints
Exponential number of valid inequalities needed to describe theconvex hulls [Damc-Kurt et al., 2015].
Convex hulls for T = 2 and T = 3 have been explicitly described[Pan and Guan, 2015].
We use valid inequalities for T = 2 and T = 3 to strengthen ourformulation, resulting in a tractable approximation of the convex hulls.
Convex envelopes will not change because ramping constraints definea convex feasible set. The convex envelope of a convex function takenover a convex domain is itself.
Hua and Baldick Primal Formulation for CHP May 11, 2016 27 / 36
Results
Outline
1 Motivation
2 Convex Hull Pricing
3 A Primal Formulation for CHP
4 Results
5 Conclusions
6 Reference
Hua and Baldick Primal Formulation for CHP May 11, 2016 28 / 36
Results
Example from [MISO, 2010] with three periods
Table: Units in Example 1
UnitNo-load Energy p
gpg Ramp Rate
$ $/MWh MW MW MW/hr
1 0 60 0 100 1202 600 56 0 100 60
Table: Optimal Commitment and Dispatch for Example 1
tdt x1,t p1,t x2,t p2,t
MW MW MW
1 70 1 70 0 02 100 1 40 1 603 170 1 70 1 100
Hua and Baldick Primal Formulation for CHP May 11, 2016 29 / 36
Results
Example from [MISO, 2010], cont’d
Table: Comparison of Different Pricing Schemes for Example 1
Pricing Schemeπ1 π2 π3 U1 U2
$/MWh $/MWh $/MWh $ $
LMP 60 60 60 0 560aCHP1 60 60 64 120 160aCHP2 60 60 65.6 168 0
CHP 60 60 65.6 168 0
We use the primal formulation to obtain CHPs.
aCHP1: only ramping constraints themselves.
aCHP2: valid inequalities that describe conv(Xg) for T = 2.
CHP: valid inequalities that describe conv(Xg) for T = 3.
Uplift under CHP is smaller than under LMP.
Hua and Baldick Primal Formulation for CHP May 11, 2016 30 / 36
Results
ISO New England Example1
Consider a 96-period 76-unit 8-bus example that is based on structuralattributes and data from ISO New England [Krishnamurthy et al., 2016]:
Start-up costs, no-load costs, minimum up/down time constraints,and ramping constraints,
12 transmission lines,
quadratic cost functions,
2400 dual variables in the Lagrangian dual problem.
We compare uplift payments resulting from:
LMPs,
CHP resulting from our primal formulation,
CHP obtained from MISO’s single-period approximation. (Start-upand no-load costs considered only for fast-start units. 18/76 units fallinto this category.)
1Optimization problems modeled in CVX and solved by GUROBI on a quad-corelaptop. Valid inequalities that characterize conv(Xg) are used when solving UCED.
Hua and Baldick Primal Formulation for CHP May 11, 2016 31 / 36
Results
Results
Case 1 (without transmission constraints)
UCED solved in 64.81s. Optimal obj. $41 702 112.SOCP solved in 5.54 s. Optimal obj. $41 697 614.
Case 2 (with transmission constraints)
UCED solved in 67.89s. Optimal obj. $41 876 398.SOCP solved in 11.18s. Optimal obj. $41 847 556.
Table: Total Uplift Payment ($) Under Different Pricing Schemes
LMPPrimal Formulation for
CHPMISO Single-Period
Approximation of CHPCase 1 149 105 22 291 89 758Case 2 385 753 23 869 302 430
Uplift under CHP is much smaller than under LMP and MISOapproximation.
Hua and Baldick Primal Formulation for CHP May 11, 2016 32 / 36
Conclusions
Outline
1 Motivation
2 Convex Hull Pricing
3 A Primal Formulation for CHP
4 Results
5 Conclusions
6 Reference
Hua and Baldick Primal Formulation for CHP May 11, 2016 33 / 36
Conclusions
Conclusions
A polynomially-solvable primal formulation for convex hull pricing.
Exact when ramping constraints are not considered.
Tractable approximation for the case with ramping constraints.
Convex hulls and convex envelopes useful for solving UCED.
Also useful for approximating results of UCED, which can beincorporated into generation and transmission expansion planningformulations.
Hua and Baldick Primal Formulation for CHP May 11, 2016 34 / 36
Conclusions
Remaining issues
This work provides a fast implementation of convex hull pricing.
Significant issues remain:
incentives for generators to reveal truthful start-up and no-loadinformation are not well understood in both LMP with traditionaluplift and convex hull pricing with uplift;
under convex hull prices, profit maximizing generators have incentivesto deviate from the ISO-determined dispatch instructions; and
interaction of day-ahead and real-time markets is not well understood.
Hua and Baldick Primal Formulation for CHP May 11, 2016 35 / 36
Reference
Outline
1 Motivation
2 Convex Hull Pricing
3 A Primal Formulation for CHP
4 Results
5 Conclusions
6 Reference
Hua and Baldick Primal Formulation for CHP May 11, 2016 36 / 36
Reference
Cornuejols, G. (2007).Valid inequalities for mixed integer linear programs.Mathematical Programming, 112(1):3–44.
Damc-Kurt, P., Kucukyavuz, S., Rajan, D., and Atamturk, A. (2015).A polyhedral study of production ramping.Mathematical Programming.
Falk, J. E. (1969).Lagrange Multipliers and Nonconvex Programs.SIAM Journal on Control, 7(4):534–545.
Gribik, P., Hogan, W., and Pope, S. (2007).Market-Clearing Electricity Prices and Energy Uplift.Technical report, Harvard University.
Hogan, W. (2014).Electricity Market Design and Efficient Pricing: Applications for NewEngland and Beyond.Technical report, Harvard University.
Hua and Baldick Primal Formulation for CHP May 11, 2016 36 / 36
Reference
Krishnamurthy, D., Li, W., and Tesfatsion, L. (2016).An 8-Zone Test System Based on ISO New England Data:Development and Application.IEEE Transactions on Power Systems, 31(1):234–246.
Lobo, M. S., Vandenberghe, L., Boyd, S., and Lebret, H. (1998).Applications of second-order cone programming.Linear Algebra and its Applications, 284(1-3):193–228.
MISO (2010).Convex Hull Workshop 3.Technical report.
Pan, K. and Guan, Y. (2015).A Polyhedral Study of the Integrated Minimum-Up/-Down Time andRamping Polytope.Technical report, University of Florida.
Rajan, D. and Takriti, S. (2005).
Hua and Baldick Primal Formulation for CHP May 11, 2016 36 / 36
Reference
Minimum up/down polytopes of the unit commitment problem withstart-up costs.Technical report, IBM Research Division.
Ring, B. (1995).Dispatch based pricing in decentralised power systems.PhD thesis, University of Canterbury.
Wang, C., Luh, P. B., Gribik, P., Peng, T., and Zhang, L. (2016).Commitment Cost Allocation of Fast-Start Units for ApproximateExtended Locational Marginal Prices.IEEE Transactions on Power Systems.
Hua and Baldick Primal Formulation for CHP May 11, 2016 36 / 36