Implementation of the PC(P)-SAFT equation of state123 and corresponding Helmholtz energy functional4 within the FeOs project. This project contains a Rust implementation as well as bindings to Python.
If you want to use feos-pcsaft
in Python, take a look at the feos
-repository. feos
contains multiple equation of state implementations in a single, easy-to-use Python package.
FeOs is a framework for equations of state and classical density function theory
You can learn more about the principles behind FeOs
here.
In addition to the source code for the Rust and Python packages, this repository contains JSON files with previously published parameters for the PC(P)-SAFT equation of state and corresponding group contribution methods. The parameter files can be read directly from Rust or Python.
Add this to your Cargo.toml
[dependencies]
feos-pcsaft = "0.1"
From within a Python virtual environment with maturin
installed, type
maturin build --release --out dist --no-sdist -m build_wheel/Cargo.toml