16 unstable releases (5 breaking)

0.6.1 Jan 11, 2024
0.6.0 Dec 19, 2023
0.5.1 Nov 23, 2023
0.4.2 Apr 3, 2023
0.1.1 Dec 22, 2021

#707 in Science

35 downloads per month
Used in 6 crates

MIT/Apache

510KB
10K SLoC

FeOs-Core

crate documentation

Core traits and functionalities for the feos project.

The crate makes use of generalized (hyper-) dual numbers 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 repository.

For information on how to implement your own equation of state, check out the documentation.

Installation

Add this to your Cargo.toml

[dependencies]
feos-core = "0.6"

Dependencies

~8–17MB
~208K SLoC