fuellib.correlate.helpers.mass_fractions_to_mole_fractions
- fuellib.correlate.helpers.mass_fractions_to_mole_fractions(fuel, Yi)
Convert mass fractions (Yi) to mole fractions (Xi).
- Parameters:
fuel (Fuel) – Fuel object.
Yi (Quantity[ndarray[tuple[int]]]) – Mass fractions of each compound in the mixture.
- Returns:
num_compounds,).
- Return type:
Mole fractions of the compounds (shape