Vapor fraction flash
This function calculates the mixture temperature or pressure at a fixed vapor phase mole fraction with respect to inflows i.e. (vapor phase moles/inflow moles)
vapor fraction
POST
https://api.olisystems.com/engine/flash/{dbs_file_id}/vapor-fraction
run a fix vapor fraction calculation by varying temperature or pressure
Headers
Authorization
string
Bearer {access_token}
Content-Type
string
application/json
Request payload
params
type
description
temperature
valueObject
pressure
valueObject
vaporMolFrac
valueObject
calculatedVariable
string
variable to be calculated, i.e. "temperature" or "pressure"
inflows
object
Response (status = PROCESSED)
type
description
name
string
name of the calculated variable, i.e. temperature or 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.temperature.unit/params.pressure.unit in input
Survey Calculation
supported params.surveyInputs[{}].field
"/params/temperature/value"
"/params/pressure/value"
"/params/vaporMolFrac/value"
Last updated
Was this helpful?