# Stream output

The stream output JSON describes the output all equilibrium flash calculations. this output contains the following objects.

| result       |                                                                      |
| ------------ | -------------------------------------------------------------------- |
| phases       | contains the output information for each phase                       |
| phaseSummary | contains information on whether a particular phase is present or not |
| total        | contains information of the total stream                             |

The sample below contains a condensed version of the stream output

```javascript
{
    "code": 200,
    "result": {
        "phases": {
            ...<snip>...
        },
        "phaseSummary": [
            ...<snip>...
        ],
        "total": {
            ...<snip>...
        }
    },
    "message": "Results returned successfully", 
    "status": "PROCESSED"
}
```

### Phases in the system&#x20;

Contains objects pertaining to each phase available in the equilibrium output

| result.phases | type   | description                                           |
| ------------- | ------ | ----------------------------------------------------- |
| liquid1       | object | liquid1 phase information if phase is present         |
| vapor         | object | vapor phase information if vapor phase is present     |
| solid         | object | solid phase information if solid phase is present     |
| liquid2       | object | liquid2 phase information if liquid2 phase is present |

**result.total has the information about the full stream**

{% hint style="warning" %}
If a phase is not available the corresponding object will not be present.&#x20;
{% endhint %}

The sample below contains a condensed version of the phase information under the **result.phases** object

```javascript
{
    "result": {
        "phases": {
            "liquid1": {
                ..<snip>...
            },
            "vapor": {
                ...<snip>...
            },
            "solid": {
                ...<snip>...
            },
            "liquid2": {
                ...<snip>...
            }
        },
        "total": {
        ..<snip>...
        }
    }
}
```

### Speciation information&#x20;

Each phase object contains the following objects

| result.phases.phase\_name     | type                                                           | description                                                                         |
| ----------------------------- | -------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| totalMolecularMoles           | [valueObject](https://devdocs.olisystems.com/terms-definition) | total molecular moles, also known as apparent moles in the phase                    |
| totalTrueMoles                | [valueObject](https://devdocs.olisystems.com/terms-definition) | total true moles in the phase                                                       |
| molecularConcentration.values | object                                                         | contains the amount of each molecular species given as **"species\_name" : number** |
| molecularConcentration.unit   | string                                                         | unit for each species amount specified in **molecularConcentration.values**         |
| trueConcentration.values      | object                                                         | contains the amount of each true species given as **"species\_name" : number**      |
| trueConcentration.unit        | string                                                         | unit for each species amount specified in **trueConcentration.values**              |

{% hint style="info" %}
here **phase\_name** be either **liquid1, vapor, solid, vapor or total**
{% endhint %}

{% hint style="warning" %}
Here the names in the object **molecularConcentration.values** corresponds to the **inflows** names and the names in **trueConcentration.values** corresponds to the **species** names coming from the [chemistry information](https://devdocs.olisystems.com/group1/api-functions/chemistry-info) function
{% endhint %}

{% hint style="info" %}
**molecularConcentration** is a representation of true species concentration in molecular/inflow form. Users can specify the molecular conversion method as explained in [Optional inputs](https://devdocs.olisystems.com/optional-inputs#molecular-conversion).
{% endhint %}

Here the sample output for each phase is shown separately, but they are part of the same JSON output object in **result.phases**

{% tabs %}
{% tab title="liquid1" %}

```javascript
{
  "result": {
    "phases": {
      "liquid1": {
            "totalMolecularMoles": {
                "value": 21.226207616613667,
                "unit": "mol"
            },
            "molecularConcentration": {
                "unit": "mol/mol",
                "values": {
                    "H2O": 0.8980756720878806,
                    "CO2": 0.00012127280721685236,
                    "BENZENE": 0.00012121810265871872,
                    "HCL": 0.0,
                    "H2CO3": 0.0,
                    "NACL": 0.10168183416772372,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NA2CO3": 0.0,
                    "NA2O": 2.8345199111433006e-09,
                    "NA3HCO32": 0.0,
                    "NA5H3CO34": 0.0,
                    "NAHCO3": 0.0,
                    "NAOH.1H2O": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0
                }
            },
            "totalTrueMoles": {
                "value": 23.384516501904006,
                "unit": "mol"
            },
            "trueConcentration": {
                "unit": "mol/mol",
                "values": {
                    "H2O": 0.8151847728579172,
                    "CO2": 0.00010841376510336895,
                    "BENZENE": 0.00011003009678290568,
                    "HCL": 2.2808487226473268e-11,
                    "NAHCO3": 4.6343297486528063e-07,
                    "OHION": 1.3404451593976355e-12,
                    "CO3ION": 2.8319031932064318e-12,
                    "HCO3ION": 1.20254879862828e-06,
                    "HION": 1.6608253486241603e-06,
                    "NACO3ION": 2.5933560724207716e-12,
                    "NAION": 0.09229649908827389,
                    "CLION": 0.0922969573552263
                }
            },
            "properties": {
                "mass": {
                    "value": 469.8744595184318,
                    "unit": "g"
                },
                "enthalpy": {
                    "value": -6290492.86193959,
                    "unit": "J"
                },
                "ph": {
                    "value": 3.506293402644644,
                    "unit": ""
                },
                "ionicStrength": {
                    "value": 6.284844275084738,
                    "unit": ""
                },
                "volume": {
                    "value": 0.39889132965412266,
                    "unit": "L"
                },
                "osmoticPressure": {
                    "value": 417.3774507090581,
                    "unit": "atm"
                },
                "heatCapacity": {
                    "value": 0.6883875523093475,
                    "unit": "cal/g K"
                },
                "orp": {
                    "value": 0.0,
                    "unit": ""
                },
                "specificElectricalConductivity": {
                    "value": 0.3888779545938565,
                    "unit": "µmho/cm"
                },
                "molarElectricalConductivity": {
                    "value": 5.170668146037298,
                    "unit": "m2/ohm-mol"
                },
                "absoluteViscosity": {
                    "value": 1.1196506783843205,
                    "unit": "cP"
                },
                "relativeViscosity": {
                    "value": 2.046080906239711,
                    "unit": "cP"
                },
                "thermalConductivity": {
                    "value": 0.0,
                    "unit": "cal/hr m °C"
                },
                "idealStandardLiquidVolume": {
                    "value": 0.421019399748327,
                    "unit": "L"
                },
                "surfaceTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "interfacialTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "density": {
                    "value": 1177.9510472836255,
                    "unit": "kg/m3"
                },
                "hardness": {
                    "value": 0.0,
                    "unit": "mg/L of Mg+2 and Ca+2"
                },
                "ionicStrengthMBased": {
                    "value": 6.284844275084737,
                    "unit": "mol/kg"
                },
                "ionicStrengthXBased": {
                    "value": 0.09229815991645443,
                    "unit": "mol/mol"
                },
                "volumeStdConditions": {
                    "value": 0.3899494321783508,
                    "unit": "L"
                },
                "gibbsFreeEnergy": {
                    "value": -5405064.876853572,
                    "unit": "J"
                },
                "gibbsFreeEnergyStandardState": {
                    "value": -5364732.614802347,
                    "unit": "J"
                },
                "entropy": {
                    "value": 402.52249696366414,
                    "unit": "cal/K"
                },
                "entropyStandardState": {
                    "value": 368.1849240704805,
                    "unit": "cal/K"
                },
                "totalDissolvedSolids": {
                    "value": 316732.9367611623,
                    "unit": "mg/L"
                }
            },
            "mobilities": {
                "unit": "m2/s-volt",
                "values": {
                    "OHION": 1.0477530322319145e-07,
                    "CO3ION": 4.5521284815508306e-08,
                    "HCO3ION": 2.6682810347057602e-08,
                    "HION": 1.7471316433726358e-07,
                    "NACO3ION": 2.02107319598793e-08,
                    "NAION": 3.01959373362478e-08,
                    "CLION": 4.429241371474645e-08
                }
            },
            "selfDiffusivities": {
                "unit": "m2/s",
                "values": {
                    "H2O": 2.024176002497278e-09,
                    "CO2": 1.7484002869485418e-09,
                    "BENZENE": 9.881226550801429e-10,
                    "HCL": 1.6907916668742283e-09,
                    "NAHCO3": 8.584040486862172e-10,
                    "OHION": 3.6343124558205254e-09,
                    "CO3ION": 8.341437678389614e-10,
                    "HCO3ION": 9.836603781305234e-10,
                    "HION": 5.981318546296803e-09,
                    "NACO3ION": 7.383722894675519e-10,
                    "NAION": 1.1831936448580512e-09,
                    "CLION": 1.5679953664262656e-09
                }
            },
            "gibbsFreeEnergy": {
                "unit": "J/mol",
                "values": {
                    "H2O": -239764.1869055229,
                    "CO2": -399634.43639125564,
                    "BENZENE": 119944.96048947786,
                    "HCL": -149450.0860740784,
                    "NAHCO3": -876259.3345219601,
                    "OHION": -218072.07804470454,
                    "CO3ION": -596014.4046546705,
                    "HCO3ION": -617706.5138436517,
                    "HION": -21692.109995603936,
                    "NACO3ION": -854567.2252991025,
                    "NAION": -258552.8207846849,
                    "CLION": -127757.97582073502
                }
            },
            "gibbsFreeEnergyStandardStateXBased": {
                "unit": "J/mol",
                "values": {
                    "H2O": -239003.903975896,
                    "CO2": -378355.0490189462,
                    "BENZENE": 140604.9934336966,
                    "HCL": -87442.33585885077,
                    "NAHCO3": -840902.8450806803,
                    "OHION": -146112.94590453355,
                    "CO3ION": -515667.7416043327,
                    "HCO3ION": -578579.3952622324,
                    "HION": 10791.668865256031,
                    "NACO3ION": -781074.0069076401,
                    "NAION": -252592.58366227054,
                    "CLION": -121797.16716088422
                }
            },
            "activityCoefficientsXBased": {
                "unit": "",
                "values": {
                    "H2O": 0.9243838734161381,
                    "CO2": 3.3522070912701194,
                    "BENZENE": 4.159257161627117,
                    "HCL": 4.15925716162711,
                    "NAHCO3": 4.159257161627117,
                    "OHION": 1.7431270864188753,
                    "CO3ION": 0.03637016652648902,
                    "HCO3ION": 0.39392925849523136,
                    "HION": 3.3808164585153477,
                    "NACO3ION": 0.5090346708059645,
                    "NAION": 1.178708373817101,
                    "CLION": 1.1784518150479442
                }
            },
            "activityCoefficientsMBased": {
                "unit": "",
                "values": {
                    "H2O": 0.7535436578842564,
                    "CO2": 2.732668176269732,
                    "BENZENE": 3.3905631045586677,
                    "HCL": 3.390563104558662,
                    "NAHCO3": 3.3905631045586677,
                    "OHION": 1.420970658004854,
                    "CO3ION": 0.029648405938700582,
                    "HCO3ION": 0.321125133108523,
                    "HION": 2.755990096809142,
                    "NACO3ION": 0.41495731249776496,
                    "NAION": 0.9608651179758185,
                    "CLION": 0.9606559751738588
                }
            },
            "totalMBGMoles": {
                "value": 61.515157125730966,
                "unit": "mol"
            },
            "MBGComposition": {
                "unit": "mol/mol",
                "values": {
                    "H(+1)": 0.6197737781017071,
                    "Na(+1)": 0.03508598439898328,
                    "O(-2)": 0.30997058198077737,
                    "Cl(-1)": 0.03508598244284398,
                    "C(+4)": 4.1845975927089606e-05,
                    "BENZENE": 4.182709976123431e-05
                }
            },
            "entropy": {
                "unit": "cal/mol K",
                "values": {
                    "H2O": 18.61927150093834,
                    "CO2": 44.55439177545486,
                    "BENZENE": 49.68223713294719,
                    "HCL": 35.46867179684341,
                    "NAHCO3": 49.506592529360205,
                    "OHION": -7.835324275947642,
                    "CO3ION": 10.391179658472538,
                    "HCO3ION": 36.778099756338634,
                    "HION": 26.31175650485602,
                    "NACO3ION": 23.14335792325437,
                    "NAION": 12.68337354194955,
                    "CLION": 9.25296564346354
                }
            },
            "entropyStandardStateXBased": {
                "unit": "cal/mol K",
                "values": {
                    "H2O": 18.1511282477004,
                    "CO2": 24.39883616170846,
                    "BENZENE": 34.40187079613679,
                    "HCL": 15.857367282296764,
                    "NAHCO3": 10.922679142095149,
                    "OHION": -12.820184685551794,
                    "CO3ION": -24.954215268371627,
                    "HCO3ION": 14.992231663200073,
                    "HION": -7.981652580747323,
                    "NACO3ION": -19.06021603208501,
                    "NAION": 6.820429471554235,
                    "CLION": 3.384198818457662
                }
            }
        }
    }
  }
}
```

{% endtab %}

{% tab title="vapor" %}

```javascript
{
  "result": {
    "phases": {
        "vapor": {
            "totalMolecularMoles": {
                "value": 14.202172424670817,
                "unit": "mol"
            },
            "molecularConcentration": {
                "unit": "mol/mol",
                "values": {
                    "H2O": 0.06221167877156798,
                    "CO2": 0.696612589194416,
                    "BENZENE": 0.24117572375204308,
                    "HCL": 8.282042013416935e-09,
                    "H2CO3": 0.0,
                    "NACL": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NA2CO3": 0.0,
                    "NA2O": 0.0,
                    "NA3HCO32": 0.0,
                    "NA5H3CO34": 0.0,
                    "NAHCO3": 0.0,
                    "NAOH.1H2O": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0
                }
            },
            "totalTrueMoles": {
                "value": 14.202172424670817,
                "unit": "mol"
            },
            "trueConcentration": {
                "unit": "mol/mol",
                "values": {
                    "H2O": 0.06221167877156798,
                    "CO2": 0.696612589194416,
                    "BENZENE": 0.24117572375204308,
                    "HCL": 8.282042013416935e-09
                }
            },
            "properties": {
                "mass": {
                    "value": 718.884475325838,
                    "unit": "g"
                },
                "enthalpy": {
                    "value": -3806884.6435459694,
                    "unit": "J"
                },
                "ph": {
                    "value": 0.0,
                    "unit": ""
                },
                "ionicStrength": {
                    "value": 0.0,
                    "unit": ""
                },
                "volume": {
                    "value": 247.86468511163403,
                    "unit": "L"
                },
                "osmoticPressure": {
                    "value": 0.0,
                    "unit": "atm"
                },
                "heatCapacity": {
                    "value": 0.2415152457027691,
                    "unit": "cal/g K"
                },
                "orp": {
                    "value": 0.0,
                    "unit": ""
                },
                "specificElectricalConductivity": {
                    "value": 0.0,
                    "unit": "µmho/cm"
                },
                "molarElectricalConductivity": {
                    "value": 0.0,
                    "unit": "m2/ohm-mol"
                },
                "absoluteViscosity": {
                    "value": 0.012366440652502366,
                    "unit": "cP"
                },
                "relativeViscosity": {
                    "value": 0.0,
                    "unit": "cP"
                },
                "thermalConductivity": {
                    "value": 14.575964340152733,
                    "unit": "cal/hr m °C"
                },
                "idealStandardLiquidVolume": {
                    "value": 0.6912330153403138,
                    "unit": "L"
                },
                "surfaceTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "interfacialTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "density": {
                    "value": 2.900310203537324,
                    "unit": "kg/m3"
                },
                "volumeStdConditions": {
                    "value": 224.32703036551902,
                    "unit": "L"
                },
                "gibbsFreeEnergy": {
                    "value": -3754751.8887388613,
                    "unit": "J"
                },
                "gibbsFreeEnergyStandardState": {
                    "value": -3740447.147339126,
                    "unit": "J"
                },
                "entropy": {
                    "value": 788.6168219465585,
                    "unit": "cal/K"
                },
                "entropyStandardState": {
                    "value": 779.1222828112316,
                    "unit": "cal/K"
                }
            },
            "selfDiffusivities": {
                "unit": "m2/s",
                "values": {
                    "H2O": 1.4242539419660113e-05,
                    "CO2": 9.701040488087044e-06,
                    "BENZENE": 3.2321821400380015e-06,
                    "HCL": 9.20876405486835e-06
                }
            },
            "vaporDiffusivityMatrix": {
                "type": "rowMajorMatrix",
                "speciesNames": [
                    "H2O",
                    "CO2",
                    "BENZENE",
                    "HCL"
                ],
                "unit": "m2/s",
                "data": [
                    1.4242539419660113e-05,
                    1.5947634582597602e-05,
                    9.090354141730192e-06,
                    1.73118735518477e-05,
                    1.5947634582597602e-05,
                    9.701040488087044e-06,
                    5.485155932862653e-06,
                    1.068311110428046e-05,
                    9.090354141730192e-06,
                    5.485155932862653e-06,
                    3.2321821400380015e-06,
                    6.060952736145546e-06,
                    1.73118735518477e-05,
                    1.068311110428046e-05,
                    6.060952736145546e-06,
                    9.20876405486835e-06
                ]
            },
            "partialPressure": {
                "unit": "atm",
                "values": {
                    "H2O": 0.09331751815735198,
                    "CO2": 1.0449188837916241,
                    "BENZENE": 0.3617635856280646,
                    "HCL": 1.2423063020125402e-08,
                    "H2CO3": 0.0,
                    "NACL": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NA2CO3": 0.0,
                    "NA2O": 0.0,
                    "NA3HCO32": 0.0,
                    "NA5H3CO34": 0.0,
                    "NAHCO3": 0.0,
                    "NAOH.1H2O": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0
                }
            },
            "gibbsFreeEnergy": {
                "unit": "J/mol",
                "values": {
                    "H2O": -239764.18696742016,
                    "CO2": -399634.43615714944,
                    "BENZENE": 119944.96068468186,
                    "HCL": -149450.08593080845
                }
            },
            "gibbsFreeEnergyStandardStateXBased": {
                "unit": "J/mol",
                "values": {
                    "H2O": -233351.90735992635,
                    "CO2": -399741.5987011286,
                    "BENZENE": 122776.72892666652,
                    "HCL": -100524.45747929343
                }
            },
            "fugacityCoefficients": {
                "unit": "",
                "values": {
                    "H2O": 0.9852821111175118,
                    "CO2": 0.9959535822374131,
                    "BENZENE": 0.9634966009085911,
                    "HCL": 0.9941873536173533
                }
            },
            "fugacities": {
                "unit": "atm",
                "values": {
                    "H2O": 0.09194408129432251,
                    "CO2": 1.0406907054597871,
                    "BENZENE": 0.34855798508514435,
                    "HCL": 1.2350852147800078e-08
                }
            },
            "totalMBGMoles": {
                "value": 35.75607872964982,
                "unit": "mol"
            },
            "MBGComposition": {
                "unit": "mol/mol",
                "values": {
                    "H(+1)": 0.049420466614023974,
                    "Na(+1)": 0.0,
                    "O(-2)": 0.5780937377082296,
                    "Cl(-1)": 3.289594185991633e-09,
                    "C(+4)": 0.2766917530230073,
                    "BENZENE": 0.09579403936514483
                }
            },
            "entropy": {
                "unit": "cal/mol K",
                "values": {
                    "H2O": 50.40657775680302,
                    "CO2": 51.6920253779972,
                    "BENZENE": 67.92850641031691,
                    "HCL": 80.77220734485309
                }
            },
            "entropyStandardStateXBased": {
                "unit": "cal/mol K",
                "values": {
                    "H2O": 45.742734461964574,
                    "CO2": 51.80255121376831,
                    "BENZENE": 66.04035986965755,
                    "HCL": 44.62224480594159
                }
            }
        }
    }
  }
}
```

{% endtab %}

{% tab title="liquid2" %}

```javascript
{
  "result": {
    "phases": {
        "liquid2": {
            "totalMolecularMoles": {
                "value": 11.729939801929907,
                "unit": "mol"
            },
            "molecularConcentration": {
                "unit": "mol/mol",
                "values": {
                    "H2O": 0.004579587008357855,
                    "CO2": 0.008867371447473326,
                    "BENZENE": 0.986553041313207,
                    "HCL": 2.3096692703897768e-10,
                    "H2CO3": 0.0,
                    "NACL": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NA2CO3": 0.0,
                    "NA2O": 0.0,
                    "NA3HCO32": 0.0,
                    "NA5H3CO34": 0.0,
                    "NAHCO3": 0.0,
                    "NAOH.1H2O": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0
                }
            },
            "totalTrueMoles": {
                "value": 11.729939801929907,
                "unit": "mol"
            },
            "trueConcentration": {
                "unit": "mol/mol",
                "values": {
                    "H2O": 0.004579587008357855,
                    "CO2": 0.008867371447473326,
                    "BENZENE": 0.986553041313207,
                    "HCL": 2.3096692703897768e-10,
                    "NAHCO3": 0.0,
                    "OHION": 0.0,
                    "CO3ION": 0.0,
                    "HCO3ION": 0.0,
                    "HION": 0.0,
                    "NACO3ION": 0.0,
                    "NAION": 0.0,
                    "CLION": 0.0
                }
            },
            "properties": {
                "mass": {
                    "value": 909.5016870031311,
                    "unit": "g"
                },
                "enthalpy": {
                    "value": 553663.5010248525,
                    "unit": "J"
                },
                "ph": {
                    "value": 0.0,
                    "unit": ""
                },
                "ionicStrength": {
                    "value": 0.0,
                    "unit": ""
                },
                "volume": {
                    "value": 1.073309739643026,
                    "unit": "L"
                },
                "osmoticPressure": {
                    "value": 0.0,
                    "unit": "atm"
                },
                "heatCapacity": {
                    "value": 0.4050817317973504,
                    "unit": "cal/g K"
                },
                "orp": {
                    "value": 0.0,
                    "unit": ""
                },
                "specificElectricalConductivity": {
                    "value": 0.0,
                    "unit": "µmho/cm"
                },
                "molarElectricalConductivity": {
                    "value": 0.0,
                    "unit": "m2/ohm-mol"
                },
                "absoluteViscosity": {
                    "value": 0.0,
                    "unit": "cP"
                },
                "relativeViscosity": {
                    "value": 0.0,
                    "unit": "cP"
                },
                "thermalConductivity": {
                    "value": 0.0,
                    "unit": "cal/hr m °C"
                },
                "idealStandardLiquidVolume": {
                    "value": 1.0403738849073891,
                    "unit": "L"
                },
                "surfaceTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "interfacialTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "density": {
                    "value": 847.3804470512155,
                    "unit": "kg/m3"
                },
                "ionicStrengthMBased": {
                    "value": 0.0,
                    "unit": "mol/kg"
                },
                "ionicStrengthXBased": {
                    "value": 0.0,
                    "unit": "mol/mol"
                },
                "volumeStdConditions": {
                    "value": 1.0308257906614442,
                    "unit": "L"
                },
                "gibbsFreeEnergy": {
                    "value": 1333580.818159867,
                    "unit": "J"
                },
                "gibbsFreeEnergyStandardState": {
                    "value": 1366683.9390451827,
                    "unit": "J"
                },
                "entropy": {
                    "value": 517.8792962261166,
                    "unit": "cal/K"
                },
                "entropyStandardState": {
                    "value": 772.0781645553415,
                    "unit": "cal/K"
                }
            },
            "gibbsFreeEnergy": {
                "unit": "J/mol",
                "values": {
                    "H2O": -239764.1869673227,
                    "CO2": -399634.4361571407,
                    "BENZENE": 119944.9606846787,
                    "HCL": -149450.08593080062,
                    "NAHCO3": 0.0,
                    "OHION": 0.0,
                    "CO3ION": 0.0,
                    "HCO3ION": 0.0,
                    "HION": 0.0,
                    "NACO3ION": 0.0,
                    "NAION": 0.0,
                    "CLION": 0.0
                }
            },
            "gibbsFreeEnergyStandardStateXBased": {
                "unit": "J/mol",
                "values": {
                    "H2O": -233351.90735992635,
                    "CO2": -399741.5987011286,
                    "BENZENE": 122776.72892666652,
                    "HCL": -100524.45747929343,
                    "NAHCO3": 0.0,
                    "OHION": 0.0,
                    "CO3ION": 0.0,
                    "HCO3ION": 0.0,
                    "HION": 0.0,
                    "NACO3ION": 0.0,
                    "NAION": 0.0,
                    "CLION": 0.0
                }
            },
            "activityCoefficientsXBased": {
                "unit": "",
                "values": {
                    "H2O": 164.5440203497236,
                    "CO2": 0.04098456846403843,
                    "BENZENE": 0.00046388126020171296,
                    "HCL": 0.41073570603173115,
                    "NAHCO3": 0.0,
                    "OHION": 0.0,
                    "CO3ION": 0.0,
                    "HCO3ION": 0.0,
                    "HION": 0.0,
                    "NACO3ION": 0.0,
                    "NAION": 0.0,
                    "CLION": 0.0
                }
            },
            "fugacityCoefficients": {
                "unit": "",
                "values": {
                    "H2O": 13.38462487699624,
                    "CO2": 78.24120233959098,
                    "BENZENE": 0.23553927698318566,
                    "HCL": 35.64969901729978,
                    "NAHCO3": 0.0,
                    "OHION": 0.0,
                    "CO3ION": 0.0,
                    "HCO3ION": 0.0,
                    "HION": 0.0,
                    "NACO3ION": 0.0,
                    "NAION": 0.0,
                    "CLION": 0.0
                }
            },
            "totalMBGMoles": {
                "value": 12.0454038310511,
                "unit": "mol"
            },
            "MBGComposition": {
                "unit": "mol/mol",
                "values": {
                    "H(+1)": 0.008919299349993557,
                    "Na(+1)": 0.0,
                    "O(-2)": 0.021729927045818765,
                    "Cl(-1)": 2.249180009573439e-10,
                    "C(+4)": 0.008635138741640494,
                    "BENZENE": 0.9607156346376292
                }
            },
            "entropy": {
                "unit": "cal/mol K",
                "values": {
                    "H2O": 38.47298225737177,
                    "CO2": 44.45974865084281,
                    "BENZENE": 44.173780718119815,
                    "HCL": 71.54322687638341,
                    "NAHCO3": 0.0,
                    "OHION": 0.0,
                    "CO3ION": 0.0,
                    "HCO3ION": 0.0,
                    "HION": 0.0,
                    "NACO3ION": 0.0,
                    "NAION": 0.0,
                    "CLION": 0.0
                }
            },
            "entropyStandardStateXBased": {
                "unit": "cal/mol K",
                "values": {
                    "H2O": 45.742734461964574,
                    "CO2": 51.80255121376831,
                    "BENZENE": 66.04035986965755,
                    "HCL": 44.62224480594159,
                    "NAHCO3": 0.0,
                    "OHION": 0.0,
                    "CO3ION": 0.0,
                    "HCO3ION": 0.0,
                    "HION": 0.0,
                    "NACO3ION": 0.0,
                    "NAION": 0.0,
                    "CLION": 0.0
                }
            }
        }
    }
  }
}
```

{% endtab %}

{% tab title="solid" %}

```javascript
{
  "result": {
    "phases": {
        "solid": {
            "totalMolecularMoles": {
                "value": 2.841680156785605,
                "unit": "mol"
            },
            "molecularConcentration": {
                "unit": "mol/mol",
                "values": {
                    "H2O": 0.0,
                    "CO2": 0.0,
                    "BENZENE": 0.0,
                    "HCL": 0.0,
                    "H2CO3": 0.0,
                    "NACL": 1.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NA2CO3": 0.0,
                    "NA2O": 0.0,
                    "NA3HCO32": 0.0,
                    "NA5H3CO34": 0.0,
                    "NAHCO3": 0.0,
                    "NAOH.1H2O": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0
                }
            },
            "totalTrueMoles": {
                "value": 2.841680156785605,
                "unit": "mol"
            },
            "trueConcentration": {
                "unit": "mol/mol",
                "values": {
                    "NA2CO3": 0.0,
                    "NACL": 1.0,
                    "NAHCO3": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NAOH.1H2O": 0.0
                }
            },
            "properties": {
                "mass": {
                    "value": 166.07622815261644,
                    "unit": "g"
                },
                "enthalpy": {
                    "value": -1165070.5694128608,
                    "unit": "J"
                },
                "ph": {
                    "value": 0.0,
                    "unit": ""
                },
                "ionicStrength": {
                    "value": 0.0,
                    "unit": ""
                },
                "volume": {
                    "value": 0.0767537810347792,
                    "unit": "L"
                },
                "osmoticPressure": {
                    "value": 1.0,
                    "unit": "atm"
                },
                "heatCapacity": {
                    "value": 0.20782954293889175,
                    "unit": "cal/g K"
                },
                "orp": {
                    "value": 0.0,
                    "unit": ""
                },
                "specificElectricalConductivity": {
                    "value": 0.0,
                    "unit": "µmho/cm"
                },
                "molarElectricalConductivity": {
                    "value": 0.0,
                    "unit": "m2/ohm-mol"
                },
                "absoluteViscosity": {
                    "value": 0.0,
                    "unit": "cP"
                },
                "relativeViscosity": {
                    "value": 0.0,
                    "unit": "cP"
                },
                "thermalConductivity": {
                    "value": 0.0,
                    "unit": "cal/hr m °C"
                },
                "idealStandardLiquidVolume": {
                    "value": 0.10041020000398801,
                    "unit": "L"
                },
                "surfaceTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "interfacialTension": {
                    "value": 0.0,
                    "unit": "N/m"
                },
                "density": {
                    "value": 2163.7530544242873,
                    "unit": "kg/m3"
                },
                "gibbsFreeEnergy": {
                    "value": -1097771.7246946518,
                    "unit": "J"
                },
                "gibbsFreeEnergyStandardState": {
                    "value": -1097771.7246946518,
                    "unit": "J"
                },
                "entropy": {
                    "value": 56.398948738818866,
                    "unit": "cal/K"
                },
                "entropyStandardState": {
                    "value": 56.398948738818866,
                    "unit": "cal/K"
                }
            },
            "gibbsFreeEnergy": {
                "unit": "J/mol",
                "values": {
                    "NA2CO3": 0.0,
                    "NACL": -386310.7964748599,
                    "NAHCO3": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NAOH.1H2O": 0.0
                }
            },
            "gibbsFreeEnergyStandardStateXBased": {
                "unit": "J/mol",
                "values": {
                    "NA2CO3": 0.0,
                    "NACL": -386310.7964748599,
                    "NAHCO3": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NAOH.1H2O": 0.0
                }
            },
            "totalMBGMoles": {
                "value": 5.68336031357121,
                "unit": "mol"
            },
            "MBGComposition": {
                "unit": "mol/mol",
                "values": {
                    "H(+1)": 0.0,
                    "Na(+1)": 0.5,
                    "O(-2)": 0.0,
                    "Cl(-1)": 0.5,
                    "C(+4)": 0.0,
                    "BENZENE": 0.0
                }
            },
            "entropy": {
                "unit": "cal/mol K",
                "values": {
                    "NA2CO3": 0.0,
                    "NACL": 19.84704316710122,
                    "NAHCO3": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NAOH.1H2O": 0.0
                }
            },
            "entropyStandardStateXBased": {
                "unit": "cal/mol K",
                "values": {
                    "NA2CO3": 0.0,
                    "NACL": 19.84704316710122,
                    "NAHCO3": 0.0,
                    "NAOH": 0.0,
                    "TRONA": 0.0,
                    "WEGSCHEIDER": 0.0,
                    "NA2CO3.10H2O": 0.0,
                    "NA2CO3.1H2O": 0.0,
                    "NA2CO3.7H2O": 0.0,
                    "NAOH.1H2O": 0.0
                }
            }
        }
    }
  }
}
```

{% endtab %}
{% endtabs %}

### Phase properties

The following properties are available under the properties object of each phase. Sample output is available in example(s) above

| result.phases.phase\_name.properties | availability                                                | phase(s)                              |
| ------------------------------------ | ----------------------------------------------------------- | ------------------------------------- |
| mass                                 | always                                                      | all                                   |
| enthalpy                             | always                                                      | all                                   |
| ph                                   | always                                                      | liquid1, liquid2                      |
| ionicStrength                        | always                                                      | liquid1, liquid2                      |
| volume                               | always                                                      | all                                   |
| osmoticPressure                      | always                                                      | liquid1, liquid2                      |
| heatCapacity                         | [optional](https://devdocs.olisystems.com/optional-inputs)  | all                                   |
| orp                                  | always                                                      | <p>liquid1, </p><p>liquid2</p>        |
| specificElectricalConductivity       | [optional ](https://devdocs.olisystems.com/optional-inputs) | <p>liquid1,</p><p>liquid2</p>         |
| molarElectricalConductivity          | [optional](https://devdocs.olisystems.com/optional-inputs)  | <p>liquid1, </p><p>liquid2</p>        |
| absoluteViscosity                    | [optional ](https://devdocs.olisystems.com/optional-inputs) | <p>liquid1, </p><p>liquid2, vapor</p> |
| relativeViscosity                    | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1, liquid2,  vapor              |
| thermalConductivity                  | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1, liquid2, vapor               |
| idealStandardLiquidVolume            | always                                                      | liquid1, liquid2                      |
| surfaceTension                       | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1, liquid2                      |
| interfacialTension                   | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1, liquid2                      |
| density                              | always                                                      | all                                   |
| hardness                             | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1                               |
| ionicStrengthXBased                  | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1, liquid2                      |
| ionicStrengthMBased                  | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1, liquid2                      |
| volumeStdConditions                  | [optional](https://devdocs.olisystems.com/optional-inputs)  | liquid1, liquid2, vapor               |
| gibbsFreeEnergy                      | [optional](https://devdocs.olisystems.com/optional-inputs)  | all                                   |
| gibbsFreeEnergyStandardState         | [optional](https://devdocs.olisystems.com/optional-inputs)  | all                                   |
| entropy                              | [optional](https://devdocs.olisystems.com/optional-inputs)  | all                                   |

#### Additional species properties

Additional species properties present in each result.phase.phase\_name when such property calculation is [turned on from input](https://devdocs.olisystems.com/optional-inputs)

| result.phases.phase\_name          | phases(s)               |
| ---------------------------------- | ----------------------- |
| mobilities                         | liquid1                 |
| selfDiffusivities                  | liquid1, liquid2, vapor |
| gibbsFreeEnergy                    | all                     |
| gibbsFreeEnergyStandardStateXBased | all                     |
| activityCoefficientsXBased         | liquid1, liquid2        |
| activityCoefficientsMBased         | liquid1, liquid2        |
| totalMBGMoles                      | all                     |
| MBGComposition                     | all                     |
| entropy                            | all                     |
| entropyStandardStateXBased         | all                     |
| vaporDiffusivityMatrix             | vapor                   |
| partialPressure                    | vapor                   |
| fugacityCoefficients               | liquid2, vapor          |
| fugacities                         | vapor                   |

### Additional properties

Optional properties present in **result.additionalProperties** when they do not belong to any particular phase

```javascript
{
    "result": {
        "additionalProperites": {
            "prescalingTendencies": {
                "unit": "",
                "values": {
                    "NA2CO3": 3.0823983392482883e-10,
                    "NACL": 7.04645888444708,
                    "NAHCO3": 0.00046319422279570457,
                    "NAOH": 5.727646460859379e-16,
                    "TRONA": 5.433452081252768e-13,
                    "WEGSCHEIDER": 1.2439714622633147e-19,
                    "NA2CO3.10H2O": 2.42323772574986e-13,
                    "NA2CO3.1H2O": 4.724326060804564e-10,
                    "NA2CO3.7H2O": 5.622390596860186e-12,
                    "NAOH.1H2O": 1.6334354600819453e-14
                }
            },
            "prescalingIndex": {
                "unit": "",
                "values": {
                    "NA2CO3": -9.511111237986588,
                    "NACL": 0.8479709221966109,
                    "NAHCO3": -3.3342368659982218,
                    "NAOH": -15.24202379671215,
                    "TRONA": -12.264924158720135,
                    "WEGSCHEIDER": -18.905189582606397,
                    "NA2CO3.10H2O": -12.615603978385396,
                    "NA2CO3.1H2O": -9.325660136138662,
                    "NA2CO3.7H2O": -11.250078986517886,
                    "NAOH.1H2O": -13.78689802059106
                }
            },
            "scalingIndex": {
                "unit": "",
                "values": {
                    "NA2CO3": -9.946251018459519,
                    "NACL": -1.9554246636221152e-11,
                    "NAHCO3": -3.4886794715296867,
                    "NAOH": -15.386294219715131,
                    "TRONA": -12.581673108800006,
                    "WEGSCHEIDER": -19.80365717967372,
                    "NA2CO3.10H2O": -11.686576579235705,
                    "NA2CO3.1H2O": -9.624383198649332,
                    "NA2CO3.7H2O": -10.730301741254978,
                    "NAOH.1H2O": -13.79476196292895
                }
            },
            "scalingTendencies": {
                "unit": "",
                "values": {
                    "NA2CO3": 1.1317460347225315e-10,
                    "NACL": 0.9999999999549747,
                    "NAHCO3": 0.0003245790826401726,
                    "NAOH": 4.10871275505647e-16,
                    "TRONA": 2.6201544428167713e-13,
                    "WEGSCHEIDER": 1.571602895671782e-20,
                    "NA2CO3.10H2O": 2.057895989322877e-12,
                    "NA2CO3.1H2O": 2.3747440125028744e-10,
                    "NA2CO3.7H2O": 1.8607938359436187e-11,
                    "NAOH.1H2O": 1.6041243713317784e-14
                }
            },
            "vaporToInflowMoleFraction": {
                "value": 28.404344849341634,
                "unit": "mole %"
            },
            "kValuesXBased": {
                "unit": "",
                "values": {
                    "KH2OVAP": 8.195673362128641,
                    "KCO2VAP": 0.00034921556450656036,
                    "KBENZENEVAP": 0.0013129622262103029,
                    "KHCLVAP": 0.007680956966516748,
                    "KCO2AQ": 9.712763616665181e-09,
                    "KHCLAQ": 6437.726437542827,
                    "KH2O": 1.7410660292199987e-17,
                    "KHCO3ION": 1.2208106353427793e-12,
                    "KNA2CO3.10H2O": 3.496774736505818e-05,
                    "KNA2CO3.1H2O": 3.868107224026778e-06,
                    "KNA2CO3.7H2O": 9.037900604837083e-06,
                    "KNA2CO3PPT": 1.0771046605242481e-05,
                    "KNACLPPT": 0.011832889555603935,
                    "KNACO3ION": 0.008488007914963163,
                    "KNAHCO3AQ": 0.02673682534381605,
                    "KNAHCO3PPT": 0.0001587786173616354,
                    "KNAOH.1H2O": 11.940983026389624,
                    "KNAOHPPT": 618.6769257173816,
                    "KTRONAPPT": 1.3614740802529445e-10,
                    "KWEGSCHEIDERPPT": 1.0616997108576684e-17
                }
            },
            "kValuesMBased": {
                "unit": "",
                "values": {
                    "KH2OVAP": 8.195673362128641,
                    "KCO2VAP": 0.01938434492530035,
                    "KBENZENEVAP": 0.07288023574411047,
                    "KHCLVAP": 0.4263564810054514,
                    "KCO2AQ": 5.391385128820872e-07,
                    "KHCLAQ": 357346.9297577968,
                    "KH2O": 5.3645131731839625e-14,
                    "KHCO3ION": 6.776506218271648e-11,
                    "KNA2CO3.10H2O": 5.980538177919528,
                    "KNA2CO3.1H2O": 0.6615628592848587,
                    "KNA2CO3.7H2O": 1.5457532637484566,
                    "KNA2CO3PPT": 1.842173439607153,
                    "KNACLPPT": 36.45909507883878,
                    "KNACO3ION": 0.47115446696888114,
                    "KNAHCO3AQ": 1.4841143905036516,
                    "KNAHCO3PPT": 0.4892232518246443,
                    "KNAOH.1H2O": 36792.148988474095,
                    "KNAOHPPT": 1906246.209078427,
                    "KTRONAPPT": 0.07174589592459862,
                    "KWEGSCHEIDERPPT": 0.05311528707354195
                }
            }
        }
    }
}
```

{% hint style="info" %}
**Properties in result.additionalProperties**: prescalingTendencies, prescalingIndex, scalingIndex,  scalingTendencies, vaporToInflowMoleFraction, kValuesXBased, kValuesMBased
{% endhint %}

### Phase summary

Provides a quick snapshot of possible phases (liquid1, vapor, liquid2, and solid) present in the system, this array has four JSON objects corresponding to each phase in the system. The table below describes the object in this array.

| result.phase.phaseSummary\[0->3] | type   | description                                               |
| -------------------------------- | ------ | --------------------------------------------------------- |
| phase                            | string | name of phase (same as **phase\_name** above)             |
| found                            | bool   | **true** => phase present, **false** => phase not present |

### Kinetic outputs

Kinetic calculation outputs will be shown if kinetic calculations are specified. Detailed kinetic outputs can be found [here](https://devdocs.olisystems.com/kinetic-calculation-outputs).
