© 2009 Warren B. Powell© 2008 Warren B. Powell Slide 1 SMART: A Stochastic Multiscale Energy Policy Model using Approximate Dynamic Programming Power Systems.

Slides:



Advertisements
Similar presentations
Jack Jedwab Association for Canadian Studies September 27 th, 2008 Canadian Post Olympic Survey.
Advertisements

Symantec 2010 Windows 7 Migration EMEA Results. Methodology Applied Research performed survey 1,360 enterprises worldwide SMBs and enterprises Cross-industry.
Symantec 2010 Windows 7 Migration Global Results.
University Paderborn 07 January 2009 RG Knowledge Based Systems Prof. Dr. Hans Kleine Büning Reinforcement Learning.
Variations of the Turing Machine
AP STUDY SESSION 2.
1
Reinforcement Learning
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Multicriteria Decision-Making Models
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 12 Cross-Layer.
STATISTICS HYPOTHESES TEST (I)
STATISTICS INTERVAL ESTIMATION Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National Taiwan University.
STATISTICS POINT ESTIMATION Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National Taiwan University.
Illinois Climate Change Advisory Group (ICCAG) Modeling Sub-group An introduction to ENERGY 2020 April 26, 2007.
CALENDAR.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt FactorsFactors.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Wants.
Chapter 7 Sampling and Sampling Distributions
The 5S numbers game..
System Analysis Advisory Committee Futures, Monte Carlo Simulation, and CB Assumption Cells Michael Schilmoeller Tuesday, September 27, 2011.
A Fractional Order (Proportional and Derivative) Motion Controller Design for A Class of Second-order Systems Center for Self-Organizing Intelligent.
Stationary Time Series
Break Time Remaining 10:00.
The basics for simulations
EE, NCKU Tien-Hao Chang (Darby Chang)
Turing Machines.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
Cost-Volume-Profit Relationships
Capacity Planning For Products and Services
Outline Minimum Spanning Tree Maximal Flow Algorithm LP formulation 1.
Regression with Panel Data
Computer vision: models, learning and inference
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
1..
1 TV Viewing Trends Rivière-du-Loup EM - Diary Updated Spring 2014.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
Artificial Intelligence
1 Using Bayesian Network for combining classifiers Leonardo Nogueira Matos Departamento de Computação Universidade Federal de Sergipe.
: 3 00.
5 minutes.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 10 A Monetary Intertemporal Model: Money, Prices, and Monetary Policy.
Essential Cell Biology
Converting a Fraction to %
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Clock will move after 1 minute
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 11 Simple Linear Regression.
Physics for Scientists & Engineers, 3rd Edition
Select a time to count down from the clock above
9. Two Functions of Two Random Variables
3 - 1 Copyright McGraw-Hill/Irwin, 2005 Markets Demand Defined Demand Graphed Changes in Demand Supply Defined Supply Graphed Changes in Supply Equilibrium.
1 DIGITAL INTERACTIVE MEDIA Wednesday, October 28, 2009.
1 Dr. Scott Schaefer Least Squares Curves, Rational Representations, Splines and Continuity.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Probabilistic Reasoning over Time
© 2003 Warren B. Powell Slide 1 Approximate Dynamic Programming for High Dimensional Resource Allocation NSF Electric Power workshop November 3, 2003 Warren.
© 2008 Warren B. Powell Slide 1 The Dynamic Energy Resource Model Warren Powell Alan Lamont Jeffrey Stewart Abraham George © 2007 Warren B. Powell, Princeton.
Slide 1 Stochastic Optimization in Energy Systems DIMACS Workshop on Algorithmic Decision Theory Rutgers University October 27, 2010 Warren Powell CASTLE.
Slide 1 © 2008 Warren B. Powell Slide 1 Approximate Dynamic Programming for High-Dimensional Problems in Energy Modeling Ohio St. University October 7,
Computational Stochastic Optimization: Bridging communities October 25, 2012 Warren Powell CASTLE Laboratory Princeton University
© 2007 Warren B. Powell Slide 1 The Dynamic Energy Resource Model Lawrence Livermore National Laboratories September 24, 2007 Warren Powell Alan Lamont.
Approximate Dynamic Programming and Policy Search: Does anything work? Rutgers Applied Probability Workshop June 6, 2014 Warren B. Powell Daniel R. Jiang.
Multiscale energy models for designing energy systems with electric vehicles André Pina 16/06/2010.
Presentation transcript:

© 2009 Warren B. Powell© 2008 Warren B. Powell Slide 1 SMART: A Stochastic Multiscale Energy Policy Model using Approximate Dynamic Programming Power Systems Modeling Conference University of Florida March, 2009 Warren Powell Abraham George Alan Lamont Jeffrey Stewart © 2009 Warren B. Powell, Princeton University

© 2009 Warren B. Powell Goals for an energy policy model Potential policy questions »How do we design policies to achieve energy goals (e.g. 20% renewables by 2015) with a given probability? »How does the imposition of a carbon tax change the likelihood of meeting this goal? »What might happen if ethanol subsidies are reduced or eliminated? »How would a long-term rise or fall in oil prices affect investments? Some challenges: »The marginal value of wind and solar farms depends on the ability to work with intermittent supply. »The impact of intermittent supply will be affected by our use of storage. »The need for storage (and the value of wind and solar) depends on the entire portfolio of energy producing technologies.

© 2009 Warren B. Powell Demand modeling Commercial electric demand 7 days

© 2009 Warren B. Powell Intermittent energy sources Wind speed Solar energy

© 2009 Warren B. Powell Wind 30 days 1 year

© 2009 Warren B. Powell Storage Batteries Ultracapacitors Flywheels Hydroelectric

© 2009 Warren B. Powell Long term uncertainties… Tax policy Batteries Solar panels Carbon capture and sequestration Price of oil Climate change

© 2009 Warren B. Powell Goals for an energy policy model Model capabilities we are looking for »Multi-scale Multiple time scales (hourly, daily, seasonal, annual, decade) Multiple spatial scales Multiple technologies (different coal-burning technologies, new wind turbines, …) Multiple markets –Transportation (commercial, commuter, home activities) –Electricity use (heavy industrial, light industrial, business, residential) –…. »Stochastic (handles uncertainty) Hourly fluctuations in wind, solar and demands Daily variations in prices and rainfall Seasonal variations in weather Yearly variations in supplies, technologies and policies

© 2009 Warren B. Powell Prior work Existing deterministic models »MARKAL, NEMS, EFOM, META*Net »Use linear programming with nonlinear market equilibration »Typically focus on long horizons (decades) with long time steps (1-5 years) »Not set up to handle uncertainty or fine-grained spatial and temporal features Techniques incorporating uncertainty »LP-averaging – Stochastic MARKAL »Decision trees – SOCRATES »Stochastic programming – SETSTOCH »Markov decision processes (you have to be kidding)

© 2009 Warren B. Powell Decision making under uncertainty Mixing optimization and uncertainty Time Energy sources ? ? ? ? ? large optimization model (e.g. NEMS, MARKAL, …)

© 2009 Warren B. Powell Decision making under uncertainty Mixing optimization and uncertainty Time Energy sources No Solar 142 Scenario 1

© 2009 Warren B. Powell Decision making under uncertainty Mixing optimization and uncertainty Time Energy sources No Wind 89.1 Scenario 2

© 2009 Warren B. Powell Decision making under uncertainty Mixing optimization and uncertainty Time Energy sources Yes Solar 117 Scenario 3

© 2009 Warren B. Powell Yes Solar No Wind 89.1 Decision making under uncertainty No Solar 142 Scenario 1 Scenario 2 Scenario 3 Now we have to combine the results of these three optimizations to make decisions.

© 2009 Warren B. Powell Making decisions Stochastic programming using scenario trees JanFebMarAprMay…Sep…Jan Now Known Unknown probability (weight) 0.3 Wetter Drier Average over 30 Flow forecast scenarios 15% exceedence 50% exceedence 85% exceedence 15% exceedence 50% exceedence 85% exceedence Stochastic programming does not cheat, but it does not scale. It is best designed for coarse-grained sources of uncertainty, but will not handle fine- grained temporal resolution.

© 2009 Warren B. Powell Stochastic MARKAL Received Wednesday, March

© 2009 Warren B. Powell Energy resource modeling SMART: A Stochastic, Multiscale Allocation model for energy Resources, Technology and policy »Stochastic – able to handle different types of uncertainty: Fine-grained – Daily fluctuations in wind, solar, demand, prices, … Coarse-grained – Major climate variations, new government policies, technology breakthroughs »Multiscale – able to handle different levels of detail: Time scales – Hourly to yearly Spatial scales – Aggregate to fine-grained disaggregate Activities – Different types of demand patterns »Decisions Hourly dispatch decisions Yearly investment decisions Takes as input parameters characterizing government policies, performance of technologies, assumptions about climate

© 2009 Warren B. Powell Energy resource modeling System state : Resource state Market demands System parameters: State of technology (costs, performance) Climate, weather (temperature, rainfall, wind) Government policies (tax rebates on solar panels) Market prices (oil, coal)

© 2009 Warren B. Powell Slide 19 Energy resource modeling The decision variable:

© 2009 Warren B. Powell Energy resource modeling Exogenous information: Slide 20 Information can be: Fine-grained: Wind, solar, demand, prices, … Coarse-grained: Changes in technologies, policies, climate

© 2009 Warren B. Powell Slide 21 Energy resource modeling The transition function Also known as the system model, plant model or just model. All the physics of the problem.

© 2009 Warren B. Powell Slide 22 Introduction to ADP The challenge of dynamic programming: Problem: Three curses of dimensionality »State space »Outcome space (the expectation) »Action space (x is a vector)

© 2009 Warren B. Powell Slide 23 Introduction to ADP The computational challenge: How do we find ? How do we compute the expectation? How do we find the optimal solution?

© 2009 Warren B. Powell Slide 24 Introduction to ADP We first use the value function around the post-decision state variable, removing the expectation: We then replace the value function with an approximation that we estimate using machine learning techniques:

© 2009 Warren B. Powell© 2008 Abraham George 25 Making decisions Following an ADP policy

© 2009 Warren B. Powell© 2008 Abraham George 26 Making decisions Following an ADP policy

© 2009 Warren B. Powell© 2008 Abraham George 27 Making decisions Following an ADP policy

© 2009 Warren B. Powell 28 Approximate dynamic programming With luck, the objective function will improve steadily

© 2009 Warren B. Powell© 2008 Warren B. Powell Slide 29 Approximate dynamic programming Step 1: Start with a pre-decision state Step 2: Solve the deterministic optimization using an approximate value function: to obtain. Step 3: Update the value function approximation Step 4: Obtain Monte Carlo sample of and compute the next pre-decision state: Step 5: Return to step 1. Simulation Deterministic optimization Recursive statistics

© 2009 Warren B. Powell© 2008 Warren B. Powell Slide 30 Approximate dynamic programming Step 1: Start with a pre-decision state Step 2: Solve the deterministic optimization using an approximate value function: to obtain. Step 3: Update the value function approximation Step 4: Obtain Monte Carlo sample of and compute the next pre-decision state: Step 5: Return to step 1. Simulation Deterministic optimization Recursive statistics

© 2009 Warren B. Powell Approximate dynamic programming OptimizationSimulation Cplex Approximate dynamic programming combines simulation and optimization in a rigorous yet flexible framework. Optimization Strengths Produces optimal decisions. Mature technology Weaknesses Cannot handle uncertainty. Cannot handle high levels of complexity Simulation Strengths Extremely flexible High level of detail Easily handles uncertainty Weaknesses Models decisions using user-specified rules. Low solution quality.

© 2009 Warren B. Powell Slide 32 The investment problem

© 2009 Warren B. Powell Slide 33 The dispatch problem Hourly electricity dispatch problem

© 2009 Warren B. Powell Slide 34 Energy resource modeling Hourly model »Decisions at time t impact t+1 through the amount of water held in the reservoir. Hour t Hour t+1

© 2009 Warren B. Powell Slide 35 Energy resource modeling Hourly model »Decisions at time t impact t+1 through the amount of water held in the reservoir. Value of holding water in the reservoir for future time periods. Hour t

© 2009 Warren B. Powell Slide 36 Energy resource modeling

© 2009 Warren B. Powell Slide 37 Energy resource modeling 2008 Hour

© 2009 Warren B. Powell Slide 38 Energy resource modeling 2008 Hour

© 2009 Warren B. Powell Slide 39 Energy resource modeling

© 2009 Warren B. Powell Slide 40 Energy resource modeling

© 2009 Warren B. Powell Slide 41 Energy resource modeling

© 2009 Warren B. Powell Slide 42 Energy resource modeling

© 2009 Warren B. Powell Slide 43 Energy resource modeling ~5 seconds

© 2009 Warren B. Powell Slide 44 Energy resource modeling Use statistical methods to learn the value of resources in the future. Resources may be: »Stored energy Hydro Flywheel energy … »Storage capacity Batteries Flywheels Compressed air »Energy transmission capacity Transmission lines Gas lines Shipping capacity »Energy production sources Wind mills Solar panels Nuclear power plants Amount of resource Value

© 2009 Warren B. Powell Energy resource modeling Following sample paths »Demands, prices, weather, technology, policies, … Slide Achieved goal w/ Prob Metric (e.g. % renewable) Need to consider: Little noise (wind, rain, demand, prices, …) Big noise (technology, policy, climate, …)

© 2009 Warren B. Powell Convergence analysis »For scalar, piecewise linear approximations: Nascimento, J. and W. B. Powell, An Optimal Approximate Dynamic Programming Algorithm for the Lagged Asset Acquisition Problem, Mathematics of Operations Research, Vol. 34, No. 1, pp (2009). Nascimento, J. and W. B. Powell, Optimal approximate dynamic programming algorithms for a general class of storage problems, under review at SIAM J. on Control and Optimization. »For general continuous states and actions: J. Ma and W. B. Powell, Convergence Proofs for Least Squares Policy Iteration Algorithm of High-Dimensional Infinite Horizon Markov Decision Process Problems, under review at Machine Learning. »Stepsizes: George, A. and W. B. Powell, Adaptive Stepsizes for Recursive Estimation with Applications in Approximate Dynamic Programming, Machine Learning, Vol. 65, No. 1, pp , (2006).

© 2009 Warren B. Powell Convergence analysis Research on approximations: »George, A., W.B. Powell and S. Kulkarni, Value Function Approximation Using Hierarchical Aggregation for Multiattribute Resource Management, Journal of Machine Learning Research, Vol. 9, pp (2008). »L. Hannah, D. Blei and W. B. Powell, Density Estimation and Regression with Dirichlet Process-Generalized Linear Mixture Models, in preparation for submission to Machine Learning. »J. Ma and W. B. Powell, A Convergent Algorithm for Continuous State Value Function Approximations Using Kernel Regression, in preparation.

© 2009 Warren B. Powell Energy resource modeling Benchmarking »Compare ADP to optimal LP for a deterministic problem Annual model –8,760 hours over a single year –Focus on ability to match hydro storage decisions 20 year model –24 hour time increments over 20 years –Focus on investment decisions »Comparisons on stochastic model Stochastic rainfall analysis –How does ADP solution compare to LP? Carbon tax policy analysis –Demonstrate nonanticipativity Slide 48

© 2009 Warren B. Powell 49 Iterations Percentage error from optimal 0.06% over optimal Energy resource modeling ADP objective function relative to optimal LP

© 2009 Warren B. Powell Optimal from linear program Energy resource modeling Optimal from linear program Reservoir level Demand Rainfall

© 2009 Warren B. Powell 51 Approximate dynamic programming Energy resource modeling ADP solution Reservoir level Demand Rainfall

© 2009 Warren B. Powell Optimal from linear program Energy resource modeling Optimal from linear program Reservoir level Demand Rainfall

© 2009 Warren B. Powell Approximate dynamic programming Energy resource modeling ADP solution Reservoir level Demand Rainfall

© 2009 Warren B. Powell 54 Annual energy model Time period Precipitation Sample paths

© 2009 Warren B. Powell 55 Reservoir level Optimal for individual scenarios Time period ADP Energy resource modeling

© 2009 Warren B. Powell Slide 56 Multidecade energy model Optimal vs. ADP – daily model over 20 years 0.24% over optimal

© 2009 Warren B. Powell Energy policy modeling Traditional optimization models tend to produce all-or-nothing solutions Cost differential: IGCC - Pulverized coal Pulverized coal is cheaper IGCC is cheaper Investment in IGCC Traditional optimization Approximate dynamic programming

© 2009 Warren B. Powell Energy policy modeling Policy study: »What is the effect of a potential (but uncertain) carbon tax in year 8? Year Carbon tax 0

© 2009 Warren B. Powell Energy policy modeling Renewable technologies Carbon-based technologies No carbon tax

© 2009 Warren B. Powell Energy policy modeling With carbon tax Carbon-based technologies Renewable technologies Carbon tax policy unknown Carbon tax policy determined

© 2009 Warren B. Powell Energy policy modeling With carbon tax Carbon-based technologies Renewable technologies

© 2009 Warren B. Powell Conclusions Capabilities »SMART can handle problems with over 300,000 time periods so that it can model hourly variations in a long- term energy investment model. »It can simulate virtually any form of uncertainty, either provided through an exogenous scenario file or sampled from a probability distribution. »Accurate modeling of climate, technology and markets requires access to exogenously provided scenarios. »It properly models storage processes over time. »Current tests are on an aggregate model, but the modeling framework (and library) is set up for spatially disaggregate problems.

© 2009 Warren B. Powell Conclusions Limitations »Value function approximations capture the resource state vector, but are limited to very simple exogenous state variations. »More research is needed to test the ability of the model to use multiple storage technologies. »Extension to spatially disaggregate model will require significant engineering and data. »Run times will start to become an issue for a spatially disaggregate model.

© 2009 Warren B. Powell© 2008 Warren B. Powell Slide 64