ICape Thermo Property Routine Interface
Definition
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[ComImportAttribute]
[GuidAttribute("678C0A9F-7D66-11D2-A67D-00105A42887F")]
[ComVisibleAttribute(false)]
public interface ICapeThermoPropertyRoutine<ComImportAttribute>
<GuidAttribute("678C0A9F-7D66-11D2-A67D-00105A42887F")>
<ComVisibleAttribute(false)>
Public Interface ICapeThermoPropertyRoutineRemarks
Any Component or object that can calculate a Physical Property must implement the ICapeThermoPropertyRoutine interface. Within the scope of this specification this means that it must be implemented by Calculation Routine components, Property Package components and Material Object implementations that will be passed to clients which may need to perform Property Calculations, such as Unit Operations [2] and Reaction Package components [3].
When the ICapeThermoPropertyRoutine interface is implemented by a Material Object, it is expected that the actual Calculate, Check and Get functions will be delegated either to proprietary methods within a PME or to methods in an associated CAPE-OPEN Property Package or Calculation Routine component.
Methods
| CalcAndGetLnPhi | This method is used to calculate the natural logarithm of the fugacity coefficients (and optionally their derivatives) in a single Phase mixture. The values of temperature, pressure and composition are specified in the argument list and the results are also returned through the argument list. |
| CalcSinglePhaseProp | CalcSinglePhaseProp is used to calculate properties and property derivatives of a mixture in a single Phase at the current values of temperature, pressure and composition set in the Material Object. CalcSinglePhaseProp does not perform phase Equilibrium Calculations. |
| CalcTwoPhaseProp | CalcTwoPhaseProp is used to calculate mixture properties and property derivatives that depend on two Phases at the current values of temperature, pressure and composition set in the Material Object. It does not perform Equilibrium Calculations. |
| CheckSinglePhasePropSpec | Checks whether it is possible to calculate a property with the CalcSinglePhaseProp method for a given Phase. |
| CheckTwoPhasePropSpec | Checks whether it is possible to calculate a property with the CalcTwoPhaseProp method for a given set of Phases. |
| GetSinglePhasePropList | Returns the list of supported non-constant single-phase Physical Properties. |
| GetTwoPhasePropList | Returns the list of supported non-constant two-phase properties. |