27
Building Complex APS Applications using IBM ODME and IMPRESS DecisionBrain & Industrial Algorithms LLC. 7/1/2013 Copyright, DB & IAL

Building Complex APS Applications using IBM ODME and IMPRESS

Embed Size (px)

Citation preview

Page 1: Building Complex APS Applications using IBM ODME and IMPRESS

Building Complex APS

Applications using IBM ODME

and IMPRESS

DecisionBrain & Industrial Algorithms LLC.

7/1/2013 Copyright, DB & IAL

Page 2: Building Complex APS Applications using IBM ODME and IMPRESS

Agenda

• What is ODME?

• What are Industrial Modeling Frameworks?

• What is IMPRESS?

• Jet Fuel Supply Chain & Why it’s Complex

• ODME-IMPRESS Implementation

• Benefits

2

Page 3: Building Complex APS Applications using IBM ODME and IMPRESS

3

Based on IBM ILOG Optimization

Portfolio

Engines and Tools

CPLEX Optimization High-performance mathematical and constraint programming solvers, modeling language, and development environment

Solution Platform

ODM Enterprise Build and deploy analytical decision support applications based on optimization technology

Oil&Gas Production Scheduling

Page 4: Building Complex APS Applications using IBM ODME and IMPRESS

ILOG ODM Enterprise

Architecture

(OR)

(IT)

Embeds all CPLEX Optimization Studio

Reporting

Data Integration

Data Modeling

ODM Enterprise IDE

ODM Enterprise

Optimization Server/Engine

ODM Enterprise

Client & Planner

Optimization Modeling,

Tuning, Debugging

Application UI Configuration (LoB)

Development Deployment

Application UI Customization

Business Use

Custom GUI

Batch process

ODM Enterprise

Data Server

Page 5: Building Complex APS Applications using IBM ODME and IMPRESS

Industrial Modeling Frameworks

(IMF’s)

• Process industry business problems are

complex hence an IMF provides a pre-project

or pre-solution advantage (head-start).

• An IMF embeds intellectual-property and

know-how related to the process’s flowsheet

modeling as well as its problem-solving

methodology.

Page 6: Building Complex APS Applications using IBM ODME and IMPRESS

IMPRESS

• IMPRESS stands for “Industrial Modeling &

PRE-Solving System” and is our proprietary

platform for discrete and nonlinear modeling.

• IMPRESS can “interface”, “interact”,

“model” and “solve” any production-chain,

supply-chain, demand-chain and/or value-

chain optimization problem.

6

Page 7: Building Complex APS Applications using IBM ODME and IMPRESS

Jet Fuel Supply Chain IMF

Note: This flowsheet diagram was generated using GNOME Dia 0.97.2 and Python 2.3.5 with a custom UOPSS stencil.

Page 8: Building Complex APS Applications using IBM ODME and IMPRESS

Oil-Refinery Site

• Three crude-oils of varying compositions.

• A CDU (fractionator) with 8 compounds (macro-

cuts) with a charge of 20 Km3/day +/- 5% and 2

swing-cuts with 2 blenders.

• A VDU (fractionator) with 3 compounds and a

possible import of reduced crude-oil.

• Jet Fuels A and B are blended with sulfur

specifications of 0.125 & 0.250 wt%.

• Two dedicated tanks for Jet Fuel A and B of

size 16 Km3 each. 8

Page 9: Building Complex APS Applications using IBM ODME and IMPRESS

Rail-Road Site

• Two “unit” trains with 100 tankers holding 120

m3 each (12 Km3 ~ 72,000 Barrels).

• Train1 can haul either Jet A or B but not both

with travel or transit times of 4-days for both

trains.

• Train2 can haul both Jet A and B in equal

amounts.

• Partial loading of trains is allowed (> 90%).

• Only one train can load/unload at a time. 9

Page 10: Building Complex APS Applications using IBM ODME and IMPRESS

Airport Site

• Two dedicated tanks for Jet A and B of size 14

Km3 each with an unused swing (multi-product)

tank.

• Demand for Jet A is 3.0 +/- 5% Km3/day and for

Jet B is 2.5 +/- 5% Km3/day.

10

Page 11: Building Complex APS Applications using IBM ODME and IMPRESS

What are the Decisions & OBJ?

• Composition of crude-oils to the CDU.

• Recipes for Jet Fuel A and B blenders.

• Charge-size (throughput) of CDU.

• Swing-cut stream flows.

• Cargo-size and schedule (startups) of trains.

• Maximize the demand of Jet Fuel A and B.

11

Page 12: Building Complex APS Applications using IBM ODME and IMPRESS

Why is this problem complex?

• This is a MINLP problem involving quantity,

logic & quality “phenomenological” variables &

constraints i.e.,

– Closed-shop lot-sizing or inventory management

especially cargo-sizing of trains.

– Round-trip travel time of trains.

– Pooling with swing-cut blending of density and

sulfur properties (both volume & mass blending).

– And, uncertainty w.r.t. all of the parameter values.

12

Page 13: Building Complex APS Applications using IBM ODME and IMPRESS

How do we solve the problem?

• We perform a phenomenological decomposition

or “polylithic” (Kallrath, 2009) modeling:

– Solve a MILP logistics sub-problem (quantity*logic)

in succession with a NLP quality sub-problem

(quantity*quality).

– Logic variables are fixed in the NLP and quality

variables are proxyed using fixed yields (transfer-

coefficients, intensities, recipes, etc.) in the MILP.

13

Page 14: Building Complex APS Applications using IBM ODME and IMPRESS

How do we solve the problem?

14

Quality (NLP) Logistics (MILP)

Lower, Upper & Target Bounds on Yields

Lower & Upper Bounds on Setups & Startups

Conjunction Values

• This is a “primal heuristic” which has been used

intuitively and naturally in industry for decades

to find “globally feasible” solutions.

• “Conjunction Values” are time-varying

parameters which “guide” each sub-problem

solution where “cuts” can also be added to

avoid known infeasible and/or inferior areas of

the search-space.

Page 15: Building Complex APS Applications using IBM ODME and IMPRESS

Scenario Generation (Reactive)

• We explore three types of ad hoc scenarios:

– Demand Variability

– Tank Availability

– Train Reliability

• One “base-case” IML file required with 3 “delta-

case” incremental IML files for each scenario

which “over-loads” the parameters.

• Goal of each delta-case scenario is to maintain

“global feasibility” of logistics sub-problem given

disturbance/disruption. 15

Page 16: Building Complex APS Applications using IBM ODME and IMPRESS

ODME-IMPRESS-CPLEX

System Architecture

Page 17: Building Complex APS Applications using IBM ODME and IMPRESS

ODME-IMPRESS-CPLEX

System Architecture

• A domain-specific data model was created in

ODME using the usual master-data and

transactional-data partitions.

• A mapping between IMPRESS’ data model and

ODME’s data model was established.

• Java code was written to export IMPRESS’ IML

file (Industrial Modeling Language).

• SWIG Java was used to create a Java Native

Inerface (JNI) to IMPRESS.

Page 18: Building Complex APS Applications using IBM ODME and IMPRESS

ODME-IMPRESS-CPLEX

System Architecture

• Java code was written to call IMPRESS-CPLEX

using its API’s.

• Java code was written to access the solution(s)

from IMPRESS-CPLEX using its API’s and to

populate the ODME solution-data partition.

Page 19: Building Complex APS Applications using IBM ODME and IMPRESS

ODME Screen Shots

Page 20: Building Complex APS Applications using IBM ODME and IMPRESS

Data-Model in ODME

Page 21: Building Complex APS Applications using IBM ODME and IMPRESS

Master-Data

Page 22: Building Complex APS Applications using IBM ODME and IMPRESS

Transactional-Data

Page 23: Building Complex APS Applications using IBM ODME and IMPRESS

Gantt Chart for Reference (Base)

Page 24: Building Complex APS Applications using IBM ODME and IMPRESS

Trend Plots for Reference (Base)

Page 25: Building Complex APS Applications using IBM ODME and IMPRESS

Demand Variability Scenario Data w/

Reference in ()

Page 26: Building Complex APS Applications using IBM ODME and IMPRESS

Trend Plots for Demand Variability

Scenario w/ Reference

Page 27: Building Complex APS Applications using IBM ODME and IMPRESS

Benefits • Perfectly fit your business model and decision processes

• Sophisticated optimization capabilities able to tackle complex,

non-linear and large-scale problems

• A solution that can be quickly adapted to new production

processes

• A user-friendly GUI to help planners driving refinery operational

excellence and analyzing refinery behavior

• What-if scenario analysis for confident decision-making

• See all your data and options in one place with drill-downs and

graphics

• Collaborate with other planners

• Powered by IBM ILOG CPLEX Optimizers