fuellib.correlate.mixture.vapor_pressure_antoine_coeffs
- fuellib.correlate.mixture.vapor_pressure_antoine_coeffs(fuel, temp_vals=None, yi=None, *, units='mks', correlation='Lee-Kesler')
Estimate Antoine coefficients for vapor pressure of the mixture.
- Parameters:
fuel (Fuel) – Fuel object.
temp_vals (Quantity[ndarray[tuple[int]]] | None) – Temperature range or nodes for Antoine fit in Kelvin. Defaults to [273.15, min(Tb_mix)].
yi (Quantity[ndarray[tuple[int]]] | None) – Mass fractions of each compound in the mixture. Defaults to fuel.y0 (initial mass fractions).
units (Literal['mks', 'cgs', 'dyne/cm^2', 'Pa']) – Units for pressure in fit. Defaults to “mks” (Pa).
correlation (Literal['Ambrose-Walton', 'Lee-Kesler']) – Correlation method. Defaults to “Lee-Kesler”.
- Returns:
Coefficients A, B, C, D.
- Raises:
ValueError – If units or temp_vals are invalid.
- Return type:
tuple[float, float, float, float]