Professional Documents
Culture Documents
5 OCTOBER 2004
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
DISCLAIMER
This document and the information contained within it is the copyright of Infochem Computer Services Ltd. While every effort has been made to ensure that the information contained in this document is correct and that the software and data to which it relates are free from errors, no guarantee is given or implied as to their correctness or accuracy. Neither Infochem Computer Services Ltd nor any of its employees, contractors or agents shall be liable for direct, indirect or consequential losses, damages, costs, expenses, claims or fee of any kind resulting from any deficiency, defect or error in this document, the software or the data.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
CONTENTS
INTRODUCTION
System requirements
2
2
INSTALLATION
Support Files Environment Variables Technical support
3
3 3 4
5 8
8 8 9 9 10
11
11 14 18
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
INTRODUCTION
The CAPE-OPEN (CO) project has established a set of open interface specifications for process modelling software components. The CAPE-OPEN Laboratories Network (CO-LaN) disseminates information and maintains and develops the interface standards. For further information and the latest versions of all CO documents see the website at www.colan.org . The Multiflash CO components support version 1.0 of the Thermodynamics and Physical Properties specification. They are implemented as Windows COM objects. The Thermo System (TS) component provides a means of selecting a Multiflash CO Property Package component. A CO Property Package (PP) consists of a fixed set of chemical species and a set of methods for evaluating the physical properties of the pure chemicals and mixtures in one or more phases. A Multiflash PP is configured using the Multiflash Windows GUI that provides an interactive environment for selecting the chemicals, models and phases in the PP. Once a PP has been configured it can be exported and will then be available through the Thermo System.
SYSTEM REQUIREMENTS
Operating System: Microsoft Windows XP, 2000, NT4, ME, 98 or 95. A Pentium-class processor. The Multiflash Windows GUI and dll must be installed. The CO components must be licensed they are an additional option for Multiflash. A port driver and license server are required to interact with the licensing system.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
INSTALLATION
The CAPE-OPEN interface is an option in the Custom installation for Multiflash. Run the installation program from the Multiflash CD ROM. Selecting the CO installation will install and register the Multiflash Property Package and Thermo System COM components and the CO type library. Further information about the installation is given in the Installation Guide for Multiflash for Windows or the User Guide for Multiflash for Windows.
SUPPORT FILES
Support files for users of the CO components are supplied on the CD ROM in the \API\CO directory branch. Manual directory MFCO34.pdf MFCO directory MFCOPPack.dll MFCOThermoSys.dll C3C5.mfl HDA.mfl Specification directory ThermoSpec.pdf CAPE-OPENv1-0-0.tlb GLOBAL CO version 1.0 thermodynamics and physical properties specification. COM type library file for CO interfaces version 1.0. the Property Package component. the Thermo System component. sample PP configuration file (propane/pentane with PR EOS). sample PP configuration file (HDA process). this document (Adobe Acrobat PDF format).
ENVIRONMENT VARIABLES
In addition to the environment variables that are set in a standard Multiflash installation the variables described in the following table are specific to the CO modules. For information on how to set environment variables see the Installation Guide for Multiflash for Windows. environment variable name MF_CODIR usage Should be set to the directory where CO configuration files are stored. Used by the TS to provide a list of available PPs. If not set the MF34USR environment variable is used instead for this purpose. Not normally used. If the PP is not instantiated by the TS the file name in this variable is used to configure the PP.
MF_COFILE
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
TECHNICAL SUPPORT
Contact details If you need further assistance contact us at: Infochem Computer Services Ltd. 13 Swan Court 9 Tanner Street London SE1 3LE UK Telephone: Fax: email: +44 (0)20 7357 0800 +44 (0)20 7407 3927 support@infochemuk.com
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
Once the CO PP information has been defined it is advisable to test the setup by carrying out some calculations. To do this you will also need to enter a composition and specify conditions such as temperature and pressure. Multiflash allows you to work in a wide range of units but the choice of units in the GUI does not affect how the PP behaves when used by another application.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
This displays a form that allows the package to be given a name and a description
The package name and description are optional, if no name is entered the file name used to save the PP is used as the package name.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
A Multiflash CO PP is simply a text file that describes the compounds, models etc. using the Multiflash command language. This is the same format as is used to record the Multiflash problem setup when using the Multiflash GUI or Multiflash Excel interface. The files can therefore be loaded into the GUI (using the File/Load problem Setup menu item) and changed as necessary. There is normally no need for users to understand the Multiflash command language however it is defined in the Multiflash Command Reference manual.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
SUPPORTED FEATURES
The calculations, properties and phases supported by a Multiflash Property Package depend on the configuration chosen and also on the information stored for compounds in the selected databanks. The following lists assume that a complete set of models has been selected and that there is no missing information for pure compounds. The identifiers listed below are defined in the CO standard document.
CONSTANT PROPERTIES
iupacName casRegistryNumber chemicalFormula structureFormula molecularWeight criticalTemperature criticalPressure criticalVolume criticalCompressibilityFactor criticalDensity acentricFactor dipoleMoment parachor gyrationRadius associationParameter vanderwaalsVolume vanderwaalsArea normalBoilingPoint normalFreezingPoint heatOfFusionAtNormalFreezingPoint liquidDensityAt25C liquidVolumeAt25C idealGasGibbsFreeEnergyOfFormationAt25C idealGasEnthalpyOfFormationAt25C parachor refractiveIndex solubilityParameter specificGravity standardFormationEnthalpyGas standardEntropyGas
NON-CONSTANT PROPERTIES
molecularWeight FugacityCoefficient logFugacityCoefficient FugacityCoefficient.Dtemperature logFugacityCoefficient.Dtemperature FugacityCoefficient.Dpressure logFugacityCoefficient.Dpressure kvalues volume volume.Dtemperature volume.Dpressure volume.Dmoles density compressibilityFactor enthalpy enthalpy.Dtemperature enthalpy.Dpressure enthalpy.Dmoles entropy entropy.Dtemperature
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
entropy.Dpressure entropy.Dmoles internalEnergy internalEnergy.Dtemperature internalEnergy.Dpressure internalEnergy.Dmoles heatCapacity heatCapacityCV SpeedOfSound Viscosity ThermalConductivity SurfaceTension
PHASES
Multiflash can support any number and any types of phase but the following restricted list is imposed by the CO standard. Overall Vapor Liquid Liquid2 VaporLiquid
FLASH TYPES
The CO standard types are: TP PH TH TVF PVF fixed temperature and pressure fixed pressure and enthalpy fixed temperature and enthalpy fixed temperature and vapour fraction fixed pressure and vapour fraction
In addition the following (non-standard CO) flash types are supported. PT PS TS HS UV SV PV TV fixed temperature and pressure (synonym for TP) fixed pressure and entropy fixed temperature and entropy fixed enthalpy and entropy fixed internal energy and volume fixed entropy and volume fixed pressure and volume fixed temperature and volume
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
LIMITATIONS
There is a practical limit on the number of Multiflash PPs that can be created by a single application. This is because a single instance of the Multiflash dll is used to support all instances of the CO PP created by a given process. Storage in the Multiflash dll is static and therefore there is a limit to the total number of compounds, models and phases that can be created.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
10
ASPEN PLUS
The following section shows how a Multiflash Property Package is selected in the AspenTech Aspen Plus process simulator (version 12.1). Create a new flowsheet or open an existing simulation. The Tools menu allows you to import a CP Property Package
Click on the [+] symbol by the Multiflash CO Themo System to display the list of available property packages. The package names correspond to the Multiflash .mfl configuration files saved by the Multiflash GUI.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
11
To view the compounds and properties supported by a package click on the name and then on the Package Details button.
To select a package click on the name and then OK in the Available Property Packages window. To complete the package setup you must define a default Aspen property method that will be used to calculate any properties not supported by the CO package. This is done using the Data menu and selecting Properties and then the CO package (CP1 in the next screenshot)
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
12
The drop-down list can be used to choose the default package. Depending on your choice you may need to set up additional information such as interaction parameters for the default package. The Specifications item under Properties can then be used to make the CO Property Package the Global property method for the simulation.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
13
HYSYS
The following description applies to the AspenTech Hysys process simulator (version 3.2) with the Version 1.6 of the AES CO Kit. Creating a new simulation case in Hysys will display the Basis Environment that allows either a standard Hysys package or a CO Property package to be selected. Select the Fluid Pkgs tab and click on Add. Check the COMThermo box in the Advanced Thermodynamics frame
Select CAPE-OPEN 1.0 in the Model Selection list and then in the Model Phase frame click the Liquid button and again select CAPE-OPEN 1.0. A list of CO Thermo Systems and stand-alone Property Packages is now displayed.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
14
A Multiflash CO PP is normally accessed through the Multiflash Thermo System that provides a list of available Property Packages. To select a package such as HDA highlight the name and click Accept. It is necessary to click the Extended PropPkg Setup button and then Finish Setup which shows some information about the package. The General tab just shows the package name
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
The Properties tab lists the properties that the package can calculate, the phases supported and the flash types available
The About tab gives information about the CO socket and allows the user to choose how errors are handled.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
16
will return to the Simulation Basis Manager. A Multiflash CO Property Package can be used with the Hysys flash or with the Multiflash phase equilibrium routines via the Cape-Open interface. The Multiflash flash works more efficiently with the Multiflash property package but you should note that it may return more phases (or types of phases) than Hysys or other simulators can deal with. To use the Multiflash flash select the CAPE-OPEN Flash from the dialog
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
17
and click on the Extended Flash Setup button and then on Finish Setup
The Basis that contains the CO Property Package can then be associated with the whole flowsheet or a sub-flowsheet in the Hysys simulation.
PRO/II
The following example shows how a Multiflash Property Package is selected in the PRO/II version 7.0 process simulator from SimSci-Esscor. Open an existing simulation or create a flowsheet. Click on the Thermodynamic Data toolbar button
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
18
The Thermodynamic Data window is displayed. Scroll down the Category list and click on CAPE-OPEN.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
19
The Select Property Package window is displayed and clicking on the [+] symbols will show the list of available Thermo Systems and Property packages. Select the required package and click OK.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
20
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
21
You can make the CAPE-OPEN package the default system for the simulation or, alternatively, it can be selected for parts of the flowsheet.
www.cadfamily.com EMail:cadserv21@hotmail.com The document is for study only,if tort to your rights,please inform us,we will delete
22