Bubble point flash
This function calculates mixture bubble point temperature or pressure depending on the input option.
bubble point
POST
https://api.olisystems.com/engine/flash/{dbs_file_id}/bubblepoint
run a bubblepoint temperature or pressure calculation
Headers
Authorization
string
Bearer {access_token}
Content-Type
string
application/json
Request payload
params
type
description
temperature
pressure
calculatedVariable
string
variable to be calculated, i.e. "temperature" or "pressure"
inflows
object
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.
Response (status = PROCESSED)
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
type
description
name
string
name of the calculated variable, i.e. temperature/pressure as specified in JSON 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.pressure.unit/params.temperature.unit in input
Survey Calculation
Survey calculation is supported for the variables below. Please refer to Survey calculation for explained input schema.
supported params.surveyInputs[{}].field
"/params/temperature/value"
"/params/pressure/value"
Last updated