fuellib.utils.utility.mixing_rule
- fuellib.utils.utility.mixing_rule(var_n, X, pseudo_prop='arithmetic')
Mixing rules for computing mixture properties.
- Parameters:
var_n (Quantity[ndarray[tuple[int]]]) – Individual compound properties.
X (Quantity[ndarray[tuple[int]]]) – Mole fractions of the compounds.
pseudo_prop (Literal['arithmetic', 'geometric']) – Type of mean (“arithmetic” or “geometric”).
- Returns:
Mixture property value.
- Return type:
Quantity[float]