Energy System Planning under Uncertainty

43
Jose Mojica Ian Greenquist John Hedengren Brigham Young University Energy System Planning under Uncertainty 24 July 2013

Transcript of Energy System Planning under Uncertainty

Page 1: Energy System Planning under Uncertainty

Jose MojicaIan Greenquist

John HedengrenBrigham Young University

Energy System Planning under Uncertainty

24 July 2013

Page 2: Energy System Planning under Uncertainty

24 July 2013

40

45

50

55

60

65

70

75

80

85

90

1970 1975 1980 1985 1990 1995 2000 2005 2010

Ener

gy

Pro

du

ctio

n (

BB

Oe)

Year

Global Energy ProductionGlobal Energy Production2

http://data.worldbank.org/indicator/EG.EGY.PROD.KT.OE?cid=GPD_31

Page 3: Energy System Planning under Uncertainty

24 July 2013

PRISM Group Overview

Dynamic Optimization for: Unmanned Aerial Vehicles Systems Biology Solid Oxide Fuel Cells Energy Storage and the Smart Grid Investment Planning Under Uncertainty

Needs and resources for dynamic optimization

3

OverviewOverview

Page 4: Energy System Planning under Uncertainty

PRISM Group PRISM Group

Methods Mixed Integer Nonlinear Programming (MINLP) Dynamic Planning and Optimization Uncertain, Forecasted, Complex Systems

Research Applications Unmanned Aerial Vehicle (UAV) control Systems biology and pharmacokinetics Oil and gas exploration and production Hybrid and sustainable energy systems

Chemical Engineering

Page 5: Energy System Planning under Uncertainty

24 July 2013

Problem FormulationProblem Formulation

Standard Problem Formulation

Objective Function (f(x))

Dynamic model equations that relate trajectory constraints, sensor dynamics, and discrete decisions

Uncertain model inputs as unmodeled or stochastic elements

Solve large-scale MINLP problems (100,000+ variables)

5

max

subjectto , , , 0

h , , 0

Page 6: Energy System Planning under Uncertainty

Smart Grid Optimization

Smart grid integration with solar, wind, coal, biomass, natural gas, and energy storage

Nuclear integration withpetrochemicalproduction, processing, and distribution

Page 7: Energy System Planning under Uncertainty

Nuclear with Petrochemical IndustriesNuclear with Petrochemical Industries

12% of total U.S. energy use from refining and chemicals

$57 billion annually on energy

Potential refinery and nuclear integration with electricity, heat, hydrogen, and other production-consumption pairings

Transportation fuels are 28% of U.S. energy total

Electricity

Heat

Water

Hydrogen

Other

Page 8: Energy System Planning under Uncertainty

Underwater Oil Rigs

Nuclear reactors for: Electricity

Heated pipe in pipe to discourage hydrate formation

Gas, water, oil processing

Petrobras, a Brazilian oil company, plans to use unmanned, highly automated underwater oil rigs beginning in 2020

Page 9: Energy System Planning under Uncertainty

Nuclear for Water Purification

Cooling towers purify and consume 1.05 gal/kW-hr

Several nations have access to nuclear power, but limited amounts of renewable fresh water

World’s largest desalination facility in Saudi Arabia to produce electricity and water (July 2013)

KSA desalination consumes 300,000 barrels of oil per day at $3.20/m3

Page 10: Energy System Planning under Uncertainty

District Heating and Cooling District Heating and Cooling

Page 11: Energy System Planning under Uncertainty

Planning of Investment DecisionsPlanning of Investment Decisions

Page 12: Energy System Planning under Uncertainty

District Energy ProfilesDistrict Energy ProfilesH

eat

Dem

and

(MM

BTU

/hr)

Electricity Dem

and (MW

)

Page 13: Energy System Planning under Uncertainty

Uncertainty in Natural Gas PricesUncertainty in Natural Gas Prices

Page 14: Energy System Planning under Uncertainty

Uncertainty in Electricity PricesUncertainty in Electricity Prices

Page 15: Energy System Planning under Uncertainty

MW

MW

MW

Simplifying SystemSimplifying System

Create Model: Electric and Heating Demand Model (winter and summer)

Page 16: Energy System Planning under Uncertainty

Allocation of energy supplyAllocation of energy supply

Winter Heating Capacity Allocation?

Summer ElectricitySupply Allocation?

Page 17: Energy System Planning under Uncertainty

Dynamic Model for Dynamic SystemDynamic Model for Dynamic SystemH

eat

Dem

and

(MM

BTU

/hr)

Electricity Dem

and (MW

)

Page 18: Energy System Planning under Uncertainty

Nonlinear DAENonlinear DAE

mn

talenvironmenoperatingcapital

uyxuyxhuyxg

uyxtxfts

CostCostCostuyxJ

,),,(0),,(0

,,,0..

)(),,(min

Nonlinear Cost functions

Turbine and boiler dynamics

Demand and operating constraints

Page 19: Energy System Planning under Uncertainty

Dynamic Optimization ResultsDynamic Optimization Results

Both capacity increase and cost effective mode of operation over a long term horizon

Page 20: Energy System Planning under Uncertainty

Turbine Max CapacityTurbine Max Capacity

Page 21: Energy System Planning under Uncertainty

Supplemental Boiler Firing CapacitySupplemental Boiler Firing Capacity

Page 22: Energy System Planning under Uncertainty

Model Predictive Control ApproachModel Predictive Control Approach

Page 23: Energy System Planning under Uncertainty

L1 Norm formulationL1 Norm formulation

0,,,0,,,

)(ˆ

ˆ

2

2

),,(0..

min

lohilohi

lohilohi

talenvironmenoperatingcapitallohimodellohimeas

lolo

hihi

lololo

hihihi

logap

higap

lohilohi

cceescscsese

CostCostCostccweewobjscxxcscxxc

sexmesemxe

mmm

mmm

dxxfts

scscseseobj

Page 24: Energy System Planning under Uncertainty

Optimize to a Target RangeOptimize to a Target Range

0 2 4 6 8 10 12 14 16 18 201

2

3

4

5

Man

ipul

ated

uopt

0 2 4 6 8 10 12 14 16 18 200

5

10

15

Con

trolle

d

xopt

Optimal sequence of moves given uncertainty in the parameters

Distribution of Controlled Variables

Page 25: Energy System Planning under Uncertainty

0 2 4 6 8 10 12 14 16 18 201

2

3

4

Man

ipul

ated

uopt

0 2 4 6 8 10 12 14 16 18 200

5

10

15

Con

trolle

d

xopt

Optimize to a LimitOptimize to a Limit

Conservative movement based on worst case CV

Upper Limit

Page 26: Energy System Planning under Uncertainty

Dynamic SolutionDynamic Solution

Page 27: Energy System Planning under Uncertainty

Dynamic Energy System Tools

Solid Oxide Fuel Cell (SOFC)

Toolbox for Object Oriented Modeling in MATLAB, Simulink, and Python

Advanced tools are required for collaborative modeling and high performance computing

Page 28: Energy System Planning under Uncertainty

Optimization BenchmarkOptimization Benchmark

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 510

20

30

40

50

60

70

80

90

100

Not worse than 2 times slower than the best solver ()

Per

cent

age

(%)

APOPT+BPOPTAPOPT1.0

BPOPT1.0IPOPT3.10

IPOPT2.3

SNOPT6.1

MINOS5.5

Summary of 494 Benchmark Problems

Speed

Success

Speed and Successwith combined approach

Page 29: Energy System Planning under Uncertainty

ConclusionsConclusions

Powerful insights can be gained from modeling and data reconciliation over long periods of historical data

When data, modeling, and optimization are combined, hidden savings are discovered through dynamic optimization

MPC approach can allow for other control variables to be accounted for directly in optimization

Simulation and optimization of energy system can give stake holders realistic options to evaluate risks and rewards with minimum cost

Simulation results can then be directly applied to control applications

Page 30: Energy System Planning under Uncertainty

Development NeedsDevelopment Needs

Collaborative modeling tools

Library of high quality models that are open source and can be adapted to new problems

Improvements to methods to simulate and optimize large-scale and complex systems

Interface with operations and subject matter experts – need to know the process for effective modeling and optimizing

Page 31: Energy System Planning under Uncertainty

AcknowledgementsAcknowledgements

Page 32: Energy System Planning under Uncertainty

Extra SlidesExtra Slides

Page 33: Energy System Planning under Uncertainty

Systems BiologySystems Biology

Objective: Improve extraction of information from clinical trial data

Dynamic data reconciliation Dynamic pharmacokinetic models (large-scale) Data sets over many patients (distributed) Uncertain parameters (stochastic)

05

1015

1.9

1.95

21

2

3

4

5

6

7

Log(

Viru

s)

HIV Virus Simulation

time (years)Log(kr1)

1.828

2.364

2.899

3.435

3.970

4.506

5.041

5.576

6.112

6.647

0 5 10 151

2

3

4

5

6

7

8

Time

log1

0 vi

rus

Page 34: Energy System Planning under Uncertainty

Energy System ModelEnergy System Model

Page 35: Energy System Planning under Uncertainty

LP (Linear Programming) LP (Linear Programming)

Page 36: Energy System Planning under Uncertainty

Example of ResultsExample of Results

LP or NLP formulation, optimizing through discrete scenarios to account for uncertainty. Lacks system dynamics.

Page 37: Energy System Planning under Uncertainty

Electricity Generation ForecastsElectricity Generation Forecasts

Page 38: Energy System Planning under Uncertainty

Optimize capacity at CHP’s most efficient operating pointOptimize capacity at CHP’s most efficient operating point

Page 39: Energy System Planning under Uncertainty

Heat load is optimized simultaneouslyHeat load is optimized simultaneously

Page 40: Energy System Planning under Uncertainty

Optimize to a TargetOptimize to a Target

Page 41: Energy System Planning under Uncertainty

Optimize above a LimitOptimize above a Limit

Page 42: Energy System Planning under Uncertainty

Simultaneous vs. SequentialSimultaneous vs. SequentialTable 1: Computational results from the sequential and simultaneous solution methods. Computations for

each method are executed using an Intel ® Core 2 Duo ™ (2.54 GHz) processor with 4 GB RAM.

Sequential Simultaneous

Objective function value 0.0094 0.0108

System model evaluations 3,336 1

Computation time (s) 331.6 1.1

K.M. Powell, J.D. Hedengren, T.F. Edgar, A Continuous Formulation for Logical Decisions in Differential Algebraic Systems using Mathematical Programs of Equilibrium Constraints, Industrial and Engineering Chemistry Research, Submitted, 2013.

Page 43: Energy System Planning under Uncertainty

Survey of DAE SolversSurvey of DAE Solvers

Software Package Max DAE Index

Form Adaptive Time Step

Sparse Partial‐DAEs

Simultaneous Estimation / Optimization

APMonitor 3+ Open No Yes No Yes

DASPK  / CVODE / Jacobian

2 Open Yes No No No

gProms 1 (3+ with transforms)

Open Yes Yes Yes No

MATLAB 1 Semi‐explicit

Yes No No No

Modelica 1 Open Yes Yes No No

DAE = Differential and Algebraic Equation