1 / 0

Using Energy Economy Models to Deliver Policy-Relevant Insight

Using Energy Economy Models to Deliver Policy-Relevant Insight. SAMSI Workshop 20 September 2011. Joe DeCarolis Assistant Professor Dept of Civil, Construction, and Environmental Engineering NC State University. Talk Outline. Motivation and description of EEO models

nansen
Download Presentation

Using Energy Economy Models to Deliver Policy-Relevant Insight

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using Energy Economy Models to Deliver Policy-Relevant Insight

    SAMSI Workshop 20 September 2011 Joe DeCarolis Assistant Professor Dept of Civil, Construction, and Environmental Engineering NC State University
  2. Talk Outline Motivation and description of EEO models Problems with model development and application Introduce the TEMOA project Describe our approach to uncertainty analysis Conclude
  3. 1. Motivation and description of EEO models
  4. Energy Implications of Climate Change Based on WRE carbon-cycle model. For details see: Hoffert et al (1998). “Energy implications of future stabilization of atmospheric CO2 content.” Nature, 395: 881-884.
  5. Energy Economy Optimization (EEO) Models Energy economy optimization models refer to partial or general equilibrium models that minimize cost or maximize utility by, at least in part, optimizing the energy system over multiple decades Examine the competition among energy technologies, including renewables Expansive system boundaries and multi-decadal timescales Encoded with a set of structured, self-consistent assumptions and decision rules Such models have emerged as a key tool for the analysis
  6. Model Types Computable General Equilibrium: Adjusts all prices until all supplies and demands in all markets are balanced simultaneously. Technologies often represented stylistically by production functions (output as a function of capital, labor, land, resources) Technology Explicit, Partial Equilibrium: Detailed technology representation using engineering-economics; demand fixed or elastic
  7. Modeling Objectives Three broadly defined objectives for such models: Prediction of future quantities “The price of oil in 2030 will be …” “Under a federal climate policy, the installed capacity of Technology x in 2050 will be …” Prescriptive analysis for planning purposes “The following mechanisms should be included in federal climate policy …” “The following technologies should be deployed to minimize system-wide costs …” Generation of insight “Increased use of natural gas for vehicle H2 could lead to poor air quality” “The widescale deployment of plug-in hybrid vehicles could lead to high coal consumption”
  8. 2. Problems with model development and application
  9. Problems with energy modeling Inability to validate model results Increasing model complexity Inability to verify model results + Increasing availability of data + Lack of openness Uncertainty analysis is difficult + Moore’s Law
  10. Lack of model validation No practical way to validate energy-economy models → cannot be validated in the same way as models of physical processes Three validation options: Wait Backcast Compare results with other models Little to guide the modeler and reign in efforts that do not improve model performance
  11. Lack of openness Most EEO models and datasets remain closed source. Why? protection of intellectual property fear of misuse by uninformed end users inability to control or limit model analyses implicit commitment to provide support to users overhead associated with maintenance unease about subjecting code and data to public scrutiny
  12. Inability to verify model results With a couple exceptions, energy-economy models are not open source Descriptive detail provided in model documentation and peer-reviewed journals is insufficient to reproduce a specific set of published results Reproducibility of results is fundamental to science Replication and verification of large scientific models can’t be achieved without source code and input data
  13. Critique of scenario analysis Source: IPCC Fourth Assessment Report, Synthesis Report, Chapter 3. Stretch one’s thinking about how the future may unfold Shell Group (2005): They are not forecasts, projections or predictions of what is to come. Nor are they preferred views of the future. Rather, they are plausible alternative futures: they provide reasonable and consistent answers to the ‘what if?’ questions relevant to business. Without subjective probabilities p(X|e), scenarios of little value
  14. Critique of scenario analysis (continued) Drawn from: Morgan G, Keith D. Improving the way we think about projecting future energy use and emissions of carbon dioxide. Climatic Change 2008; 90; 189-215. Cognitive heuristics play a role and can lead to misinterpretation of results. Availability heuristic: Probabilities of a future event or outcome assessed on the basis of how easily an individual can remember or imagine examples Anchoring and adjustment: People start with an initial value or “anchor” and then modify their judgment as they consider factors relevant to the specifics  often insufficient adjustment  A few highly detailed scenarios can create cognitively compelling storylines.
  15. 3. The TEMOA Project (Tools for Energy Model Optimization and Analysis)
  16. The TEMOA Project Tools for Energy Model Optimization and Analysis Goal: Create a set of community-driven energy economy optimization models Our Approach: • Open source code (GNU Public License) • Open source data (GNU Public License) • No commercial software dependencies • Input and output data managed directly with a relational DB • Data and code stored in a web accessible electronic repository • A version control system • Programming environment with links to linear, mixed integer, and non-linear solvers • Built-in capability for sensitivity and uncertainty analysis
  17. Version control with Subversion We are using a version control system called Subversion (SVN) http://subversion.apache.org/ http://svnbook.red-bean.com/ Why? Ensure the integrity, sustainability and traceability of changes during the entire software lifecycle. SVN enables: Multiple developers to work simultaneously on software components; automatic integration of non-conflicting changes Display the modifications to model source code Create software snapshots (releases) that represent well-tested and clearly defined milestones Utilize the release mechanism to take snapshots of the model code and data used to produce research publications. Public access to snapshots of the code and data Works on all major (Unix, Windows, MacOS) platforms
  18. Python Optimization Modeling Objects We're developing the model against the Pyomo API Why Pyomo? Uses a full-featured modern programming language Rich set of Python libraries that cover nearly every task Active development; linkages between Pyomo and custom solvers are being developed within the COmmon Optimization Python Repository (COOPR) Pyomo developed at Sandia National Laboratories: https://software.sandia.gov/trac/coopr/wiki/Pyomo
  19. COmmon Optimization Python Repository Pyomo is part of the COOPR package, which is in turn part of A Common Repository for Optimizers (ACRO) Two-language approach: high-level language for model formulation and efficient low-level languages for numerical computations (e.g., C, C++, Fortran) ACRO includes both libraries developed at Sandia and publicly available third-party libraries (e.g., GLPK and COIN-OR) Gives us the capability to formulate linear, mixed integer, and non-linear model formulations without commercial solvers Active collaboration with Discrete Math and Complex Systems Department at Sandia National Laboratories
  20. Model Structure
  21. Basic TEMOA Model Formulation Minimize present cost of energy Such that Supply ≥ Demand Commodity_Into_Process≥ Commodity_Outof_Process Commodity_Produced ≥ Commodity_Consumed Capacity × Capacity_Factor≥ Activity
  22. MARKAL ‘Utopia’ System Diagram Diagram generated using Graphviz: http://www.graphviz.org/
  23. Calibration to Utopia Installed Capacity of Process Technologies: MARKAL Objective value: 36,821 TEMOA Objective value: 38,502
  24. Calibration to Utopia (continued) Installed Capacity of Demand Technologies:
  25. Questions to address with TEMOA How does uncertainty in technology-specific characteristics (e.g., capital cost of solar PV) affect outcomes of interest (e.g., fuel prices, fossil fuel consumption, air emissions)? Which technologies and fuels appear to be robust options given uncertainty in future climate policy and rates of technology learning? How much flexibility exists in energy system design and at what cost?
  26. 4. Approach to uncertainty analysis
  27. Approach to uncertainty analysis Use the following techniques in series: Sensitivity analysis and Monte Carlo simulation → Determine key sensitivities Multi-stage stochastic optimization → Develop a hedging strategy Explore near-optimal, feasible region (MGA) → Test robustness of hedging strategy
  28. Uncertainties associated with renewables Easy Capital costs Marginal and fixed operational costs Performance characteristics Hard Dispatch (of intermittent renewables) Representation of forecasting error
  29. Residual load duration curve Taken from: Ueckerdt F, BrechaR,LudererG,Sullivan P,SchmidE, BauerN, Böttger D. (2011) “Variable RenewableEnergyinModelingClimate ChangeMitigationScenarios .” International Energy Workshop, Stanford, CA Implemented in REMIND‐D, a hybrid energy‐economymodelofGermany
  30. Stochastic Optimization Decision-makers need to make choices before uncertainty is resolved → requires an “act then learn” approach Need to make short-term choices that hedge against future risk → Sequential decision-making process that allows recourse Stochastic optimization Build a scenario tree Assign subjective probabilities to future outcomes Optimize over all possibilities
  31. Stochastic optimization of energy models Desirable features for energy models: Multi-stage (greater than 2) Multi-objective (e.g., cost, risk, emissions) Mixed integer (esp. endogenous tech learning) Potential stochastic parameters: Fuel prices (esp. crude oil, natural gas, coal) Policy targets (e.g., CO2 constraints, subsidies) Technology performance (e.g., capital cost, thermal eff) End-use demand projections (e.g., heating, cooling)
  32. Simple example of stochastic optimization Suppose we have two technologies, A and B. Let x and y represent the installed capacity in Stages 1 and 2, respectively. Stage 1 Decision Variables: Stage 2 Decision Variables: s1 Scenario 1: s1 Scenario 2: s2 s2 t1 t2
  33. Stochastic optimization with PySP R.T. Rockafellar and R. J-B. Wets. Scenarios and policy aggregation in optimization under uncertainty. Mathematics of Operations Research, pages 119–147, 1991. Python-based Stochastic Programming (PySP) is part of the COOPR package. To perform stochastic optimization, specify a Pyomo reference model and a scenario tree PySP offers two options: 1. runef: builds and solves the extensive form of the model. “Curse of dimensionality” → memory problems 2. runph: builds and solves using a scenario-based decomposition solver (i.e., “Progressive Hedging) based on Rockafellar and Wets (1991). Can be implemented in a compute cluster environment; more complex scenario trees possible.
  34. A Test Case of the US Electric Sector Time periods: 2010-2040, 5-year increments 2030 and after, 2 possible CO2 emissions levels, 3 possible natural gas prices Electric sector CO2 emissions in 2010: 2340 MmtCO2 BAU CO2: 0.6% annual increase, CO2 Constrained: 4.7% annual decrease [-50% to +20% change in CO2 emissions in 2040 relative to 2010] Natural gas prices in 2010: 4.45 $/GJ Low: 1.1% annual decrease, Constant, High: 8.4% annual increase [Price ranges from 3.8 to 15 $GJ in 2040] BAU CO2, Low Gas Price Uniform Probabilities BAU CO2, natural gas price constant Constrained CO2, Low Gas Price BAU CO2, Constant Gas Price Constrained CO2, Constant Gas Price 2010 2015 2020 2025 BAU CO2, Low Gas Price Constrained CO2, Low Gas Price 63 = 216 scenarios 60+61+62+63 = 259 nodes 2030
  35. Technology Cost and Performance Characteristics Annual growth in electricity demand of 0.6% based on the reference case in the Annual Energy Outlook 2009. Source: EIA (US Energy Information Administration), Office of Integrated Analysis and Forecasting, US Department of Energy. Assumptions to the Annual Energy Outlook 2009. DOE/EIA-0554(2009); Washington DC; US Government Printing Office; 2009b.
  36. Natural Gas Price in 2040 vs. Total Cost
  37. Constant Nat Gas Prices, Increasing CO2 CO2 emissions allowed to grow 0.6% annually Natural gas prices remain constant at 4.5 $/GJ
  38. High Nat Gas Prices, Decreasing CO2 CO2 emissions decrease 4.6% annually from 2030-2040 Natural gas prices increase 8.3% annually from 2030-2040
  39. Modeling to Generate Alternatives Need a method to test the robustness of a hedging strategy → “Modeling to Generate Alternatives”† MGA generates alternative solutions that are maximally different in decision space but perform well with respect to modeled objectives The resultant MGA solutions provide modelers and decision-makers with a set of alternatives for further evaluation †Brill (1979), Brill et al. (1982), Brill et al. (1990)
  40. Hop-Skip-Jump (HSJ) MGA Brill et al. (1982) Steps: Obtain an initial optimal solution by any method Add a user-specified amount of slack to the value of the objective function Encode the adjusted objection function value as an additional upper bound constraint Formulate a new objective function that minimizes the decision variables that appeared in the previous solutions Iterate the re-formulated optimization Terminate the MGA procedure when no significant changes to decision variables are observed in the solutions
  41. HSJ MGA where: Krepresents the set of indices of decision variables with nonzero values in the previous solutions is the jthobjective function Tjis the target specified for the jth modeled objective Xis the set of feasible solution vectors Mathematical formulation
  42. Conclusions Most EEO models and model-based analyses are opaque to external parties The TEMOA project represents a new, transparent modeling framework designed for rigorous uncertainty analysis Combine sensitivity analysis, stochastic optimization, and modeling-to-generate-alternatives to identify robust hedging strategies Critical to analyze the deployment of renewables in a systems context
  43. Acknowledgments Kevin Hunter, MS student, Civil Engineering, NCSU SaratSreepathi, PhD student, Computer Science, NCSU Jean-Paul Watson and Bill Hart, Sandia National Laboratory This work would made possible through the generous support of the National Science Foundation. CAREER: Modeling for Insights with an Open Source Energy Economy Optimization Model. Award #1055622
More Related