Accelerating interior point methods with GPUs for smart grid systems

Similar documents
Reducing Uncertainty of Near-shore wind resource Estimates (RUNE) using wind lidars and mesoscale models

An Equivalent Source Method for Modelling the Lithospheric Magnetic Field Using Satellite and Airborne Magnetic Data

Single Shooting and ESDIRK Methods for adjoint-based optimization of an oil reservoir

Benchmarking of optimization methods for topology optimization problems

A Trust-region-based Sequential Quadratic Programming Algorithm

Optimizing Reliability using BECAS - an Open-Source Cross Section Analysis Tool

Modelling Salmonella transfer during grinding of meat

Lidar calibration What s the problem?

Dynamic Effects of Diabatization in Distillation Columns

A Note on Powers in Finite Fields

Validation and comparison of numerical wind atlas methods: the South African example

Radioactivity in the Risø District July-December 2013

Radioactivity in the Risø District January-June 2014

Comparisons of winds from satellite SAR, WRF and SCADA to characterize coastal gradients and wind farm wake effects at Anholt wind farm

The dipole moment of a wall-charged void in a bulk dielectric

Global Wind Atlas validation and uncertainty

Simulating wind energy resources with mesoscale models: Intercomparison of stateof-the-art

Aalborg Universitet. Lecture 14 - Introduction to experimental work Kramer, Morten Mejlhede. Publication date: 2015

Prediction of airfoil performance at high Reynolds numbers.

Validation of Boundary Layer Winds from WRF Mesoscale Forecasts over Denmark

Kommerciel arbejde med WAsP

Matrix representation of a Neural Network

Numerical modeling of the conduction and radiation heating in precision glass moulding

Room Allocation Optimisation at the Technical University of Denmark

Application of mesoscale models with wind farm parametrisations in EERA-DTOC

Crack Tip Flipping: A New Phenomenon yet to be Resolved in Ductile Plate Tearing

Optimal acid digestion for multi-element analysis of different waste matrices

Impact of the interfaces for wind and wave modeling - interpretation using COAWST, SAR and point measurements

Solar radiation and thermal performance of solar collectors for Denmark

Advantages and Challenges of Superconducting Wind Turbine Generators

Potential solution for rain erosion of wind turbine blades

Design of Robust AMB Controllers for Rotors Subjected to Varying and Uncertain Seal Forces

Generating the optimal magnetic field for magnetic refrigeration

Geometry of power flows and convex-relaxed power flows in distribution networks with high penetration of renewables

Sound absorption properties of a perforated plate and membrane ceiling element Nilsson, Anders C.; Rasmussen, Birgit

The colpitts oscillator family

Proving in the Isabelle Proof Assistant that the Set of Real Numbers is not Countable

Reflection of sound from finite-size plane and curved surfaces

Multiple Scenario Inversion of Reflection Seismic Prestack Data

Berøringsløs optisk måling af gassammensætning ved UV og IR spektroskopi

Accelerating linear algebra computations with hybrid GPU-multicore systems.

On numerical evaluation of two-dimensional phase integrals

Measurements of the angular distribution of diffuse irradiance

Battling Bluetongue and Schmallenberg virus Local scale behavior of transmitting vectors

The Wien Bridge Oscillator Family

Diffusion of sulfuric acid in protective organic coatings

Steady State Comparisons HAWC2 v12.2 vs HAWCStab2 v2.12

Phase Equilibrium in Amino Acid Salt Systems for CO2 Capture

Exposure Buildup Factors for Heavy Metal Oxide Glass: A Radiation Shield

A comparison study of the two-bladed partial pitch turbine during normal operation and an extreme gust conditions

Neutronics calculations for the ITER Collective Thomson Scattering Diagnostics

Application of the MCNPX-McStas interface for shielding calculations and guide design at ESS

Alkali Release from Typical Danish Aggregates to Potential ASR Reactive Concrete

Conceptual design of a thorium supplied thermal molten salt wasteburner

Realtime 3D stress measurement in curing epoxy packaging

Aalborg Universitet. Land-use modelling by cellular automata Hansen, Henning Sten. Published in: NORDGI : Nordic Geographic Information

Strongly 2-connected orientations of graphs

Extreme sea levels and the assessment of future coastal flood risk

Determination of the minimum size of a statistical representative volume element from a fibre-reinforced composite based on point pattern statistics

Multi (building)physics modeling

Application of the wind atlas for Egypt

Reflection and absorption coefficients for use in room acoustic simulations

Determination of packaging induced 3D stress utilizing a piezocoefficient mapping device

Higher-order spectral modelling of the diffraction force around a vertical circular cylinder

Citation (APA): Holm, E., Frøsig, L., & Sidhu, R. (Eds.) (2006). Theory of sampling. (NKS-122).

A systematic methodology for controller tuning in wastewater treatment plants

Control Configuration Selection for Multivariable Descriptor Systems Shaker, Hamid Reza; Stoustrup, Jakob

COMPARISON OF THERMAL HAND MODELS AND MEASUREMENT SYSTEMS

Aalborg Universitet. CLIMA proceedings of the 12th REHVA World Congress Heiselberg, Per Kvols. Publication date: 2016

Validity of PEC Approximation for On-Body Propagation

Design possibilities for impact noise insulation in lightweight floors A parameter study

Transmuted distributions and extrema of random number of variables

A Blue Lagoon Function

Vindkraftmeteorologi - metoder, målinger og data, kort, WAsP, WaSPEngineering,

Radiometric Measurements of Environmental Radioactivity Beta Counting, Alpha and Gamma Spectrometry

Wake decay constant for the infinite wind turbine array Application of asymptotic speed deficit concept to existing engineering wake model

Plane Wave Medical Ultrasound Imaging Using Adaptive Beamforming

Irregular Wave Forces on Monopile Foundations. Effect af Full Nonlinearity and Bed Slope

On the Einstein-Stern model of rotational heat capacities

Tectonic Thinking Beim, Anne; Bech-Danielsen, Claus; Bundgaard, Charlotte; Madsen, Ulrik Stylsvig

Unknown input observer based scheme for detecting faults in a wind turbine converter Odgaard, Peter Fogh; Stoustrup, Jakob

A Procedure for Classification of Cup-Anemometers

Graphs with given diameter maximizing the spectral radius van Dam, Edwin

A note on non-periodic tilings of the plane

Analytical Studies of the Influence of Regional Groundwater Flow by on the Performance of Borehole Heat Exchangers

Feasibility of non-linear simulation for Field II using an angular spectrum approach

A practical implementation of microphone free-field comparison calibration according to the standard IEC

Dynamic Asset Allocation - Identifying Regime Shifts in Financial Time Series to Build Robust Portfolios

The IEA Annex 20 Two-Dimensional Benchmark Test for CFD Predictions

Concept Testing of a Simple Floating Offshore Vertical Axis Wind Turbine

Online algorithms for parallel job scheduling and strip packing Hurink, J.L.; Paulus, J.J.

Development of a Dainish infrastructure for spatial information (DAISI) Brande-Lavridsen, Hanne; Jensen, Bent Hulegaard

On Estimation of the CES Production Function - Revisited

The new worldwide microscale wind resource assessment data on IRENA s Global Atlas. The EUDP Global Wind Atlas

Practical Implementations of Advanced Process Control for Linear Systems

Upper and Lower Bounds of Frequency Interval Gramians for a Class of Perturbed Linear Systems Shaker, Hamid Reza

Aalborg Universitet. Specification of a Two-Dimensional Test Case Nielsen, Peter Vilhelm. Publication date: 1990

On a set of diophantine equations

On machine measurements of electrode wear in micro EDM milling

The M/G/1 FIFO queue with several customer classes

Transcription:

Downloaded from orbit.dtu.dk on: Dec 18, 2017 Accelerating interior point methods with GPUs for smart grid systems Gade-Nielsen, Nicolai Fog Publication date: 2011 Document Version Publisher's PDF, also known as Version of record Link back to DTU Orbit Citation (APA): Gade-Nielsen, N. F. (2011). Accelerating interior point methods with GPUs for smart grid systems [Sound/Visual production (digital)]. Workshop on "GPU Computing Today and Tomorrow", Kongens Lyngby, Denmark, 01/01/2011, http://gpulab.imm.dtu.dk/courses.html General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim.

Accelerating interior point methods with GPUs for smart grid systems Nicolai Fog Gade-Nielsen D T U Department of Informatics and Mathematical Modelling Technical University of Denmark GPU Computing Today and Tomorrow, 2011 Technical University of Denmark Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 1 / 13

Outline 1 Introduction 2 Smart grid test case 3 Interior point method 4 Future plans Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 2 / 13

Introduction Introduction Ph.D. student at GPUlab, DTU IMM since November 2010. Title: Scientific GPU Computing for Dynamical Optimization Investigate GPUs for solving optimization problems, primarily model predictive control (MPC). Initial test problem is distribution and control of electrical power via smart grid through the use of MPC. Completed M.Sc. at DTU IMM in October 2010: Title: Implementation and evaluation of fast computational methods for high-resolution ODF problems on multi-core and many-core systems Used GPUs for ray tracing and matrix-free SpMV. Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 3 / 13

What is a smart grid? Smart grid test case Dynamically control energy production and consumption according to some objective, eg: Increased use of uncontrollable renewable power such as wind and solar. Lower production costs. Lower CO2 production. etc. Examples Heat pump control in houses Power plant production control Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 4 / 13

Smart grid test case Power plants in Denmark Image credit: Economic MPC for Power Management in the Smart Grid Tobias Gybel Hovgaard Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 5 / 13

Smart grid test case D T U Simple Economic MPC 1 Prediction horizon of N time steps. N p number of power plants with different properties. Properties on each power plant: Response time. Minimum and maximum change in one time step. Minimum and maximum power production. Cost. Simple example: Two power plants. A cheap but slow power plant. An expensive but fast power plant. Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 6 / 13

Smart grid test case Simple Economic MPC example Total Power 20 15 10 5 Production Reference 0 0 50 100 150 200 250 300 350 400 450 500 15 P.G. #1 10 5 0 0 50 100 150 200 250 300 350 400 450 500 15 P.G. #2 10 5 0 0 50 100 150 200 250 300 350 400 450 500 Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 7 / 13

Smart grid test case D T U Simple Economic MPC 2 Define power plant production as an economic MPC problem: min s.t. φ = g s + c x Ax s = b s 0 c is the cost and x is the control variables of each power plant in each time step. s is a slack variable and g is the cost of using it. A is our constraint matrix which encodes the constraints of each power plant and dynamics of the system. Very sparse and highly structured. Number of control variables: N p N + N Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 8 / 13

Interior point method IPM Algorithm (without Predictor-Corrector) While not converged do Compute duality gap. Set centering parameter. Compute residuals. Solve newton step. 0 A 0 x r L A 0 I λ = r s (1) 0 S Λ s r λ [ ] [ ] [ ] 0 A x r A D 1 = L λ r s Λ 1 (2) r λ D = S 1 Λ S = diag(s), Λ = diag(λ) Compute step length. Update step. Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 9 / 13

Interior point method Solving the Newton step Bottleneck: Solving the Newton step Normally solved with direct method: Compute the Hessian matrix and use Cholesky factorization. H A = A T (D)A Cholesky : H A = LL T Implemented using CUBLAS and MAGMA. What is MAGMA? The MAGMA project aims to develop a dense linear algebra library similar to LAPACK but for heterogeneous/hybrid architectures, starting with current "Multicore+GPU" systems. Very fast Cholesky factorization. Developed at University of Tennessee. Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 10 / 13

Results Interior point method 40 35 Speed up of using GPUs vs sequential CPU (Xeon E5620) Tesla C2070 (dense) Tesla C2070 (structured) GTX 590 (dense) GTX 590 (structured) 30 Speed up 25 20 15 10 5 1500 2000 2500 3000 Control variables Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 11 / 13

Problems Interior point method Ill-conditioning Normal equations -> condition number squared H A = A T (D)A Cholesky : H A = LL T In the later iterations of the IPM, either s i or λ i goes toward 0. 0 A 0 A 0 I x λ = r L r s (1) 0 S Λ s r λ [ ] [ ] [ ] 0 A x r A D 1 = L λ r s Λ 1 (2) r λ D = S 1 Λ S = diag(s), Λ = diag(λ) Loss of sparsity N p = 1000, N = 48: 48048 decision variables. 48048 2 hessian matrix to factorize: about 17 GB. Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 12 / 13

Future plans D T U Future plans Iterative methods and preconditioning Identify iterative solvers for solving the newton step iteratively. Identify good preconditioners. Evaluate which of the solvers and preconditioners are suitable for GPU implementation. Create toolbox for solving optimization problems using GPUs Smart grid problems used as test case for toolbox. Nicolai Fog Gade-Nielsen (GPUlab) Accelerating IPMs with GPUs for SG systems DTU 2011-08-18 13 / 13