fuellib.simulate.distillation.greenfield

ASTM D86 distillation curve simulation.

Implements the D86 model of Greenfield et al. (1998). Each numbered equation N of the paper is implemented by a private function _eq_N, and variable names follow the paper’s notation. The model is documented in docs/distillation.rst.

Module Attributes

N2_COEFFS

Coefficients of N2 for Greenfield et al. (1998) eq.

O2_COEFFS

Coefficients of O2 for Greenfield et al. (1998) eq.

CP_AIR

Coefficients of air (79 mol% N2, 21 mol% O2), Greenfield et al. (1998) eq.

HEATING_TIME_CONSTANT

Time constant in s for adjusting the heating rate.

Functions

distill

Simulate the ASTM D86 distillation curve with the Greenfield et al. model.

Classes

D86Apparatus([pressure, T_room, ...])

Apparatus and procedure parameters of the D86 model.

D86Result(time, volume_recovered, T_vapor, ...)

Time histories from a D86 simulation.

Thermo(fuel, P, *, ideal_solution, ideal_vapor)

Pure-component properties and vapor-liquid equilibrium on NumPy arrays.