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