Isochoric flash
Last updated
Last updated
This function calculates the mixture temperature or pressure at a fixed total volume.
POST
https://api.olisystems.com/engine/flash/{dbs_file_id}/isochoric
run an isochoric calculation by varying temperature or pressure
Name | Type | Description |
---|---|---|
in addition to the inputs shown above some optional properties may also be specified. They can be viewed 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/pressure which can be conveniently retrieved from the data.result.calculatedVariables 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 or initial guess temperature with unit
pressure
specified or initial guess pressure with unit
totalVolume
specified total volume with unit
calculatedVariable
string
variable to be calculated, i.e. "temperature" or "pressure"
inflows
object
specified inflow species composition, see Inflows Input
data.result.calculatedVariables [ { } ]
type
description
name
string
name of the calculated variable, i.e. temperature or pressure as specified in input params.calculatedVariable
value
number
value of the calculated variable
unit
string
unit of the calculated variable, which is the same as specified in the input initial guess, i.e. params.temperature.unit/params.pressure.unit in input
supported params.surveyInputs[{}].field
"/params/temperature/value"
"/params/pressure/value"
"/params/totalVolume/value"