Vapor pressure and boiling temperature of a pure substanceΒΆ

[1]:
from feos.si import BAR, KELVIN
from feos.eos import EquationOfState, PhaseEquilibrium
from feos.pcsaft import PcSaftParameters

parameters = PcSaftParameters.from_json(
    substances=['methanol'],
    pure_path='../parameters/pcsaft/gross2002.json'
)
eos = EquationOfState.pcsaft(parameters)
[2]:
# returns pure substance vapor pressures
vapor_pressure = PhaseEquilibrium.vapor_pressure(eos, 350 * KELVIN)
vapor_pressure
[2]:
[156.9727578353079 kPa]
[3]:
# returns pure substance boiling temperatures
boiling_temperature = PhaseEquilibrium.boiling_temperature(eos, 15 * BAR)
boiling_temperature
[3]:
[426.1370718962783 K]