Oil analysis

Request payload

{
    "method": "scalechem.oilAnalysis",
    "params": {
        "chemistryModel": "chem",
        "temperature": {
            "value": 30.0,
            "unit": "°C"
        },
        "pressure": {
            "value": 2.0,
            "unit": "atm"
        },
        "inflows": {
            "unit": "mole %",
            "values": {
                "H2O": 10.0,
                "CO2": 10.0,
                "CH4": 40.0,
                "C4H10": 20.0
            }
        },
        "saturateWithH2O": true
    }
}

param

type

description

chemistryModel

string

temperature

specified temperature with unit

pressure

specified pressure with unit

inflows

object

specified inflow species composition, see Inflows Input

saturateWithH2O

boolean

option to add H2O to saturate the organic liquid phase.

params.saturateWithH2O input is optional. By default, it's set to false.

In addition to the inputs shown above, some optional properties may also be specified. They can be viewed at Optional Inputs.

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"

"/params/inflows/values/<InflowName>"

Last updated