A new stochastic program to facilitate intermittent renewable generation

Similar documents
Computing risk averse equilibrium in incomplete market. Henri Gerard Andy Philpott, Vincent Leclère

Modeling, equilibria, power and risk

A Merchant Mechanism for Electricity Transmission Expansion

Chapter 5. Transmission networks and electricity markets

Optimal Demand Response

Coupled Optimization Models for Planning and Operation of Power Systems on Multiple Scales

Perfect and Imperfect Competition in Electricity Markets

Optimal Demand Response

Optimization and Equilibrium in Energy Economics

Firming Renewable Power with Demand Response: An End-to-end Aggregator Business Model

POWER systems are one of the most critical infrastructures

R O B U S T E N E R G Y M AN AG E M E N T S Y S T E M F O R I S O L AT E D M I C R O G R I D S

Energy System Modelling Summer Semester 2018, Lecture 7

Planning a 100 percent renewable electricity system

Quadratic Support Functions and Extended Mathematical Programs

Multi-Area Stochastic Unit Commitment for High Wind Penetration in a Transmission Constrained Network

Stochastic Equilibrium Problems arising in the energy industry

Multi-Area Stochastic Unit Commitment for High Wind Penetration

A three-level MILP model for generation and transmission expansion planning

MOPEC: Multiple Optimization Problems with Equilibrium Constraints

Course notes for EE394V Restructured Electricity Markets: Locational Marginal Pricing

A Unified Framework for Defining and Measuring Flexibility in Power System

Field Exam: Advanced Theory

The DC Optimal Power Flow

Weather Derivatives-Pricing and Design Issue in India

The ambiguous impact of contracts on competition in the electricity market Yves Smeers

Proper Security Criteria Determination in a Power System with High Penetration of Renewable Resources

CAISO Participating Intermittent Resource Program for Wind Generation

IE 495 Final Exam. Due Date: May 1, 2003

A possible notion of short-term value-based reliability

Bilevel Programming-Based Unit Commitment for Locational Marginal Price Computation

Bringing Renewables to the Grid. John Dumas Director Wholesale Market Operations ERCOT

Increasingly, economists are asked not just to study or explain or interpret markets, but to design them.

A Stochastic-Oriented NLP Relaxation for Integer Programming

Surge Pricing and Labor Supply in the Ride- Sourcing Market

arxiv: v1 [math.oc] 28 Jun 2016

Multi-Area Interchange Scheduling under Uncertainty

(a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

Microeconomics II Lecture 4: Incomplete Information Karl Wärneryd Stockholm School of Economics November 2016

The System's Limitations Costs Determination Using the Duality Concept of Linear Programming

EUROPEAN EXPERIENCE: Large-scale cross-country forecasting with the help of Ensemble Forecasts

Networked Feedback Control for a Smart Power Distribution Grid

EC487 Advanced Microeconomics, Part I: Lecture 5

Congestion Equilibrium for Differentiated Service Classes Richard T. B. Ma

Value of Forecasts in Unit Commitment Problems

Department of Agricultural Economics. PhD Qualifier Examination. May 2009

A Market Mechanism for Electric Distribution Networks

Economics 201b Spring 2010 Solutions to Problem Set 1 John Zhu

Javier Contreras Sanz- Universidad de Castilla-La Mancha Jesús María López Lezama- Universidad de Antioquia Antonio Padilha-Feltrin- Universidade

Stochastic Programming Models in Design OUTLINE

ECO 317 Economics of Uncertainty Fall Term 2009 Slides to accompany 13. Markets and Efficient Risk-Bearing: Examples and Extensions

Three-Stage Stochastic Market-Clearing Model for the Swiss Reserve Market

Stochastic Dynamic Pricing: Utilizing Demand Response in an Adaptive Manner

Mechanism design and allocation algorithms for energy-network markets with piece-wise linear costs and quadratic externalities

Two-stage Stochastic Optimization for Optimal Power Flow under Renewable Generation Uncertainty

Software Tools: Congestion Management

Using Economic Contexts to Advance in Mathematics

Information Choice in Macroeconomics and Finance.

Duration and deadline differentiated demand: a model of flexible demand

The Analysis of Electricity Storage Location Sites in the Electric Transmission Grid

A Progressive Hedging Approach to Multistage Stochastic Generation and Transmission Investment Planning

Numerical illustration

problem. max Both k (0) and h (0) are given at time 0. (a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

Implementability, Walrasian Equilibria, and Efficient Matchings

Lecture 1: Introduction to IO Tom Holden

Controlling variability in power systems

Competitive Equilibrium

A New Dynamic Programming Decomposition Method for the Network Revenue Management Problem with Customer Choice Behavior

Microeconomic Theory (501b) Problem Set 10. Auctions and Moral Hazard Suggested Solution: Tibor Heumann

DATA-DRIVEN RISK-AVERSE STOCHASTIC PROGRAM AND RENEWABLE ENERGY INTEGRATION

Stochastic Unit Commitment with Topology Control Recourse for Renewables Integration

Distributed Optimization. Song Chong EE, KAIST

Dual Interpretations and Duality Applications (continued)

Modelling Czech and Slovak labour markets: A DSGE model with labour frictions

Order book modeling and market making under uncertainty.

SUBMITTED TO IEEE TRANSACTIONS ON POWER SYSTEMS, AUGUST

Uniqueness and Multiplicity of Market Equilibria on DC Power Flow Networks

Integrating Wind Resources Into the Transmission Grid

Real-Time Demand Response with Uncertain Renewable Energy in Smart Grid

Improvements to Benders' decomposition: systematic classification and performance comparison in a Transmission Expansion Planning problem

CONTROL AND OPTIMIZATION IN SMART-GRIDS

Corrective Control to Handle Forecast Uncertainty: A Chance Constrained Optimal Power Flow

2015 IEEE. Digital Object Identifier: /PTC

EconS Microeconomic Theory II Homework #9 - Answer key

AESO Load Forecast Application for Demand Side Participation. Eligibility Working Group September 26, 2017

International Workshop on Wind Energy Development Cairo, Egypt. ERCOT Wind Experience

Do Generation Firms in Restructured Electricity Markets Have Incentives to. Support Social-Welfare-Improving Transmission Investments?

Inverse Optimization for the Recovery of Market Structure from Market Outcomes

A new primal-dual framework for European day-ahead electricity auctions

THE assembling of Smart Grid, a cyber-enabled transformation

DIMACS, Rutgers U January 21, 2013 Michael Caramanis

CS599: Algorithm Design in Strategic Settings Fall 2012 Lecture 11: Ironing and Approximate Mechanism Design in Single-Parameter Bayesian Settings

Uncertainty Per Krusell & D. Krueger Lecture Notes Chapter 6

Getting to page 31 in Galí (2008)

5. Externalities and Public Goods. Externalities. Public Goods types. Public Goods

PROJECT ECONOMIC ANALYSIS

The Value of Sharing Intermittent Spectrum

Game Theory. Lecture Notes By Y. Narahari. Department of Computer Science and Automation Indian Institute of Science Bangalore, India July 2012

Simple New Keynesian Model without Capital

Robustness Adjustment of Two-Stage Robust Security-Constrained Unit Commitment

Transcription:

A new stochastic program to facilitate intermittent renewable generation Golbon Zakeri Geoff Pritchard, Mette Bjorndal, Endre Bjorndal EPOC UoA and Bergen, IPAM 2016

Premise for our model Growing need for flexibility (renewable penetration) Short notice deviations from pre-dispatch have costs.

Local attraction: solar powered ferris wheel

Don t interrupt the power supply!!

Renewable generation is intermittent With high levels of uncertainty in the forecast the pre-dispatch of generation is likely to be inefficient. Expensive real time adjustments must be made to meet variations to the forecast. So if we look at this from a stochastic programmer s perspective we see a problem of first stage planning followed by recourse.

PZSP: Tying two markets A basic electricity market trades in energy. New market in regulation or flexibility. Similar markets in ancillary services exist but our approach is to tie these markets together. If we have a distribution of future outcomes (e.g. wind generation or demand realization) then we can adapt the pre-dispatch plan to suit this future distribution. In 2010 we proposed tying the energy and regulation markets together through a stochastic program.

Recall the conventional OPF [DCOPF]: min c T X s.t. MX + AF = d [π] LF = 0 [λ] F K [η U ] F K [η V ] X G [µ] X 0 [ψ] Note that this is deterministic. We have ignored losses and reserves in the above model.

DCOPF notation M denotes the matrix that maps tranches to the nodes of the electricity network. In particular M nt = 1 if tranche t is offered at none n and M nt = 0 otherwise. A is the network node-arc incidence matrix for our electricity grid. L denotes the matrix for the loop flow constraints that capture Kirchhoff s laws. X is the vector of dispatches. F is the vector of flows. Vectors G and K represent the upper limits for the tranches and the line thermal limits respectively.

PZSP: make DCOPF stochastic Allow for variations in demands and offers and capture this as a two stage SP. The first stage represents an initial dispatch computed in advance, with only probabilistic estimates of some quantities available. This could be thought of as a day-ahead dispatch, although the same ideas may apply to shorter time scales. The first stage is a bit like a contract. The second stage represents real time, i.e. the actual dispatches over a short period. This period is meant to coincide with the market trading period. During this period some quantities will take on realized values unknown at the first stage. Adapting to these changes will require re-dispatch. We use the term regulation for differences between first-stage and second-stage dispatches.

How would the offers work? Offer t has an associated ask or bid price c t, which applies to power dispatched at the first stage. In addition, the participant making the offer also offers to, in real time, sell (back) additional power to the system at an asking price p + t = c t + r t, or buy back power from the system at a bid price c t = p t r t, wherever this is permitted or required by the capacity constraints. The margin r t 0 is an additional offer parameter to be chosen by the participant.

The SO s stochastic OPF problem can then be stated as: ( min ctx t + E[p + t (X t x t) + p t (X t x ) t) ] t T s.t. τ n(f) + t T (n) xt = 0 n [π1 n] τ n(f ) τ n(f) + t T (n) (Xt xt) = 0 n ω Ω [θω π 2 n(ω)] (x t, X t C t t ω Ω f U F U ω Ω.

Nodal pricing with regulation The first-stage nodal price π 1 n can be interpreted as the marginal cost of serving a deterministic additional load at node n, present in the first stage and in every second-stage scenario. It is therefore an appropriate price at which to trade non-random (i.e. notified in advance) quantities of electricity at node n. The second-stage nodal price π 2 n(ω) can be interpreted as the marginal cost of serving an additional load at node n which is present at the second stage in scenario ω only. This price is itself a random variable. It is an appropriate price at which to trade random (i.e. not foreseen in advance) quantities of electricity in real time at node n.

What the participants pay/get paid? Based on the above, in PZSP we combine the effects of first- and second-stage trading, and proposed to pay to the market participant responsible for offer i This can also be written x t π ν(t) + (X t x t )π 2 ν(t). (1) x t (π ν(t) π 2 ν(t) ) + X i π 2 ν(t), which leaves the first stage to be viewed as a market for hedges (contracts for differences); the second stage as a spot market in which all power is ultimately traded.

Question regarding π 2 n(ω) When computing πn(ω), 2 we allow the perturbation in scenario ω to be met by perturbing the first-stage variables x, f as well as X(ω), F (ω). Is this the right price or should we instead consider the real-time problem for the particular ω: ( min p + t (y t x t ) + p i (y t x ) t ) t T s.t. τ n (g) + t T (n) y t = 0 n [π R n (ω)] (x t, y t ) C t (ω) t g U, where x is the already-determined optimal solution of SPOPF. Turns out that (π 2 n(ω)) n N are also dual-optimal for RT, so it is valid to use them as second-stage prices under this interpretation also.

Revenue adequacy of PZSP? PZSP is provably revenue adequate in expectation. Mathematically this means [ ( E x t π ν(t) + (Xt x t )πν(t)) ] 2 0. (2) t (recall payout is positive and collection is negative). Intuitively this means that, if this type of market is used repeatedly over many trading periods, the SO will not run a financial deficit over time. There may be a deficit in an individual trading period.

A 2 node example Scenario probability D 1 D 2 ω 1 0.6 2 6 ω 2 0.4 7 1 Table: Scenarios for the two-node problem.

2 node discussion PZSP For our example the optimal (first stage) decision is to adapt to scenario 1, that is: x = (0, 3, 5, 2, 6) and f = 1. However if the second scenario eventuates then lack of transmission capacity will force a re-dispatch. X (ω 2 ) = (1, 3, 4, 7, 1) and F (ω 2 ) = 3. Here π A = 20, π B = 12.4 even though, in the first-stage primal solution, the transmission line between them is not constrained. The price difference reflects a contingent transmission constraint that may come into play upon re-dispatch.

2 node discussion If scenario 1 occurs then SO pays out 3 20 + 5 12.4 = 122, but collects only 2 20 + 6 12.4 = 114.4 leaving a deficit of 7.6. If scenario 2 occurs however there will be additional payments from the re-dispatch. We can go through the calculation and demonstrate a surplus of $76 in this scenario.

Our new SP In PZSP we require the first stage decision to meet physical conditions such as network flow conditions on dispatch. This is neither necessary nor intuitive. We can instead think about a news-vendor type of problem.

New SPOPF [NewSP]: min [ E ω c T X ω + r U u ω + r V v ω] s.t. MX ω + AF ω = d ω ω [θ ω π ω ] LF ω = 0 ω [θ ω λ ω ] F ω K ω [ θ ω ηu ω ] F ω K ω [ θ ω ηv ω ] X ω G ω [ θ ω µ ω ] X ω 0 ω [θ ω ψ ω ] u ω 0 ω [θ ω ξu ω ] v ω 0 ω [θ ω ξv ω ] x X ω + u ω 0 ω [θ ω ρ ω U ] x + X ω + v ω 0 ω [θ ω ρ ω V ] x G [ ζ] x 0

What the participants pay/get paid? The new payment mechanism is very simple. Each tranche gets paid (X t )π ω ν(t). (3) For any flexible demand, the above is what is charged. The inflexible demands pay d ω ν(t) πω ν(t).

Revenue adequacy of the new SP NewSP is provably revenue adequate in every scenario. Mathematically this means for any scenario ω, at optimality ( ) (Xt )πν(t) ω dω ν(t) πω ν(t) 0. (4) t (recall payout is positive and collection is negative). This is natural and the argument is very similar to revenue adequacy of the DCOPF.

Previous 2 node example revisited Scenario probability D 1 D 2 ω 1 0.6 2 6 ω 2 0.4 7 1 Table: Scenarios for the two-node problem.

2 node discussion new SP For our example the optimal (first stage) decision is similar to PZSP, that is: x = (0, 3, 5), note that we no longer have first stage flows. The real time dispatches are X (ω 1 ) = (0, 3, 5) (with no unders and overs), and X (ω 2 ) = (1, 3, 4) implying some adjustments. Here π ω 1 A = 15.33333, πω 2 A = 27, πω 1 B = 15.33333 and π ω 2 B = 8. Total payments under ω 1 amount to $122.667, which is exactly the system revenue. Total payments under ω 2 is $140. Here the collected revenue includes congestion rents and is $197.

Cost recovery: An intuitive note For a marginal tranche j, if this tranche has been adjusted upward then π n(j) = c j + (ρ U ) j. This is exactly what we expect. The cost of producing one more unit in the short run plus marginal cost of deviation. It is intuitive that in this case the generators will recover their cost. On the other hand if our marginal tranche has been adjusted downward then π n(j) = c j (ρ V ) j. This says if one more unit is consumed, then we d save the short run cost of generation, but we will save the downward deviation cost. In this case the generator may not recover cost (by being paid the real time price).

Cost recovery in expectation NewSP is provably recovers cost for each tranche, including the deviation penalties, in expectation. Mathematically this means at optimality E ω [ ˆ π ω n(t) ˆ X ω t c t ˆ Xω t r U t ˆ u ω t r V t ˆ v ω t ] 0. (5) This result follows from SP duality and the technical lemma discussed earlier regarding validity of duals in real time.

Another example [Ex1nd] min ω {1,2} ρ(ω)(10x ω 1 + 20X ω 2 + 0.01X ω 3 +1(X ω 1 x 1) + + 1(X ω 1 x 1) +5(X ω 2 x 2) + + 0.001(X ω 2 x 2) +1(X ω 3 x 3) + + 0.001(X ω 1 3 x 3) ) s/t x 1 + x 2 + x 3 = 100 x i 0 i {1, 2, 3} X ω 1 + X ω 2 + X ω 3 = 100 ω {1, 2} 0 X ω 1 50 ω {1, 2} 0 X ω 2 80 ω {1, 2} 0 X 1 3 20 0 X 1 3 50

Welfare enhancing The optimal cost with all constraints included (PZSP1) is 815.37. If the market clearing equation for the first stage is removed (NewSP2), the cost decreases to 800.38 (resulting in a better social welfare).

Optimal pre-dispatch property Suppose that X ω are the optimal solution to our new SP. Then the optimal pre-dispatch quantity x is found by x argmin E ω [c T X ω + ru T uω + rv T vω ] s.t. X ω = x + u ω v ω non-negativity It is simple to see that the solution is given by x such that P (X x) = r u r u + r v. So x is componentwise a quantile of the distribution of X ω. So in particular box constraints need not be imposed on x.

Competitive equilibrium is equivalent to system optimization [ [SNNSP]: min E ω c T X ω + r U u ω + r V v ω] s.t. t T Xω j d ω ω [θ ω π ω ] X ω G ω [ θ ω µ ω ] X ω 0 ω [θ ω ψ ω ] u ω 0 ω [θ ω ξu ω ] v ω 0 ω [θ ω ξv ω ] x X ω + u ω 0 ω [θ ω ρ ω U ] x + X ω + v ω 0 ω [θ ω ρ ω V ] x G [ ζ] x 0

Write the Lagrangian... [SNNSP]: min [ E ω c T X ω + r U u ω + r V v ω + π ω (d ω t T Xω j ) ] s.t. X ω G ω [ θ ω µ ω ] X ω 0 ω [θ ω ψ ω ] u ω 0 ω [θ ω ξu ω ] v ω 0 ω [θ ω ξv ω ] x X ω + u ω 0 ω [θ ω ρ ω U ] x + X ω + v ω 0 ω [θ ω ρ ω V ] x G [ ζ] x 0 where 0 t T X ω j d ω π ω 0. The problem decouples into agent (expected) optimization problems.

And now, the MOPEC! For each agent (in fact tranche): [AgentOpt]: min [ ] E ω c T X ω + r U u ω + r V v ω π ω Xj ω s.t. X ω G ω [ θ ω µ ω ] X ω 0 ω [θ ω ψ ω ] u ω 0 ω [θ ω ξu ω ] v ω 0 ω [θ ω ξv ω ] x X ω + u ω 0 ω [θ ω ρ ω U ] x + X ω + v ω 0 ω [θ ω ρ ω V ] x G [ ζ] x 0 Together with Walrasian prices, we recover the new SP.

What if agents are not risk neutral If the market is complete, the problem converts to a system optimization in expectation, but with risk adjusted probabilities (Ralph and Smeers). In this case everything we have laid out persists. We are interested in studying what practical instruments would complete the market in this context.

Expected revenue adequacy with sampled distribution Let F (x, µ) = E[π T X c T X r T u U r T v V ] Let x (ν n ) be the optimal first stage decision with respect to distribution ν n. Then if ν n µ (in distribution), we need F (x (ν n ), ν n ) F (x (µ), µ). So in particular if we use sample average approximation this will work.

Real world estimates We want to have a measure of implementability of this mechanism. I would like to solve the 2 stage SP using a large sample of wind scenarios and on the NZEM full system. Then simulate and measure cost recovery. We can use Benders decomposition. Our SP has a special structure so I d like to use cleverer methods. Please stay tuned!

Introduction Models Pricing Properties newsp Questions and comments most welcomed NSP-properties

My question for Roger Could the following algorithm work in finding the optimal solution to my new SP assuming complete recourse? Start with some x 0. Pass x 0 to all scenarios in stage 2 and solve to optimality. Set x k+1 = appropriate quantiles of the real time Xs and repeat step 2 till convergence.