24
Modeling multicomponent distillation with Open Source and CAPE OPEN Modeling Multicomponent Distillation with Open Source and CAPE-OPEN CAPE OPEN Annual Meeting Lyon, 2013 Gustavo León a,b / César Pernalete b a Universidad de Los Andes (ULA) b PDVSA Intevep

Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

  • Upload
    vodan

  • View
    258

  • Download
    10

Embed Size (px)

Citation preview

Page 1: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Modeling Multicomponent Distillation with Open Source and CAPE-OPEN

CAPE OPEN Annual MeetingLyon, 2013

Gustavo León a,b / César Pernalete b

a Universidad de Los Andes (ULA)b PDVSA Intevep

Page 2: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

DWSIM, main features

Methodology applied

Cases of study

Results

Conclusions

Page 3: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Compliant with open standards CAPE-OPEN

GPL v3 Licensing

DWSIM, general overview ...offers freedom for:

Using Distribution Source code access Modification

...is able to communicate with:

Commercial or non-commercial simulators In house models Another open source simulator

Page 4: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Code and architecture analysis Mathematical model and algorithms study

Source code modificationsVerification

Methodology applied

Valid?ValidationYes

No

Page 5: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Translator

Main componentThermodynamicsUnit OperationsProperties calculation

Graphical User Interface

(GUI)

Simulator Executive Serialization Module

General architecture

Page 6: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Object Oriented Architecture

Simulation ObjectsEnergy and material streams

UO Simulation Objects

Thermodynamic property packages

Simulator Executive

Page 7: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Object Oriented Architecture

Simulation ObjectsEnergy and material streams

UO Simulation Objects

Thermodynamic property packages

Simulator Executive

Page 8: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Simulator Executive

Classes and methods were identified

Page 9: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Rigurous methodologies

Simulator Executive

Classes and methods were identified

Page 10: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Equilibrium Stage Model

A column is the combination of different stages.

The column model

Page 11: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Model built using the MESH equations

Non-linear relationships

Equations must be solved using numerical algorithms.

The Inside-Out method proposed by Russell (1983) was considered.

The column model

Page 12: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Contact with the main developer of DWSIM

Discussions in developing forums.

http://sourceforge.net/p/dwsim/discussionDaniel Wagner

Source code modifications

Gustavo León

César Pernalete

Page 13: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Code Control using github

+

Source code modifications

Page 14: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Verification

Open literature case

Real operational case

Light hydrocarbons columns

Aromatic separation columnFCC Depropanizer column

Cases of study

Validation

Page 15: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Verification

Cases of study

From Methane to Octane + Benzene + Toluene

Page 16: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Verification

Cases of study

Page 17: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Verification

Cases of study

Page 18: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Verification

●Case N°6

Cases of study

Page 19: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Validation

Cases of study

Aromatics separator

Page 20: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Validation

Cases of study

Aromatics separator. Scenario #1

Page 21: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Validation

Aromatics separator. Scenario #2

Cases of study

Page 22: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Validation

FCC Depropanizer

Cases of study

Page 23: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

Validation

Depropanizer

Cases of study TEA

Page 24: Modeling Multicomponent Distillation with Open Source · PDF fileModeling multicomponent distillation with Open Source and CAPE OPEN Compliant with open standards CAPE-OPEN GPL v3

Modeling multicomponent distillation with Open Source and CAPE OPEN

✔All the elements that integrates DWSIM were identified.

✔DWSIM was adapted sucessfully to simulate distillation columns in a PDVSA Refinery.

✔Predictions were in good agreement with operational data.

✔CAPE-OPEN allowed using an external thermodynamic when problems occurred in the native ELV calculations.

✔DWSIM modifications were carried out colaborating through the open source community social networks.

Conclusions