Top Banner
E bli d lb dd ii Enabling model based decision making by sharing consistent equation oriented dynamic models between multiple simulation and between multiple simulation and optimization environments Ajay Lakshmanan Manager, R&D
29

Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Apr 08, 2018

Download

Documents

trinhminh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

E bli d l b d d i iEnabling model based decision making by sharing consistent g y gequation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments

Ajay LakshmananManager, R&D

Page 2: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

OverviewWh d d t i t t d l ?• Why do we need to use consistent models?

• How do we enable use of consistent models?− Common computational engine

• How do we enable consistent dynamic models?E h t ti l i− Enhance common computational engine

• Sample results of the implementationD i b t h di till ti d l i A Pl− Dynamic batch distillation model in Aspen Plus

− Custom dynamic tank model in Aspen HYSYS and Aspen HYSYS Dynamics

2

p y

Page 3: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Model-Based Decision Making

Plan ERPERP

Track

Plan ERPERP

Schedule

Planners

DesignDesignDesign

Track

PlantProcess

Schedule

Schedulers DesignDesign&&

SupportSupport

Design&

Support

Optimize Monitor

PlantOperators

& Engineers

ProcessEngineers

Schedulers

ControlPlant Operations

& E iDCSDCS

3

& Engineers

Page 4: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Why Do We Need To Share Models?

• Consistent basis for making decisions−Reuse rigorous models.

• Reliability of the predictions• Speed of deployment• Better knowledge managementg g−Standardized work process: Models created and

maintained by a group; Distributed to all usersLower cost Reduces need to have experts at every site−Lower cost. Reduces need to have experts at every site

4

Page 5: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

OverviewWh d d t i t t d l ?• Why do we need to use consistent models?

• How do we enable use of consistent models?− Common computational engine

• How do we enable consistent dynamic models?E h t ti l i− Enhance common computational engine

• Sample results of the implementationD i b t h di till ti d l i A Pl− Dynamic batch distillation model in Aspen Plus

− Custom dynamic tank model in Aspen HYSYS and Aspen HYSYS Dynamics

5

p y

Page 6: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingCommon Computational Enginep g

Plan ERPERP

Open Object Track

Plan ERPERP

Schedule

Planners

jModel

Framework

DesignDesignDesign

Track

PlantProcess

Schedule

Schedulers DesignDesign&&

SupportSupport

Design&

Support

Optimize Monitor

PlantOperators

& Engineers

ProcessEngineers

Schedulers

ControlPlant Operations

& E iDCSDCS

6

aspenONE aspenONE & Engineers

Page 7: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making Common Computational Enginep g

Engineering Solutions Operations and Planning Solutions

Aspen Plus Aspen PIMS Aspen Refinery Scheduler …Aspen HYSYS …Aspen HYSYS Dynamics

Open Model Executive(OOMF) “Backbone”

Common Model 1

CommonModel 2

CommonModel nModel 1 Model 2 Model n

Model Providers

7

Aspen Plus Aspen Custom Modeler Aspen HYSYS C++ CAPE-OPEN …Aspen PIMS

Page 8: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

Custom Steady State models can already be shared• Since 2002 steady state models developed using

Aspen Custom Modeler can be seamlessly i t t d i t l t d l i A Plintegrated into process plant models in Aspen Plus, Aspen HYSYS etc.−Solve in Sequential Modular and Equation OrientedSolve in Sequential Modular and Equation Oriented

solution modes− Icons, tables, custom forms, Visual Basic scripts are

exported and available in Aspen Plus Aspen HYSYSexported and available in Aspen Plus, Aspen HYSYS−Model variables are accessible in design specifications,

sensitivity calculations, calculator blocks

8

Page 9: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

OverviewWh d d t i t t d l ?• Why do we need to use consistent models?

• How do we enable use of consistent models?− Common computational engine

• How do we enable consistent dynamic models?E h t ti l i− Enhance common computational engine

• Results of the implementationD i b t h di till ti d l i A Pl− Dynamic batch distillation model in Aspen Plus

− Custom dynamic tank model in Aspen HYSYS and Aspen HYSYS Dynamics

9

p y

Page 10: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

Rigorous Dynamic models can now be shared• Author dynamic model in high level modeling

environment−Aspen Custom ModelerAspen Custom Modeler

• Integrate the dynamic model with overall process model in−Aspen Plus and Aspen Plus Dynamics−Aspen HYSYS and Aspen HYSYS Dynamics

W kfl bl d b t ti l i• Workflow enabled by common computational engine−Open Object Model Framework (OOMF)−Aspen Open Solvers (AOS)

10

p p ( )

Page 11: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

Aspen Custom Modeler Aspen PlusAspen HYSYS

Create rigorous dynamic model

OOMF OOMF

Rigorous dynamic model

Rigorous dynamic model

Built-In UnitOperation

Models

Built-In UnitOperation

Models

11

Page 12: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingOOMF – Common Computational Enginep g

ClientsVB, C/C++, C#, Java

SolversLANLAOOMF

Model ComponentsC NLA

LP/MIPNLPMINLPIntegratorD

OOMFC++ACMLegacy

Decomposer

Application SpecificExtensions

12

Extensions

Page 13: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingOOMF – Dynamic Modeling Supporty g pp

Drive the dynamic model through timeSt t t t d t• Start, pause, re-start, and reset

• Finite State Machine− Manage and control the multiple states from start to end

• Task manager − Load, activate, parse and interpret configured tasks

• Event ManagerEvent Manager− Explicit events - step the simulation through time− Implicit events - conditions, actions, monitors

• Data historian − Record, View variable time profiles; Save snapshots

• Open Solver driver − Differential Algebraic Equation System object

13

g q y j

Page 14: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingAspen Open Solversp p

SolversOOMFModel Components

C++ACMLegacy

AOS SocketApplication Specific

Extensions

AOS Solver

LP/MIP QP NLP MINLP LA NLA INTEGRATOR

XPRESS DMO/SQP

LSSQP

MINLP

XSLP

DECOMP

SPARSE

MA48

MA57

DAE

14

XSLP

Page 15: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingOpen Solver - Dynamic Modeling Supportp y g pp

Solve the dynamic model• Aspen Open Solver Integrator−Explicit Euler, Implicit Euler, Runge-Kutta, Gear

I t f d i l t ti f• Interfaces and implementation for −Differential Algebraic Equation System Object−Group DecompositionGroup Decomposition−Tearing−Homotopy

E l i• Event location −Discontinuities, Tasks

• Diagnostic Reports

15

• Diagnostic Reports

Page 16: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

OverviewWh d d t i t t d l ?• Why do we need to use consistent models?

• How do we enable use of consistent models?− Common computational engine

• How do we enable consistent dynamic models?E h t ti l i− Enhance common computational engine

• Results of the implementationD i b t h di till ti d l i A Pl− Dynamic batch distillation model in Aspen Plus

− Custom dynamic tank model in Aspen HYSYS and Aspen HYSYS dynamics

16

p y

Page 17: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingResults of the Implementationp

Author the dynamic model in Aspen Custom Modeler.• Create a dynamic model based on proprietary

knowledge or chemical engineering literature• Integrate dynamic model with overall process model

in Aspen Plus and Aspen HYSYS.• Two examples follow−Batch Distillation Model authored in Aspen Custom

Modeler; integrated within an Aspen Plus process modelModeler; integrated within an Aspen Plus process model−Custom tank model authored in Aspen Custom modeler;

integrated within an Aspen HYSYS and Aspen HYSYS D i d l

17

Dynamics model

Page 18: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making Aspen Batch Distillationp

• Aspen Batch Di ill i iDistillation is a dynamic model developed usingdeveloped using Aspen Custom Modeler

• Used for design, analysis and optimization of batchoptimization of batch distillation processes

18

Page 19: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making Aspen Batch Distillation p

• Developed using Aspen Custom Modeler• Uses Aspen Properties−Rigorously model two-phase and three-phase columns

• Integrates a large DAE system −1000 to100000+ equations− Implicit Euler or Gear solution methods

• Uses tasks to model a sequence of batch operations• Rich user interface for configuring column and

operating steps

19

Page 20: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making Aspen Batch Distillation Sample Modelp p

• Water-methanol separation

20

Page 21: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingIntegration into Aspen Plus Via OOMFg p

• Aspen Batch Distillation Model now also available i i i A Plas a unit operation in Aspen Plus

• Integration with Aspen Plus enables simulation and g poptimization of:−Batch distillation sequences

E ti i l di th b t h ti it−Entire process including other batch or continuous unit operations

21

Page 22: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingIntegration into Aspen Plus Via OOMFg p

• Connect to other models and optimize the process−Notional buffer tanks at inlets and outlets

22

Page 23: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingIntegration into Aspen Plus Via OOMFg p

• Water-methanol separation using Aspen Plus

23

Page 24: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

OverviewWh d d t i t t d l ?• Why do we need to use consistent models?

• How do we enable use of consistent models?− Common computational engine

• How do we enable consistent dynamic models?E h t ti l i− Enhance common computational engine

• Results of the implementationD i b t h di till ti d l i A Pl− Dynamic batch distillation model in Aspen Plus

− Custom dynamic tank model in Aspen HYSYS and Aspen HYSYS dynamics

24

p y

Page 25: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingCustom Dynamic Tank Modely

25

Page 26: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision MakingIntegration into Aspen HYSYS Via OOMFg p

26

Page 27: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

Dynamic models can be shared for better decision making.• Author dynamic model in high level modeling environment

− Aspen Custom Modeler

• Integrate the dynamic model with overall process model• Integrate the dynamic model with overall process model − Aspen Plus and Aspen Plus Dynamics− Aspen HYSYS and Aspen HYSYS Dynamics

• Improve process model accuracy, reliability and deployment.− Better knowledge management

• Workflow enabled by common computational engine• Workflow enabled by common computational engine− Open Object Model Framework (OOMF)− Aspen Open Solvers (AOS)

27

Page 28: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Consistent Model-Based Decision Making

• Common Model EnvironmentEnvironment− Enables use of consistent

models in Engineering, Planning and Scheduling, Advanced Control, Optimization, and O tiOperations

• Sample implementations of sharing of dynamic model in engineering were described in this paper.described in this paper. − The next paper will

describe how similar models are used across Engineering, Planning and Scheduling, and O ti i th fi iOperations in the refining industry

28

Page 29: Enabling model based decision making by sharing … · equation oriented dynamic models between multiple simulation andbetween multiple simulation and optimization environments Ajay

Acknowledgements

• Ashok Bhakta• Gabriel Lopez-CalvaGab e ope Ca a• James Fielding• Ajay Modi• Ajay Modi• James Goom

29