Isenthalpic flash
Last updated
Last updated
This function is used to determine the equilibrium solution output at constant pressure and enthalpy. Here the temperature is a free variable that is determined along with the equilibrium solution output.
POST
https://api.olisystems.com/engine/flash/{dbs_file_id}/isenthalpic
run an isenthalpic flash calculation
Name | Type | Description |
---|---|---|
in addition to the inputs shown above some optional properties may also be specified. They can be viewed here
If kinetic reactions are defined in the chemistry model, kinetic calculation inputs are required to be specified. A detailed description can be found here.
The output of this calculation is the stream output which is common result output for all OLI's flash calculations or an error. In addition to this output the result also contains the solution temperature which can be conveniently retrieved from the data.result.calculatedVariable array
Survey calculation is supported for the variables below. Please refer to Survey calculation for explained input schema.
Authorization
string
Bearer {access_token}
Content-Type
string
application/json
params
type
description
temperature
specified initial guess temperature with unit
pressure
specified pressure with unit
enthalpy
specified total enthalpy with unit
inflows
object
specified inflow species composition, see Inflows Input
data.result.calculatedVariables [ { } ]
type
description
name
string
name of the calculated variable, i.e. temperature
value
number
value of the calculated variable
unit
string
unit of the calculated variable, which is the same as the one specified in the input initial guess, i.e. params.temperature.unit in the input
supported params.surveyInputs[{}].field
"/params/temperature/value"
"/params/pressure/value"
"/params/enthalpy/value"