Isothermal flash
This method is the most common thermodynamic flash function and is used to determine the equilibrium solution output at a constant temperature and pressure.
isothermal
POST
https://api.olisystems.com/engine/flash/{dbs_file_id}/isothermal
run an isothermal flash calculation
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer {access_token} |
Content-Type | string | application/json |
Request payload
params | type | description |
temperature | specified temperature with unit | |
pressure | specified pressure with unit | |
inflows | object | specified inflow species composition, see Inflows Input |
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.
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