# FeOs-Core

[![crate](https://img.shields.io/crates/v/feos-core.svg)](https://crates.io/crates/feos-core)
[![documentation](https://docs.rs/feos-core/badge.svg)](https://docs.rs/feos-core)

Core traits and functionalities for the `feos` project.

The crate makes use of [generalized (hyper-) dual numbers](https://github.com/itt-ustutt/num-dual) to generically calculate exact partial derivatives from Helmholtz energy equations of state. The derivatives are used to calculate
- **properties**,
- **critical points**,
- and **phase equilibria**.

In addition to that, utilities are provided to assist in the handling of **parameters** for both molecular equations of state and (homosegmented) group contribution methods. Mainly as a simple test case, a **cubic** equation of state is published as part of this crate. Implementations of more sophisticated models can be found in the [feos](https://crates.io/crates/feos) crate.