fuellib.correlate.mixture.mean_molecular_weight

fuellib.correlate.mixture.mean_molecular_weight(fuel, Yi=None)

Calculate the mean molecular weight of the mixture.

Parameters:
  • fuel (Fuel) – Fuel object.

  • Yi (Quantity[ndarray[tuple[int]]] | None) – Mass fractions of each compound. Defaults to fuel.Y_0 (initial mass fractions).

Returns:

Mean molecular weight of the mixture in kg/mol.

Return type:

Quantity[float]