| Crates.io | feos-ad |
| lib.rs | feos-ad |
| version | 0.2.3 |
| created_at | 2025-01-08 13:31:30.050506+00 |
| updated_at | 2025-05-28 07:49:16.648312+00 |
| description | FeOs-AD - Implicit automatic differentiation of equations of state and phase equilibria. |
| homepage | https://github.com/feos-org |
| repository | https://github.com/feos-org/feos-ad |
| max_upload_size | |
| id | 1508584 |
| size | 172,178 |
The FeOs-AD crate builds on the implementation of phase equilibrium calculations in FeOs to provide implicit automatic differentiation of properties and phase equilibria based on Helmholtz energy equations of state. Derivatives can be determined for any inputs, like temperature or pressure, but also model parameters.
Derivatives are calculated using forward automatic differentiation with generalized (hyper-) dual numbers from the num-dual crate.
For now, the most important properties and phase equilibria are implemented:
The following models are implemented:
Just add the dependency to your Cargo.toml
feos-ad = "0.2"