CAPE-OPEN in CHEMCAD - CO-LaN
CAPE-OPEN in CHEMCAD - CO-LaN
CAPE-OPEN in CHEMCAD - CO-LaN
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Innovation. Integration. Open Architecture.<br />
<strong>CAPE</strong>-<strong>OPEN</strong> <strong>in</strong> <strong>CHEMCAD</strong><br />
AIChE 2007 Annual Meet<strong>in</strong>g<br />
Yim<strong>in</strong> Peng and Neil H. Gray<br />
Chemstations, Inc.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Introduction to <strong>CHEMCAD</strong><br />
• <strong>CHEMCAD</strong> is an <strong>in</strong>tegrated process<br />
simulation software (native thermodynamic<br />
and property models, component data<br />
base, UnitOp’s, equipment siz<strong>in</strong>g, and<br />
more).<br />
• <strong>CHEMCAD</strong> is an open simulation<br />
environment (OPC, VBA, EXCEL, User<br />
added c module)<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
<strong>CAPE</strong>-<strong>OPEN</strong> (<strong>CO</strong>) Projects <strong>in</strong> <strong>CHEMCAD</strong><br />
• <strong>CO</strong> Thermo Property Socket: Complete<br />
• <strong>CO</strong> Thermo Property Package Generator: In<br />
Progress<br />
• <strong>CO</strong> Unit Operation Sockets: In Progress<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
<strong>CO</strong> Thermo Property Socket<br />
• Introduction<br />
• Us<strong>in</strong>g Third party <strong>CO</strong> Thermo Property Package<br />
• Equilibrium and property rout<strong>in</strong>es supported<br />
• Translation between the socket and a third party<br />
<strong>CO</strong> thermo property package<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Introduction to the socket<br />
• The <strong>CO</strong> thermo property socket <strong>in</strong> <strong>CHEMCAD</strong><br />
accepts a third party thermodynamics and<br />
physical property package which is <strong>CO</strong><br />
compliant.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
<strong>CAPE</strong>-<strong>OPEN</strong> <strong>in</strong> action<br />
<strong>CHEMCAD</strong><br />
Data Flow<br />
<strong>CHEMCAD</strong><br />
Material<br />
Object<br />
3rd Party<br />
<strong>CO</strong> Thermo<br />
Property Package<br />
•All components talk with each other through <strong>CAPE</strong>-<strong>OPEN</strong> <strong>in</strong>terface.<br />
•<strong>CHEMCAD</strong> creates and sets Material Objects to represent each stream.<br />
•<strong>CHEMCAD</strong> then directs the property package to calculate properties of these<br />
material objects, and transfer the results to the material objects.<br />
•<strong>CHEMCAD</strong> gets the results from the material object.<br />
•The outcome is properties calculated by external programs are sent directly<br />
<strong>in</strong>to <strong>CHEMCAD</strong><br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Benefit of us<strong>in</strong>g the socket<br />
• A wide range of data and models are<br />
available from a variety of sources.<br />
• Customers may want to use some of these<br />
thermodynamic and property packages<br />
with<strong>in</strong> <strong>CHEMCAD</strong>. An example is PPDS.<br />
• Match<strong>in</strong>g a simulation from one simulator<br />
to another.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Us<strong>in</strong>g Third party <strong>CO</strong> Thermo Property Package<br />
• Create a simulation <strong>in</strong> <strong>CHEMCAD</strong><br />
• Import a package<br />
• Select options to use the package<br />
• Run simulation<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Import a <strong>CO</strong> package<br />
Innovation. Integration. Open Architecture.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
<strong>CHEMCAD</strong> f<strong>in</strong>ds all <strong>CO</strong> packages automatically and list them here.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
The PPDS <strong>CO</strong> ThermoSystem has three packages.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Details of the <strong>CO</strong> package<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Choose <strong>CO</strong> equilibrium rout<strong>in</strong>es<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
The <strong>CO</strong> package is listed and can be selected.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
The thermo model <strong>in</strong>dicator.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
You are ready to run the<br />
simulation with the equilibrium<br />
rout<strong>in</strong>es <strong>in</strong> the <strong>CO</strong> package.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
View history of call<strong>in</strong>g <strong>CO</strong> package<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
An example of history log<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
<strong>CO</strong> equilibrium and property rout<strong>in</strong>es<br />
supported <strong>in</strong> <strong>CHEMCAD</strong><br />
• Equilibrium rout<strong>in</strong>es<br />
TP-flash<br />
PH-flash<br />
TH-flash<br />
PVF-flash<br />
TVF-flash<br />
TS-flash<br />
PS-flash<br />
• Property rout<strong>in</strong>es<br />
Liquid density<br />
Vapor thermal conductivity<br />
Liquid thermal conductivity<br />
Vapor viscosity<br />
Liquid viscosity<br />
Surface tension<br />
Vapor enthalpy<br />
Liquid enthalpy<br />
Fugacity coefficients<br />
Log-fugacity coefficients<br />
K-values<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Translation Between <strong>CHEMCAD</strong> and Other<br />
Thermo Property Package<br />
• When call<strong>in</strong>g k-values rout<strong>in</strong>e, <strong>CHEMCAD</strong> automatically f<strong>in</strong>ds and<br />
uses the first available <strong>CO</strong> thermo property rout<strong>in</strong>es <strong>in</strong> the follow<strong>in</strong>g<br />
order.<br />
K-values > log-fugacity coefficients > fugacity coefficients<br />
• Some UnitOp’s use both flash & K-values rout<strong>in</strong>e <strong>in</strong> a s<strong>in</strong>gle<br />
simulation. For consistent overall results, any third party package<br />
must publish either K-value or fugacity coefficient rout<strong>in</strong>e as well as<br />
the flash rout<strong>in</strong>e.<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com
Innovation. Integration. Open Architecture.<br />
Acknowlegements<br />
• PPDS, TUV NEL Ltd<br />
Mr. Alan Scott and Dr. Andy I. John<br />
• <strong>CAPE</strong>-<strong>OPEN</strong> Laboratories Network<br />
Mr. Michel Pons<br />
Integrity. Best-<strong>in</strong>-class Support.<br />
Houston, TX USA :: 713 978 7700 :: http://www.chemstations.com