Uncertainty in energy system models

Similar documents
Statistical modelling for energy system planning

Statistical Modelling for Energy Systems Integration

Uncertainty analysis for computer models.

Gaussian Processes for Computer Experiments

RTO Winter Resource Adequacy Assessment Status Report

Stochastic Population Forecasting based on a Combination of Experts Evaluations and accounting for Correlation of Demographic Components

Global Optimisation with Gaussian Processes. Michael A. Osborne Machine Learning Research Group Department o Engineering Science University o Oxford

Warwick Business School Forecasting System. Summary. Ana Galvao, Anthony Garratt and James Mitchell November, 2014

Uncertainty quantification and calibration of computer models. February 5th, 2014

Optimal Demand Response

Gaussian Process Approximations of Stochastic Differential Equations

IDM workshop: emulation and history matching Part 1: General Principles

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

Modelling Under Risk and Uncertainty

NATIONAL ELECTRICITY FORECASTING REPORT UPDATE FOR THE NATIONAL ELECTRICITY MARKET

Machine Learning (CS 567) Lecture 5

New Insights into History Matching via Sequential Monte Carlo

J. Sadeghi E. Patelli M. de Angelis

Introduction to emulators - the what, the when, the why

Ensembles, Uncertainty and Climate Projections. Chris Brierley (Room 117)

Modelling trends in the ocean wave climate for dimensioning of ships

Endogenous Information Choice

A new statistical framework for analysing multi-model ensembles

COMP 551 Applied Machine Learning Lecture 20: Gaussian processes

Optimal Demand Response

Stochastic population forecast: a supra-bayesian approach to combine experts opinions and observed past forecast errors

Structural Uncertainty in Health Economic Decision Models

Value of Forecasts in Unit Commitment Problems

Probabilistic Graphical Models Lecture 20: Gaussian Processes

Professor David B. Stephenson

ORIGINS OF STOCHASTIC PROGRAMMING

Stochastic Optimization One-stage problem

An introduction to Bayesian statistics and model calibration and a host of related topics

Winter Season Resource Adequacy Analysis Status Report

Bayesian Machine Learning

peak half-hourly New South Wales

5601 Notes: The Sandwich Estimator

F denotes cumulative density. denotes probability density function; (.)

Markov chain optimisation for energy systems (MC-ES)

Creating Non-Gaussian Processes from Gaussian Processes by the Log-Sum-Exp Approach. Radford M. Neal, 28 February 2005

Sequential Importance Sampling for Rare Event Estimation with Computer Experiments

Multi-Area Stochastic Unit Commitment for High Wind Penetration

Climate Projections and Energy Security

Gaussian Process Regression with K-means Clustering for Very Short-Term Load Forecasting of Individual Buildings at Stanford

Big model configuration with Bayesian quadrature. David Duvenaud, Roman Garnett, Tom Gunter, Philipp Hennig, Michael A Osborne and Stephen Roberts.

A new Hierarchical Bayes approach to ensemble-variational data assimilation

Modeling the variability of renewable generation and electrical demand in RTOs and cities using reanalyzed winds, insolation and temperature

Uncertainty Quantification for Machine Learning and Statistical Models

STA414/2104 Statistical Methods for Machine Learning II

The Spatial Analysis of Wind Power on Nodal Prices in New Zealand

Estimation of Operational Risk Capital Charge under Parameter Uncertainty

Patterns of Scalable Bayesian Inference Background (Session 1)

USING METEOROLOGICAL ENSEMBLES FOR ATMOSPHERIC DISPERSION MODELLING OF THE FUKUSHIMA NUCLEAR ACCIDENT

End-User Gains from Input Characteristics Improvement

Validating Expensive Simulations with Expensive Experiments: A Bayesian Approach

Climate Services in Practice UK Perspective

Hidden Markov Models for precipitation

Bayesian sensitivity analysis of a cardiac cell model using a Gaussian process emulator Supporting information

Climate Change Adaptation for ports and navigation infrastructure

Efficient Aircraft Design Using Bayesian History Matching. Institute for Risk and Uncertainty

CPSC 540: Machine Learning

Sensitivity analysis and calibration of a global aerosol model

Bayes Linear Analysis for Complex Physical Systems Modeled by Computer Simulators

Planning a 100 percent renewable electricity system

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

Empirical Risk Minimization is an incomplete inductive principle Thomas P. Minka

Seamless weather and climate for security planning

Prediction of Power System Balancing Requirements and Tail Events

CHAPTER 5 - QUEENSLAND FORECASTS

Consider the joint probability, P(x,y), shown as the contours in the figure above. P(x) is given by the integral of P(x,y) over all values of y.

Optimization Tools in an Uncertain Environment

peak half-hourly Tasmania

What Should We Do with Radioactive Waste?

Efficient Likelihood-Free Inference

Weekly Operational Constraints Update

A new unscented Kalman filter with higher order moment-matching

SYDE 372 Introduction to Pattern Recognition. Probability Measures for Classification: Part I

Reinforcement Learning

Dynamic Matrix-Variate Graphical Models A Synopsis 1

Gaussian processes. Chuong B. Do (updated by Honglak Lee) November 22, 2008

Bayesian Dynamic Linear Modelling for. Complex Computer Models

Modelling wind power in unit commitment models

Current best practice of uncertainty forecast for wind energy

15-388/688 - Practical Data Science: Basic probability. J. Zico Kolter Carnegie Mellon University Spring 2018

Dynamic System Identification using HDMR-Bayesian Technique

Machine Learning Lecture 2

Bayesian Statistics Applied to Complex Models of Physical Systems

Learning Gaussian Process Models from Uncertain Data

Spatial Statistics with Image Analysis. Outline. A Statistical Approach. Johan Lindström 1. Lund October 6, 2016

The Impacts of Global Climate Changes on the Wind Power in Brazil

Wind power and management of the electric system. EWEA Wind Power Forecasting 2015 Leuven, BELGIUM - 02/10/2015

Gaussian Process Approximations of Stochastic Differential Equations

LOAD POCKET MODELING. KEY WORDS Load Pocket Modeling, Load Forecasting

Durham Research Online

Ensemble Verification Metrics

Using Gaussian Processes for Variance Reduction in Policy Gradient Algorithms *

Regression with correlation for the Sales Data

Dependence. Practitioner Course: Portfolio Optimization. John Dodson. September 10, Dependence. John Dodson. Outline.

Scenario-Free Stochastic Programming

19 : Slice Sampling and HMC

Transcription:

Uncertainty in energy system models Amy Wilson Durham University May 2015

Table of Contents 1 Model uncertainty 2 3 Example - generation investment 4 Conclusion

Model uncertainty Contents 1 Model uncertainty 2 3 Example - generation investment 4 Conclusion

Model uncertainty Models A large part of the study of energy systems involves the building of models (deterministic or stochastic) to represent particular aspects of an energy system. A model: takes a set of inputs (known, uncertain, control parameters) produces a set of outputs is an approximation of a system.

Model uncertainty Models Let x be the model inputs, y be the model outputs, Then the model can be thought of as a function f, with y = f (x). George Box: Essentially, all models are wrong, but some are useful But how can we tell how useful a model is?

Model uncertainty Types of uncertainty Parametric uncertainty: uncertainty about the appropriate input parameters to use. E.g. demand forecasts, investor risk level, weather data. Structural uncertainty: how the model itself relates to the real-world process it is modelling E.g. are the data really Normally distributed? what effect does this simplifying assumption have on the results? Both types of uncertainty can be found in deterministic and stochastic models.

Model uncertainty Why should we account for uncertainty Avoid overconfidence in results - giving a single answer is misleading if there is uncertainty. Reporting a confidence/probability interval when full account hasn t been taken of all uncertainties can be equally misleading. Normally want to reduce our uncertainty about the real-world, not about the model - can t do this unless we model this uncertainty. Huge costs can be at stake when policy decisions are based on model output - the cost of doing an uncertainty analysis can be much smaller than the cost of making the wrong decision.

Contents 1 Model uncertainty 2 3 Example - generation investment 4 Conclusion

For models that are quick to run: Parametric uncertainty: Monte Carlo simulation (with carefully chosen distributions for your input parameters). Scenario-based analyses are unlikely to be sufficient - what about situations that fall in between the scenarios? Doing a sensitivity analysis by changing one input at a time and testing how the output changes won t be enough either what about interactions? Structural discrepancy: can model this using a combination of: historical data expert opinion on the shortfalls of the model experimentation. Can be a detailed analysis, dependent on the inputs, or can use a broad-brush approach if data/expert opinion isn t available. Durham University Statistical methods

Example Input Model Density 0.0 0.2 0.4 0.6 0.8 output 40 0 20 60 1 2 3 4 5 Input 0 2 4 6 8 input Output no discrepancy Output 20% discrepancy Density 0.00 0.02 0.04 Density 0.00 0.02 0.04 20 0 20 40 60 80 Output 20 0 20 40 60 80 Output

Example - capacity adequacy Estimation of the probability P(demand t wind t > available generation t ) over all times in the UK peak season (winter). Inputs are demand forecast, temperature forecast, size of conventional generating units and availability probabilities. Wind forecast simulated dependent on the temperature. Parametric uncertainty accounted for using bootstrapping (only considers the uncertainties we have seen historically in the data). Structural uncertainty considered by relaxing assumption of independence of wind and demand (but still some work to do).

Example - capacity adequacy Year LOLE L. bound U. bound (hours per year) 2005 06 0.45 0.27 0.62 2010 11 3.12 2.24 4.01 2013 14 0.13 0.065 0.22 Overall 1.15 0.52 1.95

Example - capacity adequacy

Emulation Models that take a long time to evaluate are more difficult, but methods are well established. See www.mucm.ac.uk. Have been used in: Climate change models, Study of oil wells, Study of spread of aids, Models of the galaxy!

Emulation - general idea Idea is to build a statistical model of your model, based on a small number of model evaluations. At inputs for which you haven t evaluated the model, you don t know what the model output is. However, your statistical model can give you a probability distribution for the output at each input. You can then use Monte Carlo simulation with the statistical model instead of the original model.

Emulation - general idea From www.mucm.ac.uk

Gaussian processes One particular statistical model that is often used is a Gaussian Process (GP). We again represent the simulator as y = f (x). A GP assumes that for m different sets of inputs, x 1,..., x m, the joint distribution of f (x 1 ),..., f (x m ) follows a multivariate Normal distribution, i.e. (f (x 1 ),..., f (x m )) θ MVN(m, V ), for some mean m and some covariance matrix V (both functions of x 1,..., x m and some parameters θ to be estimated).

Emulation - Gaussian Process Standard method is to: Set mean to m(x, β ) = h(x) T β for some vector of functions h(x). E.g. for two-dimensional input space, could have h(x) T = (1, x 1, x 2 ), Set covariance between f (x) and f (x ' ) to be Cov(f (x), f (x ' ) β, σ 2 ) = σ 2 c(x, x ' ), for some correlation function c(x, x ' ). E.g. often see correlation function set to c(x, x ' ) = exp[ (x x ' ) T D(x x ' )], with D a diagonal matrix.

Emulation - parameter estimation To estimate the GP for your energy simulator, need to estimate β, σ 2 and D. Have training data (x i, f (x i )) for i {1,... n} (the inputs you have tested your model at). Can use Bayesian methods, specifying a prior distribution for β, σ 2 and D and updating this with the training data to get estimates. To simplify the maths, can instead find D using optimisation methods and treat this as fixed. For more details see www.mucm.ac.uk.

Emulation - new input Once you have estimates for β, σ 2 and D, it is possible to estimate a distribution for any new set of inputs (those at which the output is unknown). This distribution can be used in combination with Monte Carlo simulation to estimate the overall uncertainty in the model output, as well as the sensitivity of the output to groups of inputs. Monte Carlo simulation is possible now because the emulator is much faster to evaluate than the simulator. To use Monte Carlo simulation, need to specify a prior distribution over the input space. Note that as you are using a statistical model of the simulator, you have added in a new uncertainty - the uncertainty due to emulation!

Structural discrepancy There are many ways to model structural discrepancy. E.g. if y r are the real-world observations, rather than the model output, we could set And model E(x) N(0, σ 2 ) y r = f (x) + E(x) Or E(x) N(0, σ 2 (x)), using a difference variance for different areas of the input space, Or can model E(x) using another Gaussian Process.

Example - generation investment Contents 1 Model uncertainty 2 3 Example - generation investment 4 Conclusion

Example - generation investment Models Two long-term generation investment models: Example 1: the DDM (dynamic dispatch model). Used by DECC to predict behaviour of energy market so that good policy decisions can be made. Example 2: long-term generation investment model developed by Eager, Bialek and Hobbs in Dynamic modeling of thermal generation capacity investment: Application to markets with high wind penetration, Power Systems, IEEE Transactions on 27(4) (2012) 2127-2137. (this analysis was done by Meng Xu, Durham University).

Example - generation investment Example 1 Gaussian Process emulator fitted using 6 inputs and 1 output: inputs: annual demand, peak demand, interconnector flow, CCGT availability, wind level, weather conditions. output: capacity to procure. No structural discrepancy modelled (yet!). 29 design points (so based on 29 model evaluations). One design point was excluded.

Example - generation investment Model fit 56 Capacity to procure (GW) 54 52 0 10 20 30 Design point

Example - generation investment Uncertainty in results Uncertainty measure Capacity to procure (GW) Correlation= 0 0.25 0.85 Expected value: 53.59 53.59 53.58 Variance (emulation): 0.00030 0.00031 0.00031 Variance (parameter): 8.64 6.95 2.77 Variance of variance (emulation): 0.30 0.17 0.02

Example - generation investment Sensitivity analysis Main effect (capacity to procure,gw) 3 2 1 0 1 2 3 59.0 59.5 60.0 60.5 input 2 Main effect (capacity to procure,gw) 3 2 1 0 1 2 3 84 86 88 90 input 4 Main effect (capacity to procure,gw) 3 2 1 0 1 2 3 2000 1000 0 1000 2000 input 3 Interaction effect input 1 input 2

Example - generation investment Example 2 Gaussian Process emulator fitted using 2 inputs and 1 output: inputs: attitude to risk, price mark-up output: annual installed thermal generation capacity. Structural discrepancy modelled using a sum of Normal distributions (discrepancy therefore varies with time, but not with input parameters) 12 design points. One aim was to calibrate the distribution of the input parameters against historical observations.

Example - generation investment

Conclusion Contents 1 Model uncertainty 2 3 Example - generation investment 4 Conclusion

Conclusion Conclusion Important to consider uncertainties when modelling. Both parametric and structural. Without assessing uncertainties, it is not normally possible to use a model to say anything about the real-world. Variety of statistical methods can be used, depending on characteristics of model. For models which take a long time to run, emulation is a useful tool.

Conclusion Acknowledgements With thanks to: Chris Dent Michael Goldstein Meng Xu