Differential equations

Functions to calculate the differential equations required for the Jacobian matrix/Newton-Raphson approach. Derivations of these equations can be found in the differentiation.ipynb notebook.

VolFe.differential_equations.CHOFe_CH_CO(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CH_CO2_2a(xg_O2_, xg_CO2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO2 (float) – Mole fraction of CO2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CH_CO_2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the C-H-O-Fe system with no dissolved H2, CH4, or CO in the melt.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CH_O2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CH_O2_2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the C-H-O-Fe system with no dissolved H2, CH4, or CO in the melt.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CH_O2_2a(xg_O2_, xg_CO2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO2 (float) – Mole fraction of CO2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CO_CO(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CO_CO2_2a(xg_O2_, xg_CO2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO2 (float) – Mole fraction of CO2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CO_CO_2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the C-H-O-Fe system with no dissolved H2, CH4, or CO in the melt.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CO_O2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CO_O2_2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the C-H-O-Fe system with no dissolved H2, CH4, or CO in the melt.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_CO_O2_2a(xg_O2_, xg_CO2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO2 (float) – Mole fraction of CO2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HC_H2O_2a(xg_O2_, xg_H2O_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_H2O for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2O (float) – Mole fraction of H2O in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HC_H2_2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_H2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HC_O2_2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HC_O2_2a(xg_O2_, xg_H2O_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2O (float) – Mole fraction of H2O in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HO_H2O_2a(xg_O2_, xg_H2O_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_H2O for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2O (float) – Mole fraction of H2O in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HO_H2_2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_H2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HO_O2_2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOFe_HO_O2_2a(xg_O2_, xg_H2O_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_O2 for the C-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2O (float) – Mole fraction of H2O in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CH_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CH_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_H2 for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CH_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CO_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CO_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_H2 for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CO_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CX_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_X with respect to xg_CO for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CX_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_X with respect to xg_H2 for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCH_CX_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_X with respect to xg_O2 for the C-H-O-X-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CH_CO(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CH_O2(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CH_X(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_X for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CO_CO(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CO_O2(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CO_X(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_X for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CX_CO(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_X with respect to xg_CO for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CX_O2(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_X with respect to xg_O2 for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OCX_CX_X(xg_O2_, xg_CO_, xg_X_, constants)[source]

Evaluate differential of wtg_C - wtg_X with respect to xg_X for the C-H-O-X-Fe system with O2, CO, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HC_H2(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_H2 for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HC_O2(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_O2 for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HC_X(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_X for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HO_H2(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_H2 for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HO_O2(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_O2 for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HO_X(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_X for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HX_H2(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_X with respect to xg_H2 for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HX_O2(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_X with respect to xg_O2 for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CHOXFe_OHX_HX_X(xg_O2_, xg_H2_, xg_X_, constants)[source]

Evaluate differential of wtg_H - wtg_X with respect to xg_X for the C-H-O-X-Fe system with O2, H2, and X as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_X (float) – Mole fraction of X in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.CH_CO2(xg_CO2_, values)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO2 for the C-H-O-Fe system with only H2O and CO2.

Parameters:
  • xg_CO2 (float) – Mole fraction of CO2 in the gas

  • values (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.COFe_O2(xg_O2_, values)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the C-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • values (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.COXFe_XC_CO(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_X - wtg_C with respect to xg_CO for the C-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.COXFe_XC_O2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_X - wtg_C with respect to xg_O2 for the C-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.COXFe_XO_CO(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_X - wtg_O with respect to xg_CO for the C-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.COXFe_XO_O2(xg_O2_, xg_CO_, constants)[source]

Evaluate differential of wtg_X - wtg_O with respect to xg_O2 for the C-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.HOFe_O2(xg_O2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_O2 for the H-O-Fe system with no dissolved H2 in the melt.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.HOFe_O2_2(xg_O2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_O2 for the H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.HOFe_O2_xenia(xg_O2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_O2 for Xenia’s H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.HOXFe_XH_H2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_X - wtg_H with respect to xg_H2 for the H-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.HOXFe_XH_O2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_X - wtg_H with respect to xg_O2 for the H-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.HOXFe_XO_H2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_X - wtg_O with respect to xg_H2 for the H-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.HOXFe_XO_O2(xg_O2_, xg_H2_, constants)[source]

Evaluate differential of wtg_X - wtg_O with respect to xg_O2 for the H-O-X-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CH_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CH_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_H2 for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CH_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CO_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CO_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_H2 for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CO_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CS_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_CO for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CS_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_H2 for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCH_CS_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CH_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CH_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CH_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_S2 for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CO_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CO_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CO_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CS_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_CO for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CS_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OCS_CS_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_S2 for the S-C-H-O-Fe system with O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HC_H2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_H2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HC_O2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_O2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HC_S2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_S2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HO_H2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_H2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HO_O2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HO_S2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HS_H2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HS_O2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe2_OHS_HS_S2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_S2 for the S-C-H-O-Fe system with O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CH_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CH_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CH_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_S2 for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CO_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CO_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CO_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CS_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_CO for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CS_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe3_OCS_CS_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_S2 for the S-C-H-O-Fe system with linear H2O and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CH_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CH_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_H2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CH_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CO_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CO_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_H2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CO_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CS_CO(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_CO for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CS_H2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_H2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCH_CS_O2(xg_O2_, xg_CO_, xg_H2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and H2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CH_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_CO for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CH_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CH_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_H with respect to xg_S2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CO_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_CO for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CO_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CO_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CS_CO(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_CO for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CS_O2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OCS_CS_S2(xg_O2_, xg_CO_, xg_S2_, constants)[source]

Evaluate differential of wtg_C - wtg_S with respect to xg_S2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, CO, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_CO (float) – Mole fraction of CO in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HC_H2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_H2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HC_O2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HC_S2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_C with respect to xg_S2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HO_H2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_H2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HO_O2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HO_S2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_S2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HS_H2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_H2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HS_O2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_O2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCHOFe_OHS_HS_S2(xg_O2_, xg_H2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_S2 for the S-C-H-O-Fe system with no dissolved H2, CO, CH4, or H2S in the melt and O2, H2, and S2 as guessed species.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_H2 (float) – Mole fraction of H2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCOFe_SC_O2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_C with respect to xg_O2 for the S-C-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCOFe_SC_S2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_C with respect to xg_S2 for the S-C-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCOFe_SO_O2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_O with respect to xg_O2 for the S-C-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SCOFe_SO_S2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_O with respect to xg_S2 for the S-C-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe2_HO_O2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_O2 for the S-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe2_HO_S2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_O with respect to xg_S2 for the S-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe2_HS_O2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_O2 for the S-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe2_HS_S2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_H - wtg_S with respect to xg_S2 for the S-H-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe_SH_O2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_H with respect to xg_O2 for the S-H-O-Fe system with no dissolved H2 or H2S.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe_SH_S2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_H with respect to xg_S2 for the S-H-O-Fe system with no dissolved H2 or H2S.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe_SO_O2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_O with respect to xg_O2 for the S-H-O-Fe system with no dissolved H2 or H2S.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SHOFe_SO_S2(xg_O2_, xg_S2_, constants)[source]

Evaluate differential of wtg_S - wtg_O with respect to xg_S2 for the S-H-O-Fe system with no dissolved H2 or H2S.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • xg_S2 (float) – Mole fraction of S2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float

VolFe.differential_equations.SOFe_O2(xg_O2_, constants)[source]

Evaluate differential of wtg_S - wtg_O with respect to xg_O2 for the S-O-Fe system.

Parameters:
  • xg_O2 (float) – Mole fraction of O2 in the gas

  • constants (list) – Constants required to evaluate differential

Returns:

Value of differential

Return type:

float