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

#683 in Science

Download history 4/week @ 2023-12-21 16/week @ 2024-01-11 53/week @ 2024-02-22 15/week @ 2024-02-29 5/week @ 2024-03-07 4/week @ 2024-03-14 28/week @ 2024-03-28 36/week @ 2024-04-04

72 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
~207K SLoC