///|
pub fn demo_benzene_toluene_bubble() -> EquilibriumPoint raise VleError {
bubble_temperature_k(
benzene_toluene(),
[0.45, 0.55],
1.01325,
low_k=340.0,
high_k=390.0,
)
}
///|
pub fn demo_ethanol_water_wilson() -> EquilibriumPoint raise VleError {
bubble_pressure_bar(
ethanol_water(),
[0.4, 0.6],
351.15,
model=ethanol_water_wilson(),
)
}
///|
pub fn demo_acetone_chloroform_nrtl() -> EquilibriumPoint raise VleError {
bubble_pressure_bar(
acetone_chloroform(),
[0.5, 0.5],
318.15,
model=acetone_chloroform_nrtl(),
)
}
///|
pub fn demo_benzene_toluene_relative_volatility() -> Double raise VleError {
relative_volatility(benzene(), toluene(), 353.15)
}