ICape Thermo Equilibrium ServerCalc Equilibrium Method
Calculate some equilibrium values
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[DispIdAttribute(1)]
void CalcEquilibrium(
Object materialObject,
string flashType,
Object props
)VB
<DispIdAttribute(1)>
Sub CalcEquilibrium (
materialObject As Object,
flashType As String,
props As Object
)Parameters
Remarks
Calculates the equilibrium properties requested. It must set the amounts, compositions, temperature
and pressure for all phases present at equilibrium, as well as the temperature and pressure for the
overall mixture, if not set as part of the calculation specifications. See CalcProp and
CalcEquilibrium for more information.
Exceptions
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |
| ECapeInvalidArgument | To be used when an invalid argument value was passed, for example UNDEFINED for property. |
| ECapeBadInvOrder | Error raised to indicate that a precondition for this operation has not been performed. |
| ECapeSolvingError | An error occurred while calculating equilibrium conditions. |
| ECapeOutOfBounds | Indicates that one of the values used in this calculation are outside their acceptable limits. |