Next generation energy modelling Benefits of applying parallel optimization and high performance computing

Similar documents
Applying Robust Optimization to MISO Look- Ahead Commitment

SOVN - NEW MARKET MODEL EXPERIENCE AND RESULTS

MULTIPERIOD/MULTISCALE MILP MODEL FOR OPTIMAL PLANNING OF ELECTRIC POWER INFRASTRUCTURES

An Introduction. Frederik Fiand & Tim Johannessen GAMS Software GmbH. GAMS Development Corp. GAMS Software GmbH

Optimal Scheduling Strategy in Insular Grids Considering Significant Share of Renewables

Optimization under Uncertainty. with Applications

Managing Temporary Oversupply from Renewables Efficiently: Electricity Storage Versus Energy Sector Coupling in Germany

Real-time and Intraday Optimization of Multiple Power Generation Units

Energy Storage in a Grid with Fluctuating Sources : the German Perspective

Can we achieve 100% renewables? Flexibility options in the electricity system

ISE480 Sequencing and Scheduling

Costs and Benefits of the Smart Grid. Hans de Heer 10 October 2012

Ph.D. Defense: Resource Allocation Optimization in the Smart Grid and High-performance Computing Tim Hansen

The value of local electricity storage in a smart grid: How important is intermittency?

Integrated Planning Model (IPM ) Overview

Ministry of Power & Energy, Sri Lanka

Innovative grid-impacting technologies for pan-european system analyses: key GridTech results on Demand Response application

New Grid Controls to Enable Renewable Generation

Power-to-Gas energy storage is key to Germany s energy transition

Solutions for Power Generation

Simulatie van het EU-wijde elektriciteitsysteem. Modellering van de elektriciteitsmarkt en de hierin gebruikte elektriciteitsinfrastructuur

1.224J/ESD.204J TRANSPORTATION OPERATIONS, PLANNING AND CONTROL: CARRIER SYSTEMS

Planification du réseau, exploitation et gestion : nouvelles approches dans la recherche

The evolution of optimization technologies

Electricity Grid of the Future. Program Director: Dr. Sonja Glavaski

Climate friendly, reliable, affordable: 100% renewable electricity supply by 2050

ANSYS, Inc. March 12, ANSYS HPC Licensing Options - Release

PowrSym4. A Presentation by. Operation Simulation Associates, Inc. February, 2012

Easy Grid Analysis Method for a central observing and controlling system in the low voltage grid for E-Mobility and Renewable Integration

From data to actionable information: data curation, assimilation, and visualization

Integrating RES in Germany Options & Challenges from a Technical Point of View. European Forum on Electricity Pricing Berlin, 28th of May, 2013

CP2K PARALLELISATION AND OPTIMISATION

Microgrid EPFL Méthodes innovantes issues de la recherche

Integrated modelling of the future energy system results and challenges

IMPACT OF THREE-PHASE PSEUDO-MEASUREMENT GENERATION FROM SMART METER DATA ON DISTRIBUTION GRID STATE ESTIMATION

Modeling Hydro Power Plants in Deregulated Electricity Markets: Integration and Application of EMCAS and VALORAGUA

PJM Perspective of the EPA Clean Power Plan: Analysis

HIGH RESOLUTION RENEWABLE ENERGY SCENARIOS & KOMMOD MODEL APPLICATION

Predictions of Nuclear Energy Market Share in the U.S. Electricty Market

Data Processing of Thermal Power Plants Based on Dynamic Data Reconciliation

PRICE FORECASTS FOR POWER AND CERTIFICATE MARKETS

Finding an Optimal Path to 2050 Decarbonization Goals

Die Stadt als Speicher Making Cities Smarter

TAKING ADVANTAGE OF DEGENERACY IN MATHEMATICAL PROGRAMMING

Th T e h e P R P IM I E M S E S E n E e n r e gy g M o M d o e d l e A.. G en e e n r e al a l O ver e vie i w e E3 E M M Lab

Simulation-Based Optimization Framework with Heat Integration

Transmission Expansion Planning of Systems With Increasing Wind Power Integration

energy [r]evolution A SUSTAINABLE USA ENERGY OUTLOOK Executive Summary

A Mixed Integer Programming Solution for Market Clearing and Reliability Analysis

Modeling of competition in revenue management Petr Fiala 1

A Framework for Implementing Flexible Electric Energy Systems using IoT

Future Energy Scenarios in five minutes. July 2017

Long-Term Electricity Scenarios 2050

Virtual Power Plant Introduction of the project

Analyses market and policy trends for electricity, heat and transport Investigates the strategic drivers for RE deployment Benchmarks the impact and c

EMS of the Future. EMS Users Conference Chicago, Illinois. John McDaniel September 20, Proprietary 1 Experience you can trust.

Controlling the Electricity Load in Future Intelligent and Integrated Energy Systems

Value-based Transmission Investment and Operations. Marija Ilic Invited Panel, IEEE PES 2014 Washington DC

Consequences of the German Energy Transition on the operation regime and the availability of coal fired power plants

Coastal Consumption of Off-Shore Wind Energy: Simulation and Optimization. Masterarbeit. vorgelegt von

Technical Bulletin Comparison of Lossy versus Lossless Shift Factors in the ISO Market Optimizations

Challenges in Application Scaling In an Exascale Environment

Generation Technology Assessment & Production Cost Analysis

IS BALANCING FROM HYDROPOWER A FEASIBLE IDEA

The European Power System in 2030: Flexibility Challenges and Integration Benefits An analysis with a regional focus on the Pentalateral Energy Forum*

Las Vegas, NV Modeling of Clean Energy Policies and Electrification in New York and New England

Proteus. Full-Chip Mask Synthesis. Benefits. Production-Proven Performance and Superior Quality of Results. synopsys.com DATASHEET

COGEN Europe Position Paper

Variable Renewable Energy Sources in Distribution Networks Martin Braun Fraunhofer IWES & Universität Kassel

MTEP18 Futures. Planning Advisory Committee June 14, 2017

CHAPTER 1 EXECUTIVE SUMMARY

The Project: Who? Why? What?

Solving Stochastic Problems (and the DECIS System) MS&E348 Winter 2011/2012 Professor Gerd Infanger

Report on the completion of the Link Foundation Fellowship ( )

Eugene Water & Electric Board. The Future of Utilities in the Pacific Northwest

Flexibility for Variable Renewable Energy Integration in the Nordic Energy System

Anjan Kumar Sinha NTPC Ltd

Global Energy Storage Demand for a 100% Renewable Electricity Supply

On Refining Ill-Defined Constraint Problems: A Case Study in Iterative Prototyping

Distribution System Operator (DSO) Simulation Studio

Entwicklung des Regelleistungsmarktes in Deutschland bis 2025

Solving Business Problems with Analytics

Optimization in Supply Chain Planning

Les travaux de l'epfl dans le Smart Grids. Prof. Mario Paolone EPFL - Distributed Electrical Systems Laboratory

VTU Energy concentrates on consultancy and software systems for the power and energy-intensive process industries.

Tomorrow s Energy Scenarios 2017 Summary Booklet

Study of Using Energy Storage to Mitigate the Impact of High Renewable Energy Penetration to the Grid

FCEV Development at GM: Status and Focus

R e p l a c i n g D i e s e l G e n e r a t i o n w i t h R e n e w a b l e S o u r c e s i n N u n a v u t C o m m u n i t i e s : P r e - s e l e c

Customer-Owned Grid Connected Devices. The Need for an Open Architecture

Digital Wind Operations Optimization from GE Renewable Energy. Enhance the performance and efficiency of your people and machines to drive outcomes

Modeling and Solving Scheduling Problems with CP Optimizer

CMS readiness for multi-core workload scheduling

Problem-Specific State Space Partitioning for Dynamic Vehicle Routing Problems

Simplify APC Tuning and Configuration

Nearly-zero, Net zero and Plus Energy Buildings How definitions & regulations affect the solutions

Of Finite Stage Markov Decision Process In Policy Determination For Employees Motivation

CERAWeek Bob Dudley. Group chief executive. 6 March 2018

The Battle of Modernities Perspectives on the Greening of European Electricity

Strategic Design of Robust Global Supply Chains: Two Case Studies from the Paper Industry

Transcription:

Next generation energy modelling Benefits of applying parallel optimization and high performance computing Frieder Borggrefe System Analysis and Technology Assessment DLR - German Aerospace Center Stuttgart a project by Modelling Smart Grids 2017 26.10.2017, Prague

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 2 Agenda 1. Introduction energy system Modelling and constraints 2. The project BEAM-ME 3. Decomposition 4. Model annotation and PIPS-IPM

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 3 3 It is not all about rocket science in DLR

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 4 DLR Energy System Model REMix Installed capacities and power generation profiles from renewables GHI HVDC lines long-range power exchange and imports Transmission grid based on current European AC grid Scenario analysis with model REMix cost minimised supply in temporal & spatial resolution model Electricity demand Heat demand Flexible operation of CHP with: - heat storages - peak boiler & electric heaters DNI wind speed results: generation & storage strategies Mo. 30.10 Di. 31.10 Mi. 1.11 Do. 2.11 Fr. 3.11 Sa. 4.11 So. 5.11 Electric vehicles (EV) BEV/hybrids: charging strategies, hourly battery capacities of the fleet connected to the grid run-off river. Conventional generation nuclear, coal, gas power plants Storages pumped hydro compressed air hydrogen Demand side management industry & households, increases system efficiency -x FCEV: flexible on-site H 2 generation

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 5 DLR Energy System Model REMix Installed capacities and power generation profiles from renewables GHI DNI wind speed run-off river. HVDC lines long-range power exchange and imports Energy system models: Simulate Conventional generation nuclear, coal, gas power plants Mo. 30.10 Di. 31.10 Mi. 1.11 Do. 2.11 Fr. 3.11 Sa. 4.11 So. 5.11 Storages pumped hydro compressed air hydrogen Transmission grid based on current European AC grid Scenario analysis with model REMix Demand side management industry & households, increases system efficiency Electricity demand cost minimised supply in temporal & spatial resolution Heat demand Flexible operation of policy and technology choices CHP with: - heat storages influence model on future energy demand and supply, and investments - peak boiler & electric heaters -> are mostly used in an exploratory manner Depend on external assumptions/boundary conditions: Development of economic activities, demographic development, or energy prices on world markets. results: generation & storage strategies Electric vehicles (EV) BEV/hybrids: charging strategies, hourly battery capacities of the fleet connected to the grid -x FCEV: flexible on-site H 2 generation

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 6 The Energy System Model REMix Installed capacities and power generation profiles from renewables GHI HVDC lines long-range power exchange and imports Transmission grid based on current European AC grid Scenario analysis with model REMix cost minimised supply in temporal & spatial resolution model Electricity demand Heat demand Flexible operation of CHP with: - heat storages - peak boiler & electric heaters DNI wind speed results: generation & storage strategies Mo. 30.10 Di. 31.10 Mi. 1.11 Do. 2.11 Fr. 3.11 Sa. 4.11 So. 5.11 Electric vehicles (EV) BEV/hybrids: charging strategies, hourly battery capacities of the fleet connected to the grid run-off river. Conventional generation nuclear, coal, gas power plants Storages pumped hydro compressed air hydrogen Demand side management industry & households, increases system efficiency -x FCEV: flexible on-site H 2 generation

Requirements for Energy System Models Increase Petten 2014 Modelling comes at a cost: Small number of time steps Or small number of regions Or small number of technologies JRC Times model: Modelling Smart Grids 2017, Prague 26.10.2017 7

Energy Sector Integration 8 Ongoing transformation drastically increases complexity of the energy system

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 9 The Energy System Model REMix

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 10 The Energy System Model REMix

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 11 Agenda 1. Introduction energy system Modelling and constraints 2. The project BEAM-ME 3. Decomposition 4. Model annotation and PIPS-IPM

Idea and scope of BEAM-ME Reduction of solution times urgently needed to enable the reflection of energy system complexity in state-of-the-art models Evaluation of different approaches to reduce model solution times Increased Modelling efficiency Higher computing power Implementation of selected approaches into REMix Assessment of the transferability to other models Definition of best-practice strategies Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 12 12

Frieder Borggrefe (DLR) 26.10.2017 13 BEAM-ME: Optimizing performance of ESM Input data Model description Modelling Language & Compiler Algorithm High Performance Computing

Frieder Borggrefe (DLR) 26.10.2017 14 BEAM-ME: Optimizing performance of ESM Input data Model description Modelling Language & Compiler Algorithm High Performance Computing Energy System Modeling Modelling Language Solver Development High Performance Computing

Frieder Borggrefe (DLR) 26.10.2017 15 Nodes! Nodes? Nodes!? - Challenge: Common language Nodes Storage Efficient Robust results Nodes Robust results Efficient Nodes Storage Efficient Energy System Modeling Modelling Language Solver Development High Performance Computing

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 16 Agenda 1. Introduction energy system Modelling and constraints 2. The project BEAM-ME 3. Decomposition 4. Model annotation and PIPS-IPM

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 17 17 Categorization of speed-up approaches Solver parameters Exact methods Solver related Solver Algorithm Meta-Heuristics Software related speed-up approaches Model specific Problem formulation Heuristics Model reduction and clustering Solving multiple, small problems Exact methods

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 18 Benders decomposition in capacity expansion and economic dispatch Benders decomposition for two-stage stochastic optimization Mathematical formulation in LP table Investment -> Master problem: Decide now which capacities should be expanded Dispatch -> Sub problem: Decide later on economic dispatch to satisfy electrical demand with capacities given by master problem 1st Stage: Capacity expansion Installed capacities 2nd Stage: Dispatch Generation variables Linking variables: Installed capacities, connecting the capacity expansion problem and the dispatch problem

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 19 Deterministic vs. Benders Decomposition Deterministic Model Benders Decomposition Master Subproblem 1st Stage: Capacity expansion Installed capacities 2nd Stage: Dispatch Generation variables Size of LP increases with number of scenarios, solved by SIMPLEX / Barrier Out of memory for typical REMix problems with scenario dimension Subproblems can be solved in parallel Memory demand scales with number of parallel solve processes

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 20 Challenges 3: Efficient use of ressources Synchronous Model Asynchronous Model Iteration 1 Iteration 2 t Iteration 1 Iteration 2 Iteration 3 Iteration 4 t Input data Model description Modelling, Language & Compiler Mathematical Optimization High Performance Computing

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 21 Agenda 1. Introduction energy system Modelling and constraints 2. The project BEAM-ME 3. Decomposition 4. Model annotation and PIPS-IPM

Categorization of speed-up approaches Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 22 Solver parameters Exact methods Solver related Solver Algorithm Meta-Heuristics Software related speed-up approaches Model specific Problem formulation Heuristics Model reduction and clustering Solving multiple, small problems Exact methods

Challenges: Scalable Implementation Input data Model description Modelling Language & Compiler Mathematical Optimization High Performance Computing IBM Blue Gene/Q @ JSC: 28,672 nodes / 458,752 cores Efficient HPC implementation Benchmarking and profiling Distributed storage for large ESMs Apply new concepts for assigning tasks to cores CRAY XC40 @ HLRS: 3,944 nodes / 94,656 cores Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 23

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 24 Application of stochastic PIPS solver Decomposition Approach PIPS-Solver (Argonne National Lab) Capacity Constraints Dispatch Investment Capacity Expansion Planning Operation & Maintainance Capacity Limits Capacity Expansion Planning Capacity Constraints Capacity Constraints Dispatch Dispatch Capacity Constraints Capacity Constraints Capacity Constraints Dispatch Dispatch Dispatch Electrical Demand

Within BEAM-ME adaptation of PIPS-Solver to PIPS IPM New PIPS-IPM-Solver under development PIPS-Solver Master Capacity Expansion Planning Sub problems Limits: Master Linking Variables Sub-Problem Linking Variables Linking Variables Sub-Problem Sub-Problem Limits Subs Linking Variables Linking Equations New developed PIPS-IPM can be used for non stochastic models PIPS-IPM will also bring benefits to stochastic Modelling Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 25

Original problem with random matrix structure min/max A c Model annotation = b How to get there? PIPS exploits matrix block structure min c 0 c s1 c sn A = b low A = b b upp T = s1 W = s1 = b s1 b low T s1 W s1 b upp s1 s1 * min/max Frieder Borggrefe (DLR) x * c Permutation reveals block structure A = b' * x' * Modelling Smart Grids 2017, Prague T = sn W = sn = b sn 26 b low T sn W sn b upp sn sn C = C = C = s1... sn = b C b low C C C C... s1 sn x 0 low x sn low x 0 x sn b C upp x 0 upp x sn upp

Original problem with random matrix structure min/max c * A = b x * Model annotation How to get there? PIPS exploits matrix block structure min c 0 c s1 c sn A = b low A = b b upp T = s1 W = s1 = b s1 b low T s1 W s1 b upp s1 s1 Permutation reveals block structure min/max A Frieder Borggrefe (DLR) c = b' * x' * Modelling Smart Grids 2017, Prague T = sn W = sn = b sn 27 b low T sn W sn b upp sn sn C = C = C = s1... sn = b C b low C C C C... s1 sn x 0 low x sn low x 0 x sn b C upp x 0 upp x sn upp

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 28 28 GAMS Annotation for PIPS-IPM Matrix of non-zero entries of REMix LP Permuted matrix revealing block structure PIPS-IPM blocks Linking variables Linking equations Annotation can be implemented directly in GAMS Modellers provide knowledge about problem and decompositions

Introducing PIPS-IPM Parallel Interior Point Solver Interior Point Method (PIPS-IPM) Petra et al. 2014: Real-Time Stochastic Optimization of Complex Energy Systems on High-Performance Computers Wind feed-in planning in electrical power systems under uncertainty OR 2017: D. Rehfeldt Optimizing large-scale linear energy problems with block diagonal structure by using parallel interior-point methods M. Wetzel et al. (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 29 29

Decomposition by region I Linking by region: electricity transports, fuel transports, global constraints (CO 2 ) power flow limitation 4 partial problems including 4 regions t Temporal dimension of transport decisions leads to the largest number of linking variables hourly power flows between regionblocks 30 Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 30

Decomposition by region II 4 partial problems including 4 regions 16 partial problems including 1 region low increase in linking variables and constraints due to sparsely connected regions Target: Find maximum number of regionblocks of similar size which are sparely linked to other regionblocks Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 31 31

M. Wetzel et al. (DLR) Getting Energy System Models ready for HPC 07 Sept 2017 32 32 Decomposition by time 7 partial problems including 24 time steps 56 partial problems including 3 time steps 168 partial problems including 1 time step 1 out of 24 storage constraints linking 3 out of 8 storage constraints linking Every storage constraint linking Target: Find good trade-off between number of time blocks and number of linking constraints

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 33 33 Evaluation of Annotations Decomposition by time and region can be applied at the same time power flow limitation from spatial decomposition Linking to previous time step from temporal decomposition All previously shown annotation plots describe exactly the same ESM problem Systematic evaluation of promising annotations required

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 34 Current state and challenges Current state of extended PIPS-IPM for BEAM-ME test problems: sequentially 10 times slower than CPLEX 12.7.1.0 (latest version) barrier. can solve problems with few (< 1000) linking constraints and variables faster than CPLEX (multi-threaded) when enough CPU-cores can be used (on several compute nodes). biggest problem solved so far has > 10 million variables and constraints Current challenges: LPs with many (>10000) linking constraints and variables hard to solve due to factorization of large dense matrix in solving process

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 35 Challenges How to cut the model to allow for efficient application of solvers? How can PIPS-IPM use salient features of the problem? Identify options for model tuning that work? algorithmic and implementation improvements, e.g. (parallel, structurepreserving) preprocessing, scaling, adaptation of interior-point algorithm handle dense (symmetric indefinite) matrix more efficiently: try GPUs (e.g., MAGMA, cusolver) for problems with not too many (< 10000) linking constraints and variables try distributed linear algebra (e.g., Elemental, DPLASMA) for bigger problems

Frieder Borggrefe (DLR) Modelling Smart Grids 2017, Prague 26.10.2017 36 Challenges How to cut the model to allow for efficient application of solvers? How can PIPS-IPM use salient features of the problem? Identify options for model tuning that work? algorithmic and implementation improvements, e.g. (parallel, structurepreserving) preprocessing, scaling, adaptation of interior-point algorithm handle dense (symmetric indefinite) matrix more efficiently: try GPUs (e.g., MAGMA, cusolver) for problems with not too many (< 10000) linking constraints and variables try distributed linear algebra (e.g., Elemental, DPLASMA) for bigger problems Benchmark: PIPS-IPM and PIPS must beat SIMPLEX in the first place

26.10.2017 37 Outlook: What can we do with more efficient models? Model new markets and market design Increase sparcial and temporal resolution Answer new questions Improved market analysis Regional potential of specific technologies Address uncertainty with stochastic models Exploring solution space Identifying tipping points between subsities Modelling sectors and sector integration