24
Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District Heating System Jose L. Mojica Michelle Chen Damon Petersen Dr. John D. Hedengren Department of Chemical Engineering Brigham Young University Dr. Kody Powell University of Texas at Austin

Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

Click to edit Master title style

A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District Heating System

Jose L. Mojica Michelle Chen

Damon PetersenDr. John D. Hedengren

Department of Chemical EngineeringBrigham Young University

Dr. Kody PowellUniversity of Texas at Austin

Page 2: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

BYU Advanced Control and Optimization

BYU PRISM Group Overview Dynamic Optimization for:

Advance Control for Oil Drilling Operations Unmanned Aerial Vehicles Systems Biology Solid Oxide Fuel Cells Energy Storage and the Smart Grid Energy Systems Planning Under Uncertainty

Needs and resources for dynamic optimization

Page 3: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

District Energy System

Page 4: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Planning for a CHP system

Page 5: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

CHP Capacity Planning Challenges

Institutions and businesses invest in CHP systems to reduce energy costs.

When to invest and capacity of CHP?

Utah State University (2004)• Designed to cover

electrical and thermal base load

• When natural gas prices are high, plant does not economically operate as designed and must operated as a peak shaver

University of Utah (2008)• Strong financial analysis

should consider that electricity and natural gas prices are variable

• Consider sizing of system to meet all electrical or thermal load

• Consider room for growth

Source: DOE Clean Energy Application Center

Page 6: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Uncertain Energy Prices

Source: EIA.gov

Page 7: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Energy Load Profiles for Campus

Page 8: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

MW

MW

MW

Traditional Approach

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

Page 9: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Traditional Model Formulation

Page 10: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Traditional Results

LP or NLP formulation, optimizing through discrete scenarios. Lacks system dynamics.

Page 11: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Energy Load Profiles for Campus

Page 12: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Model Predictive Control (MPC)

Page 13: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Problem Formulation Overview

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 NLP or MINLP problems (100,000+

variables)

max

subjectto , , , 0

h , , 0

Page 14: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Dynamic Nonlinear DAE Problem

mn

talenvironmenoperatingcapital

uyxuyxhuyxg

uyxtxfts

CostCostCostuyxJ

,),,(0),,(0

,,,0..

)(),,(minNonlinear Objective function

Turbine and boiler dynamics

Nonlinear demand and operating constraints

Page 15: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

MPC Framework

Hedengren, J.D. and Asgharzadeh, R .Implementation Details for Nonlinear Modeling, Data Reconciliation, and Dynamic Optimization

Page 16: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Dynamic Optimization Results

Page 17: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Dynamic Optimization Results

Page 18: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Utilization of Capacity

Page 19: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Optimize 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 20: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

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 Limit

Conservative movement based on worst case CV

Upper Limit

Page 21: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

MPC

Page 22: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Effects on CHP Capacity Planning

Page 23: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

APMonitor.com

APMonitor Optimization SuiteThe APMonitor Modeling Language is optimization software for mixed-integer and differential algebraic equations. It is coupled with large-scale solvers for linear, quadratic, nonlinear, and mixed integer programming (LP, QP, NLP, MILP, MINLP). Modes of operation include data reconciliation, real-time optimization, dynamic simulation, and nonlinear predictive control. It is available through MATLAB, Python, or from a web browser interface.

Page 24: Click to edit Master title style - Process System …...Click to edit Master title style A Model Predictive Control Approach for Long Term Planning of Capacity Investments in a District

apm.byu.edu/prism Brigham Young UniversityOct 9, 2013

Future Development Simultaneous Optimization of cases to account for

uncertainty in natural gas and electricity prices. Effects of selling power to the grid. MINLP formulation for more realistic capacity

optimization. Simulate a true control problem with disturbance

variables (variable costs) to simulate uncertainty.