Scale scenario
This calculation combines several streams and calculate the scale scenario at a series of locations of different conditions.
Request payload
params | type | description |
name | string | name of output stream |
chemistryModel | string | chemistry model file (dbs) name for scale scenario calculations |
externalStreams | array of objects | |
inletInputs | array of objects | |
scenarios | array of objects |
After combining all inlet streams, this calculation performs a series of calculations in the locations specified as below, where the outlet of each location is passed as the inlet to the next location.
Scale scenario inputs
params.scenarios[{}] | type | description |
location | string | location name |
temperature | specified temperature with unit | |
pressure | specified pressure with unit | |
dropSolids | boolean | optional. If specified as true, all solids in the outlet are removed when passing as inlet to next location. Default is false. |
Additional input
In addition to the inputs shown above, some optional properties may also be specified. They can be viewed here.
Response (status = PROCESSED)
The "result" contains all stream outputs for each external stream. Results of each location are listed as an array of objects in result.scenarioOutputs, with location and result of corresponding stream output.
by their names specified in the 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" |
"/params/inletInputs/i/totalAmount/value" where i is the index (0 based) of the params.inletInputs array of objects |
"/params/scenarios/i/temperature/value" where i is the index (0 based) of the params.scenarios array of objects |
"/params/scenarios/i/pressure/value" where i is the index (0 based) of the params.scenarios array of objects |
Last updated