SIMULIS THERMODYNAMICS

Similar documents
CAPE-OPEN and Simulis Thermodynamics enable you to use rigorous thermodynamics in MATLAB

SIMULIS THERMODYNAMICS, JUST ONE MORE THERMODYNAMIC PACKAGE?

New CAPE-OPEN capabilities

DEVELOPMENT OF A CAPE-OPEN 1.0 SOCKET. Introduction

Aspen Dr. Ziad Abuelrub

Slide 1. Reactions to COCO. Jasper van Baten, AmsterCHEM

Thermodynamic Models & Physical Properties

Slide 1. A look into the CAPE-OPEN kitchen of COCO. Jasper van Baten, AmsterCHEM

P1: IML/FFX P2: IML/FFX QC: IML/FFX T1: IML AT029-FM AT029-Manual AT029-Manual-v8.cls December 11, :59. Contents

SOFTWARE INTELIGENT PACKAGE FOR PHASE EQULIBRIA (PHEQ) IN SYSTEMS APPLIED IN CHEMISTRY AND CHEMICAL ENGINEERING

Rigorous calculation of LNG flow reliefs using the GERG-2004 equation of state

PETE 310 Lectures # 36 to 37

Reactor Design within Excel Enabled by Rigorous Physical Properties and an Advanced Numerical Computation Package

Adam G. Hawley Darin L. George. Southwest Research Institute 6220 Culebra Road San Antonio, TX 78238

CALCULATION OF THE COMPRESSIBILITY FACTOR AND FUGACITY IN OIL-GAS SYSTEMS USING CUBIC EQUATIONS OF STATE

Overall: 75 ECTS: 7.0

PVTpetro: A COMPUTATIONAL TOOL FOR ISOTHERM TWO- PHASE PT-FLASH CALCULATION IN OIL-GAS SYSTEMS

4.3 CONCLUSION: HOW TO CHOOSE A MODEL The right questions Ionic liquids What is the property of interest?

STEAMEST: A Software Tool for Estimation of Physical Properties of Water and Steam

When using a chemical process simulator, the most

"Energy Applications: Impact of Data and Models"

Development of a Thermodynamic Engine in OpenModelica

EOS Higher Oil School 2017/5/26

Enabling Advanced Problem Solving in Spreadsheets with Access to Physical Property Data

Course Name: Thermodynamics for Chemical Engineers

USE OF EQUATIONS OF STATE (EOS) SOFTWARE. Donald P. Mayeaux. President A+ Corporation, LLC Black Bayou Rd. Gonzales, LA USA

Predictive Equation of State

ChemSep Case Book: Handling Missing Components

PREDICTION OF PETROLEUM FRACTION ENTHALPIES FROM THE SECOND (ALPHA) MODIFICATION OF THE VAN DER WAALS EQUATION. Part 4. I. Review/Introduction

Thermophysical Properties of Ethane from Cubic Equations of State

AN INTRODUCTION TO ASPEN Plus AT CITY COLLEGE

2014 Software Global Client Conference

The Refined Electrolyte-NRTL Model applied to CO 2 -H 2 O-alkanolamine systems

Note: items marked with * you should be able to perform on a closed book exam. Chapter 10 Learning Objective Checklist

Status and results of group contribution methods

Thermodynamic Properties of Refrigerant R116 from Cubic Equations of State

ChBE BIBLE. Robert A. Pinnick. 28 April 2006

Ternary Maps for Liquid-Liquid Equilibrium Illustration with Aspen Plus V8.0

THE EFFECT OF THE THERMODYNAMIC MODEL AND PARAMETERS IN PROCESS MODELLING

Getting started with BatchReactor Example : Simulation of the Chlorotoluene chlorination

Fundamentals of Selection, Synthesis and Design of Thermal Separation Processes

DEVELOPING BINARY INTERACTION PARAMETERS FOR EQUATIONS OF STATE

e electrolyte-nrtl model electrolyte solutions activity coefficient models for Bromley extension

PVT Course for Oil and Gas Professionals

THE PROCESS SIMULATION COURSE THE CULMINATION OF CORE UNDERGRADUATE COURSEWORK IN CHEMICAL ENGINEERING

ISENTHALPIC THROTTLING (FREE EXPANSION) AND THE JOULE-THOMSON COEFFICIENT

Introduction to Chemical Engineering Computing, 2 nd edition, Bruce A. Finlayson, Wiley (2012)

A User-Friendly Software for Computations of Vapor Compression Cycles with Pure Fluids and Zeotropic Mixtures

THERMODYNAMIC BEHAVIOR OF HYDROGEN/NATURAL GAS MIXTURES

18 a 21 de novembro de 2014, Caldas Novas - Goiás THERMODYNAMIC MODELING OF VAPOR-LIQUID EQUILIBRIUM FOR PETROLEUM FLUIDS

Pressure Swing Distillation with Aspen Plus V8.0

Simulation of gas sweetening process using new formulated amine solutions by developed package and HYSYS

CONTENTS. Notes to Students Acknowledgments ABOUT THE AUTHORS UNIT I FIRST AND SECOND LAWS 1

Equations of State. Equations of State (EoS)

Peng-Robinson Equation of State Predictions for Gas Condensate Before and After Lumping

Historical Perspective on Numerical Problem Solving

Flash Point Calculation by UNIFAC

Temperature Prediction for High Pressure High Temperature Condensate Gas Flow Through Chokes

Index to Tables in SI Units

Chemical and Engineering Thermodynamics

PRO/II PROCESS ENGINEERING: COMPREHENSIVE PROCESS SIMULATION

Basic Concepts in Distillation

Vapor liquid equilibria of carbon dioxide with diethyl oxalate, ethyl laurate, and dibutyl phthalate binary mixtures at elevated pressures

AN INVESTIGATION OF TEMPERATURE CORRECTION FACTORS OF LIGHT HYDROCARBON FUELS

Problem Solving Using CAPE-OPEN Software: Residue Curves Case Study

THE BEST EQUATION OF STATE AND CORRELATION DENSITY AND VISCOSITY

MODELING OF PHASE EQUILIBRIA FOR BINARY AND TERNARY MIXTURES OF CARBON DIOXIDE, HYDROGEN AND METHANOL

Integrated Knowledge Based System for Process Synthesis

Aspen Plus. Getting Started Modeling Processes with Electrolytes

A Generalized Correlation for Pool Boiling Heat Transfer Coefficient Based on Corresponding State Rule for Pure Compounds and Binary Mixtures

Chemical engineers use process

New correlation for hydrogen-natural gas mixture compressibility factor

VLXE Blend: Polymers

EXTENDED SMOKER S EQUATION FOR CALCULATING NUMBER OF STAGES IN DISTILLATION

Ammonia Synthesis with Aspen Plus V8.0

Les propriétés d'équilibre entre phases et masses volumiques

PREDICTION OF VAPOR PRESSURES AND MIXTURE VLE FROM A SECOND MODIFICATION OF THE VAN DER WAALS EQUATION. Part 3

Predictive Equation of State

2014 Software Global Client Conference

The Importance of Understanding Thermophysical Properties Data and. Dr Norman Glen Consultant 2 September 2014

A generalized set of correlations for plus fraction characterization

Name: Discussion Section:

SS TSS-03 Important Thermodynamic Considerations for Predicting Pure Component Properties

The Rachford-Rice Contest

,, Seong-Bo Kim,Hai-SongBae, and Jeong-Sik Han

DISTILLATION. Keywords: Phase Equilibrium, Isothermal Flash, Adiabatic Flash, Batch Distillation

Yutaek Seo. Subsea Engineering

Name: Discussion Section:

Preliminary Evaluation of the SPUNG Equation of State for Modelling the Thermodynamic Properties of CO 2 Water Mixtures

Name: Discussion Section:

Stoichiometric Reactor Simulation Robert P. Hesketh and Concetta LaMarca Chemical Engineering, Rowan University (Revised 4/8/09)

12. Petroleum Calculations

Solubility of solids in supercritical fluids using equations of state - excess Gibbs free energy models.

PREDICTION OF SATURATED LIQUID VOLUMES FROM A MODIFIED VAN DER WAALS EQUATION. By Charles R. Koppany

!"#$ Reservoir Fluid Properties. State of the Art and Outlook for Future Development. Dr. Muhammad Al-Marhoun

Comparison of distillation arrangement for the recovery process of dimethyl sulfoxide

Distillation. Sep-tek. Ch.11 (continued) Distillation (Multistage with reflux) Sigurd Skogestad. Separation of liquid mixtures by repeated evaporation

Chapter 10. Vapor/Liquid Equilibrium: Introduction

CAPE-OPEN Delivering the power of component software and open standard interfaces in Computer-Aided Process Engineering

Pure Component Equations

Transcription:

2007 AIChE Annual Meeting Salt Lake City, Utah #459e CAPE-OPEN Thermodynamic & Physical Properties Interface (TD002) SIMULIS THERMODYNAMICS A CAPE-OPEN COMPLIANT FRAMEWORK FOR USERS AND DEVELOPERS Olivier Baudouin, Alain Vacher, Stéphane Déchelotte ProSim SA Stratège Bâtiment A BP 27210 F-31672 LABEGE Cedex France E-mail: info@prosim.net Web: www.prosim.net

OUTLINE Simulis Thermodynamics overview Its different levels of use Within Microsoft EXCEL Integrated in other codes As a framework to develop new thermodynamic models or to welcome existing ones Concluding remarks

SIMULIS THERMODYNAMICS Software component for computing thermophysical properties and phase equilibria on pure components or mixtures in Microsoft Excel, Matlab or other applications

THERMO-PHYSICAL PROPERTIES SUPPORTED Transport properties Isobaric specific heat (Cp) Dynamic viscosity Thermal conductivity Density Molar Volume Molar density Surface tension Molecular weight Compressibility properties Compressibility factor Gamma (Cp/Cv ratio) Sound speed Thermodynamic properties Enthalpy (H) Entropy (S) Internal energy (U) Isochoric specific heat (Cv) Enthalpy of vaporization Non-ideal properties Activity coefficients Fugacity coefficients and Fugacity Ln of fugacity coefficients Derivatives of the properties with respect to temperature, pressure and number of moles are also provided

FLASHES SUPPORTED Liquid-Vapor equilibria Bubble and dew temperatures and pressures Flash at given temperature (T) and pressure (P) Flash at given vaporization ratio (ω) and P (or T) Flash at given enthalpy (H) and P (or T, or V, or U) Flash at given entropy (S) and P (or T, or V, or H, or U) Flash at given internal energy (U) and P (or T, or V) Flash at given volume (V) and P (or T) T P ω V H S U T P ω V H S U Liquid-Liquid equilibria Flash at given temperature and pressure Liquid-Liquid-Vapor equilibria Bubble temperature Flash at given enthalpy and pressure Flash at given temperature and pressure Flash at given vaporization ratio and pressure

PURE COMPONENT PROPERTIES Supplied with a database of over 2 000 components including AIChE's DIPPR database New components can be added and properties modified Estimation methods are included A regression of experimental data tool is provided Existing in-house property databases can be included All the properties of pure components can be accessed, modified, plotted,

Equations of State Soave-Redlich-Kwong (SRK) Peng-Robinson (PR) Lee-Kesler-Plöcker (LKP) A WIDE SET OF THERMODYNAMIC MODELS Benedict-Webb-Rubin modified Starling (BWRS) Nakamura etc Activity coefficients models NRTL UNIQUAC UNIFAC (Larsen, Dortmund, ) Wilson etc BIP databases included New methods are continuously implemented to cover a wide field of applications: oil & gas, fine chemicals, etc Combined approach models MHV2 MHV1 PSRK etc Specific systems Pure Water (NBS/NRC steam tables - IAPS,1984) Amines Sour-Water etc Electrolytes Edwards UNIQUAC electrolyte ULPDHS etc

EXAMPLE OF CALCULATION PERFORMED WITH SIMULIS THERMODYNAMICS Phase envelope and hydrate line of a natural gas mixture with PR EOS Pressure (psi) 2200 2000 Tc=222.876 Pc=1 871.646 1800 1600 1400 1200 1000 800 600 Temp.=60.000 Pres.=600.000 400 200 0-300 -200-100 0 100 200 300 Temperature ( F)

A FULL SET OF SERVICES AVAILABLE Data regression of pure components experimental properties Graphical display of properties on temperature, pressure or composition ranges Generation and export of property tables (PSF files to HTFS, PVT files to OLGA ) Estimation of pure component properties Link with DPP Calculation of petroleum fractions properties Unit conversions etc All these services become automatically available in any software embedding Simulis Thermodynamics

OUTLINE Simulis Thermodynamics overview Its different levels of use Within Microsoft EXCEL Integrated in other codes As a framework to develop new thermodynamic models or to welcome existing ones Concluding remarks

WITHIN MICROSOFT EXCEL Thermodynamic functions are added to Microsoft Excel and used in spreadsheets as native Excel functions to perform more or less complex engineering calculations but with rigorous thermodynamics

EXAMPLE OF A MCCABE & THIELE METHOD FOR BINARY DISTILLATION IN EXCEL

OUTLINE Simulis Thermodynamics overview Its different levels of use Within Microsoft EXCEL Integrated in other codes As a framework to develop new thermodynamic models or to welcome existing ones Concluding remarks

SEAMLESS INTEGRATION IN ANY CODE Thanks to its component based architecture, Simulis Thermodynamics can be easily embedded in any application that supports the COM/DCOM technology: Visual Basic or VBA (Microsoft Excel) MATLAB C++ Delphi FORTRAN C# etc However, the interface between the embedding application and Simulis Thermodynamics must be coded

CO THERMODYNAMIC SOCKET Ability to use an external thermodynamic model (CAPE-OPEN "Property Package") Successfully tested with Multiflash (Infochem) PPDS (TUV-NEL) Aspen Properties (AspenTech) www.colan.org Implementation Thermo 1.0 Thermo 1.1 (Nov. 2007) COM Thermo (AspenTech) IVCSEPThermoSystem (IVC-SEP) COCO TEA (AmsterCHEM), etc External software able to generate CO packages (Aspen Properties, Multiflash, PPDS, ) External CAPE-OPEN Property Package Simulis Thermodynamics Client Software MS-Excel ProSimPlus, MATLAB, etc If required, a third party thermo package can be used within any application embedding Simulis Thermodynamics

CO THERMODYNAMIC PLUG Ability to generate CAPE-OPEN "Property Packages" to be used within compliant modeling tools Implementation Thermo 1.0 Thermo 1.1 (Nov. 2007) Client Software Microsoft Excel ProSimPlus, MATLAB, etc Simulis Thermodynamics Successfully tested in Aspen Plus (2004 and v12.1) Aspen Hysys (2004 and v3.2) PRO/II (v7.1) gproms Xist (HTRI) UNISIM Design etc CO Property Package generated by Simulis Thermodynamics www.colan.org Modeling tool implementing CO Thermo Socket (AspenPlus, HTRI, ProSimPlus, etc) The thermo of ProSim can be used in software without satisfactory thermo routines A thermo expert can prepare with Simulis Thermodynamics the model for a complex system, and provide it to its colleagues for further "safe" use in their traditional simulation tool (AspenPlus, ProSimPlus, )

IMPLEMENTS THE STANDARDIZED CAPE-OPEN INTERFACES www.colan.org Any application that embeds Simulis Thermodynamics automatically inherits from its CAPE-OPEN standard compliance Seamless integration of Simulis Thermodynamics in many codes is allowed

INTEGRATION IN PROSIMPLUS Thermodynamics Chemical Reactions Unit Operations Numerical Methods GUI Conventional simulator Monolithic program (generally divided into several source files and DLLs) ProSimPlus Thermodynamic calculations are performed within a component (Simulis Thermodynamics) This component implements CAPE-OPEN interfaces (Plug & Socket) ProSimPlus also implements CO Unit Socket Thermodynamics Simulis Thermodynamics Unit Operations Chemical Reactions GUI Numerical Methods

OUTLINE Simulis Thermodynamics overview Its different levels of use Within Microsoft EXCEL Integrated in other codes As a framework to develop new thermodynamic models or to welcome existing ones Concluding remarks

THE "EXPERT MODE" For users who want: to develop their own new thermodynamic models or to integrate in Simulis Thermodynamics exiting models taking advantage of Simulis Thermodynamics environment (pure components properties, unit conversions and management, ) in view to use these developments in other applications (commercial software, Excel, legacy codes, ) Two possibilities are offered: 1. VBScript models 2. External DLL models

VBSCRIPT MODELS Code is directly entered in Simulis Thermodynamics A skeleton is provided Many available functions Function parameters must satisfy a predefined syntax (name, type)

EXTERNAL DLL MODELS An external DLL is plugged User parameters are supported Many available functions Function parameters must satisfy a predefined syntax (name, type)

VBSCRIPT MODELS VS DLL MODELS VBScript models: Interpreted language not very efficient Useful for prototyping or simple functions (Cp, ) Can be a first step DLL models: Can be built using any language (FORTRAN, C++, ) Allows re-use of existing codes (with some modifications) More efficient In both cases access to pure component properties, units management,

THE "EXPERT MODE" VBScript, external DLL and native models can be mixed (each one computing a different property) Priorities must be given Native models will be used except when a VBScript model or a DLL model is available

THE "EXPERT MODE" Combination of VBScript, external DLL and native models is supported User DLL for calculation of H and Cp H (Cp) Cp H (Cp) Native DLL for calculation of H and Cp H (Cp) Cp H (Cp) However, no "true re-entrance" between different modes

THE "EXPERT MODE" Both VBScript and external DLL models can be used in CAPE-OPEN thermodynamic packages built with Simulis Thermodynamics "Expert Mode" of Simulis Thermodynamics vs CAPE- OPEN Thermo Wizard Easy configuration (access to standard pure components databases, ) Predefined access to pure components properties User-friendly existing GUIs to access parameters Full rewriting is not required (possibility to mix with native existing models)

CONCLUDING REMARKS Simulis Thermodynamics allows several levels of use Within Microsoft Excel to perform more or less complex engineering calculations Embedded in other applications taking advantage of the CAPE-OPEN standard interfaces implemented (plug & socket) As a framework to welcome existing thermodynamic models or to develop new ones in view to use them in other applications ("Expert Mode")

CONCLUDING REMARKS These levels of use can coexist in the same organization allowing: Minimization of learning time Consistency of data & results between several applications Reusability of available expertise Permanence of internal knowledge The "Expert Mode" of Simulis Thermodynamics can be an alternative to CO Thermo Wizard in order to make thermo legacy codes CAPE-OPEN compliant No knowledge of CAPE OPEN technology required Reduced development time

2007 AIChE Annual Meeting Salt Lake City, Utah #459e CAPE-OPEN Thermodynamic & Physical Properties Interface (TD002) SIMULIS THERMODYNAMICS A CAPE-OPEN COMPLIANT FRAMEWORK FOR USERS AND DEVELOPERS Olivier Baudouin, Alain Vacher, Stéphane Déchelotte ProSim SA Stratège Bâtiment A BP 27210 F-31672 LABEGE Cedex France E-mail: info@prosim.net Web: www.prosim.net