SPXI Tutorial, August 26, 2007 Andy Philpott The University of Auckland www.esc.auckland.ac.nz/epoc Stochastic Optimization in Electricity Systems.

Slides:



Advertisements
Similar presentations
APICS Southeast Florida
Advertisements

© 2000 JN Natural Gas Outlook & Issues AB 1890 Implementation Group Annual Meeting November 14, 2000 ®
The Way of KNSO MicroData Provision KNSO Ji Eun Lee.
Prevalence of Obesity* among U.S. Adults BRFSS, 1992 Source: Mokdad AH, et al. J Am Med Assoc 1999;282:16. 15% no data.
TABLE OF CONTENTS CHAPTER 1.0: Trends in the Overall Health Care Market Chart 1.1: Total National Health Expenditures, 1980 – 2005 Chart 1.2: Percent Change.
The big picture A tough decade has come to an end and there now is an opportunity to strengthen the quality of education.
Presenter Name(s) Issue date National Student.
Through the years… JUNIATA COLLEGE FIELD HOCKEY. SeasonCoachRecord 1973Unknown Jo Reilly Alexa Fultz Alexa Fultz Nancy Harden-Latimore4-4-1.
1 BERENDSEN TEXTILE SERVICE Leading Service Excellence.
Water Governance in The Netherlands and Asian Countries The Importance of a Coherent Legal Framework for the National Implementation of IWRM Principles.
The Privatization of the Power Industry By Shubha Balasubramanyam July 23, 2001.
ONS SDDP Workshop, August 17, 2011 Slide 1 of 31 Andy Philpott EPOC ( joint work with Ziming Guan (now at UBC/BC Hydro) Electricity Market.
STEPS A Stochastic Top-down Electricity Price Simulator Martin Peat.
EPOC Winter Workshop, September 7, 2007 Andy Philpott The University of Auckland (joint work with Eddie Anderson, UNSW) Uniform-price.
Transparent, Repeatable, Defendable, and Published Generation, Transmission & Nat Gas Network Co-Optimizations
FBA 7 th NATIONAL CONFERENCE SUSTAINING ENTREPRENEURSHIP – FAMILIES IN BUSINESS 26 TH August, 2005.
From Delft into Almere Prof.dr.ir.Taeke M. de Jong.
EXPANSION OF TRANSMISSION SYSTEMS IN A DEREGULATED ENVIRONMENT Yong Zheng Saskatchewan Power Corporation N.A.Chowdhury University of Saskatchewan.
ERGEG Public Hearing Brussels, 6 July 2006 Gunnar Lundberg Chair of the EURELECTRIC WG Wholesale Markets & Trading Vice Chair of the Markets Committee.
Landings by Species Group and Year. Revenue by Species Group.
HERBS - H YDRO E LECTRIC R ESERVOIR B IDDING S YSTEM Faisal Wahid Andy Philpott Anthony Downward.
Electrical and Computer Engineering Mississippi State University
Demand Response in the Reliability Pricing Model Chuck Whitlock.
Modelling Developments at Power Systems Research Tom Halliburton EPOC Meeting 9 th July 2014.
Power Station Control and Optimisation Anna Aslanyan Quantitative Finance Centre BP.
Multi-Area Stochastic Unit Commitment for High Wind Penetration in a Transmission Constrained Network Shmuel Oren University of California, Berkeley Joint.
1 Competition Policy and Regulation in Hydro-Based Electricity Markets Luiz Rangel Energy Centre, University of Auckland September 2007.
EPOC Optimization Workshop, July 8, 2011 Slide 1 of 41 Andy Philpott EPOC ( joint work with Anes Dallagi, Emmanuel Gallet, Ziming Guan.
Applications of Stochastic Programming in the Energy Industry Chonawee Supatgiat Research Group Enron Corp. INFORMS Houston Chapter Meeting August 2, 2001.
ONS SDDP Workshop, August 17, 2011 Slide 1 of 50 Andy Philpott Electric Power Optimization Centre (EPOC) University of Auckland (
Modelling inflows for SDDP Dr. Geoffrey Pritchard University of Auckland / EPOC.
1 March 2-3, 2015, Bonn Expert workshop Addressing Variable Renewables In Long‐Term Energy Planning (AVRIL) Renewables Energy Integration In Long‐Term.
1 RELIABILITY AND COMPETITIVE ELECTRICITY MARKETS POWER Research Conference UC Berkeley March 19, 2004 Paul Joskow MIT, CEEPR, CMI and Jean Tirole IDEI,
On the convergence of SDDP and related algorithms Speaker: Ziming Guan Supervisor: A. B. Philpott Sponsor: Fonterra New Zealand.
Hydro Optimization Tom Halliburton. Variety Stochastic Deterministic Linear, Non-linear, dynamic programming Every system is different Wide variety.
Preliminary Analysis of the SEE Future Infrastructure Development Plan and REM Benefits.
Least Cost System Operation: Economic Dispatch 1
Computing Equilibria in Electricity Markets Tony Downward Andy Philpott Golbon Zakeri University of Auckland.
Costs of Ancillary Services & Congestion Management Fedor Opadchiy Deputy Chairman of the Board.
Market power1 ECON 4925 Autumn 2007 Electricity Economics Lecture 10 Lecturer: Finn R. Førsund.
CO 2 Charges: How can we assess the impact on electricity prices? Dr Anthony Downward, Prof. Andy Philpott, Electricity Power Optimization Centre, University.
Supported by Offer Construction for Generators with Inter-temporal Constraints via Markovian DP and Decision Analysis Grant Read, Paul Stewart Ross James.
NREL is a national laboratory of the U.S. Department of Energy Office of Energy Efficiency and Renewable Energy operated by the Alliance for Sustainable.
Energy procurement in the presence of intermittent sources Jayakrishnan Nair (CWI) Sachin Adlakha (Caltech) Adam Wierman (Caltech)
World Bank Water Week – 2004 Jerson Kelman. Hydroelectric power accounts for more than 90% of the total electric energy produced in Brazil.
ETAAC Energy Sector Energy Storage Smart Grid July 12, 2007 San Francisco, CA.
EPOC Winter Workshop 2010 Anthony Downward, David Young, Golbon Zakeri.
EPOC Winter Workshop, September 5, 2008 Andy Philpott The University of Auckland (joint work with Kailin Lee, Golbon Zakeri)
Can spot market power translate into market power in the hedge market? Gabriel Fiuza de Bragança PhD candidate School of Economics and Finance/ ISCR Victoria.
Power System Economics Daniel Kirschen. Money © 2012 D. Kirschen & University of Washington1.
Electricity markets, perfect competition and energy shortage risks Andy Philpott Electric Power Optimization Centre University of.
Power Stations Introduction. References  S. W. Blume: Electric Power System Basics  F. Janíček et al.: Renewable Energy Sources.
Introduction to electricity economics1 ECON 4930 Autumn 2007 Electricity Economics Lecture 1 Lecturer: Finn R. Førsund.
EPOC Winter Workshop, October 26, 2010 Slide 1 of 31 Andy Philpott EPOC ( joint work with Vitor de Matos, Ziming Guan Advances in DOASA.
Market power1 ECON 4925 Autumn 2006 Resource Economics Market power Lecturer: Finn R. Førsund.
Leader-Follower Framework For Control of Energy Services Ali Keyhani Professor of Electrical and Computer Engineering The Ohio State University
Wind Generation in New Zealand Kieran Devine, Doug Goodwin System Operations Transpower New Zealand Limited.
1 Power Resource Management with assistance of Kevin Gawne Karl Reznichek and Dave Cormie.
Summing up1 ECON 4930 Autumn 2007 Electricity Economics Lecture 12 Lecturer: Finn R. Førsund.
The Impact of Intermittent Renewable Energy Sources on Wholesale Electricity Prices Prof. Dr. Felix Müsgens, Thomas Möbius USAEE-Conference Pittsburgh,
©The Marketplace Company Limited 1 APEx Conference 2006 Experiences in how to deal with market stress situations – New Zealand Carl Hansen – The Marketplace.
Wind Power & Grid Operation Dr. Geoffrey Pritchard University of Auckland.
Electricity, Carbon and Competition
GENESYS Redevelopment Strawman Proposal
Grid Integration of Intermittent Resources
Olli Kauppi Helsinki School of Economics & Hecer Matti Liski
Applications of Optimization
Security of supply - deriving a winter energy standard using the DOASA model EPOC Winter Workshop September 2018.
ECON 4925 Autumn 2007 Electricity Economics Lecture 11
GENESYS Current Functionality
Presentation transcript:

SPXI Tutorial, August 26, 2007 Andy Philpott The University of Auckland Stochastic Optimization in Electricity Systems

SPXI Tutorial, August 26, 2007 Electricity optimization Optimal power flow [Wood and Wollenberg, 1984,1996, Bonnans, 1997,1998] Economic dispatch [Wood and Wollenberg, 1984,1996] Unit commitment Lagrangian relaxation [Muckstadt & Koenig, 1977, Sheble & Fahd, 1994] Multi-stage SIP [Carpentier et al 1996, Takriti et al 1996, Caroe et al 1999, Romisch et al 1996-] Market models [Hobbs et al, 2001, Philpott & Schultz, 2006] Hydro-thermal scheduling Dynamic programming [Massé *, 1944, Turgeon, 1980, Read,1981] Multi-stage SP [Jacobs et al, 1995] SDDP [ Pereira & Pinto, 1991] Market models [Scott & Read, 1996, Bushnell, 2000] Capacity expansion of generation and transmission LP [Massé & Gibrat, 1957] SLP [Murphy et al, 1982] Multi-stage SP [Dantzig & Infanger,1993] Multi-stage SIP [Ahmed et al, 2006, Singh et al, 2006] Market models [Murphy & Smeers, 2005] * P. Massé, Applications des probabilités en chaîne à lhydrologie statistique et au jeu des réservoirs Journal de la Société de Statistique de Paris, 1944

SPXI Tutorial, August 26, 2007 Uncertainty in electricity systems System uncertainties Long-term electricity demand (years) Inflows to hydro-electric reservoirs (weeks/months) Short-term electricity demand (days) Intermittent (e.g. wind) supply (minutes/hours) Plant and line outages (seconds/minutes) User uncertainties (various time scales) Electricity prices Behaviour of market participants Government regulation

SPXI Tutorial, August 26, 2007 What to expect in this talk… I will try to address three questions: –What stochastic programming models are being used by modellers in electricity companies? –How are they being used? –What will be the features of the next generation of models? I will not talk about financial models in perfectly competitive markets (see previous tutorial speakers). I will (probably) not talk about capacity expansion models. Warning: this is not a how-to-solve-it tutorial.

SPXI Tutorial, August 26, 2007 Economic dispatch model

SPXI Tutorial, August 26, 2007 Uncertainty in economic dispatch Plant and line outages (seconds/minutes) –Spinning reserve (N-1 security standard) Uncertain demand/supply(e.g. wind) –Frequency keeping stations (small variations) –Re-dispatch (large variations) –Opportunity for stochastic programming (see Pritchard et al WIND model)

SPXI Tutorial, August 26, 2007 Unit commitment formulation

SPXI Tutorial, August 26, 2007 Stochastic unit commitment model

SPXI Tutorial, August 26, 2007 Lagrangian relaxation decouples by unit See sequence of papers by Romisch, Growe-Kuska, and others (1996 -)

SPXI Tutorial, August 26, 2007 Hydro-thermal scheduling

SPXI Tutorial, August 26, 2007 Hydro-thermal scheduling literature Dynamic programming Massé ( 1944) * Turgeon (1980) Read (1981) Multi-stage SP Jacobs et al (1995) SDDP Pereira & Pinto (1991) Market models Scott & Read (1996) Bushnell (2000) * P. Massé, Applications des probabilités en chaîne à lhydrologie statistique et au jeu des réservoirs Journal de la Société de Statistique de Paris, 1944

SPXI Tutorial, August 26, 2007 (Over-?) simplifying assumptions Small number of reservoirs (<20) System is centrally dispatched. Relatively complete recourse. Stage-wise independence of inflow process. A convex dispatch problem in each stage.

SPXI Tutorial, August 26, 2007 p 12 p 11 p 13 p 21

SPXI Tutorial, August 26, 2007 Outer approximation

SPXI Tutorial, August 26, 2007 Outer approximation of C t+1 (y) Θ (t+1) Reservoir storage, x(t+1) θ t+1 α t+1 (k) + β t+1 (k) T y, k

SPXI Tutorial, August 26, 2007 Cut calculation

SPXI Tutorial, August 26, 2007 Sampling algorithm

SPXI Tutorial, August 26, 2007 p 11 p 13 p 12

SPXI Tutorial, August 26, 2007 p 11 p 13 p 12

SPXI Tutorial, August 26, 2007 p 11 p 13 p 21

SPXI Tutorial, August 26, 2007 p 11 p 13 p 21

SPXI Tutorial, August 26, 2007

Case study: New Zealand system HVDC line MANHAW TPO

SPXI Tutorial, August 26, 2007 A simplified network model S N demand TPOHAWMAN

SPXI Tutorial, August 26, policy simulated with historical inflow sequences

SPXI Tutorial, August 26, 2007 Computational results: NZ model 10 reservoirs 52 weekly stages 30 inflow outcomes per stage Model written in AMPL/CPLEX Takes 100 iterations and 2 hours on a standard Windows PC to converge Larger models have slow convergence

SPXI Tutorial, August 26, 2007 Computational results: Brazilian system 283 hydro plants AR-6 streamflow model –about two thousand state variables 271 thermal plants 219 stages 80 sequences in the forward simulation 30 scenarios (openings) for each state in the backward recursion 7 iterations 11 hours CPU (Pentium IV-HT 2.8 GHz 1 Gbyte RAM ) Source: Reproduced with permission of Luiz Barossa, PSR

SPXI Tutorial, August 26, 2007 Electricity pool markets Chile (1970s) England and Wales (1990) (NETA 2001) Nordpool (1996) New Zealand (1996) Australia (1997) Colombia, Brazil, … Pennsylvania-New Jersey-Maryland (PJM) New York (1999) New England (1999) Ontario (May 1, 2002) Texas (ERCOT, full LMP by 2009)

SPXI Tutorial, August 26, 2007 Uniform price auction (single node) price quantity price quantity combined offer stack demand p price quantity T 1 (q) T 2 (q) p

SPXI Tutorial, August 26, 2007 Nodal dispatch-pricing formulation p q T m (q) [ i ]

SPXI Tutorial, August 26, 2007 Residual demand curve for a generator S(p) = total supply curve from other generators D(p) = demand function c(q) = cost of generating q R(q,p) = profit = qp – c(q) Residual demand curve = D(p) – S(p) p q Optimal dispatch point to maximize profit

SPXI Tutorial, August 26, 2007 A distribution of residual demand curves (Residual demand shifted by random demand shock ) D(p) – S(p) + p q Optimal dispatch point to maximize profit

SPXI Tutorial, August 26, 2007 One supply curve optimizes for all demand realizations The offer curve is a wait-and-see solution. It is independent of the probability distribution of

SPXI Tutorial, August 26, 2007 This doesnt always work There is no nondecreasing offer curve passing through both points. Optimization in this case requires a risk measure. We will use the expectation of profit with respect to the probability distribution of.

SPXI Tutorial, August 26, 2007 p q If (S-D) -1 is a log concave function of q and c(q) is convex then a single monotonic supply curve exists that maximizes profit for all realizations of. Monotonicity Theorem [Anderson & P, 2002]

SPXI Tutorial, August 26, 2007 The market distribution function [Anderson & P, 2002] p q quantity price Define: (q,p) = Pr [D(p) + – S(p) < q] = F(q + S(p) – D(p)) = Pr [an offer of (q,p) is not fully dispatched] = Pr [residual demand curve passes below (q,p)] S(p) = supply curve from other generators D(p) = demand function = random demand shock F = cdf of random shock

SPXI Tutorial, August 26, 2007 q(t) p(t) quantity price Expected profit from curve (q(t),p(t))

SPXI Tutorial, August 26, 2007 Finding empirical Use small dispatch model Aggregated demand DC-load flow dispatch Piecewise linear losses Solved in ampl/cplex Draw a sample from demand Draw a sample from other generators offers Solve dispatch model with different offers q Increment the locations where dispatch occur by 1

SPXI Tutorial, August 26, 2007 Estimation of using simulation Dispatch count on segment increases by 1 Sampled residual demand curve

SPXI Tutorial, August 26, 2007 The real world Transmission congestion gives different prices at different nodes. Generators own plant at different nodes. Generators in New Zealand are vertically integrated with electricity retailers, with demand at a different node. Generators have contracts with purchasers at different nodes. Maintenance and outages affect generation and transmission capacity.

SPXI Tutorial, August 26, 2007 Contracts A contract for differences (or hedge contract) for a quantity Q at an agreed strike price f is an agreement for one party (the contract holder) to pay the other (the contract writer) the amount Q(f- ) where is the electricity price at an agreed node. A generator having written a contract for Q seeks to maximize E[R(q,p)] = E[qp - c(q) + Q(f- )]

SPXI Tutorial, August 26, 2007 Generators real objective Owner of HLY station might want to maximize gross revenue at HLY + TOK –$35/MWh fuel cost at HLY –cost of purchases to cover retail base of 25% at OTA 5% at ISL 5% at HWB accounting for hedge contracts at $50/MWh of 250MW at OTA 150MW at HAY 50 MW at HWB (Numbers are illustrative only!)

SPXI Tutorial, August 26, 2007 Implementation in the real world BOOMER code [Pritchard, 2006] Single period/single station simulation/optimization model. Construct discrete on a rectangular grid. For every grid segment record all the relevant dispatch information (e.g. nodal prices at contract nodes) Use dynamic programming to construct a step function maximizing expected profit. A longest path problem through acyclic directed graph, where increment on each edge is the overall profit function times the probability of being dispatched on this segment

SPXI Tutorial, August 26, 2007 Longest path gives maximum expected profit

SPXI Tutorial, August 26, 2007 without retail and contracts with retail and 450MW of contracts

SPXI Tutorial, August 26, 2007 with retail customers moved to be more remote

SPXI Tutorial, August 26, 2007 What is wrong with this model? Single period Competitors response not modelled Extreme solutions: no comfort factor Can be used as a benchmark for traders

SPXI Tutorial, August 26, 2007 Challenges for SP Electricity systems have been a happy hunting ground for stochastic optimization. What are the SP success stories in electricity? Tractability is only part of the story – model veracity is more important. In markets the dual problem is as important as the primal (e.g. WIND model). Are the assumptions of the models valid e.g. perfect competition? Are the answers simple enough to verify (e.g. by out-of- sample simulation)? Models are used differently from their intended application.

SPXI Tutorial, August 26, 2007 The End