Skip to content

Commit e636242

Browse files
authored
Release v0.7.0 (#246)
1 parent a2c3176 commit e636242

File tree

15 files changed

+32
-18
lines changed

15 files changed

+32
-18
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.7.0] - 2024-05-21
810
### Added
911
- Added SAFT-VR Mie equation of state. [#237](https://github.com/feos-org/feos/pull/237)
1012
- Added ePC-SAFT equation of state. [#229](https://github.com/feos-org/feos/pull/229)

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "feos"
3-
version = "0.6.1"
3+
version = "0.7.0"
44
authors = ["Gernot Bauer <[email protected]>", "Philipp Rehner <[email protected]>"]
55
edition = "2021"
66
readme = "README.md"
@@ -24,9 +24,9 @@ crate-type = ["rlib", "cdylib"]
2424
[dependencies]
2525
quantity = { version = "0.8", optional = true }
2626
num-dual = "0.9"
27-
feos-core = { version = "0.6", path = "feos-core" }
28-
feos-dft = { version = "0.6", path = "feos-dft", optional = true }
29-
feos-derive = { version = "0.4", path = "feos-derive" }
27+
feos-core = { version = "0.7", path = "feos-core" }
28+
feos-dft = { version = "0.7", path = "feos-dft", optional = true }
29+
feos-derive = { version = "0.5", path = "feos-derive" }
3030
numpy = { version = "0.21", optional = true }
3131
ndarray = { version = "0.15", features = ["approx"] }
3232
petgraph = { version = "0.6", optional = true }
@@ -38,7 +38,7 @@ serde_json = "1.0"
3838
lazy_static = { version = "1.4", optional = true }
3939
indexmap = "2.0"
4040
rayon = { version = "1.7", optional = true }
41-
itertools = "0.12"
41+
itertools = "0.13"
4242
typenum = "1.16"
4343

4444
[dependencies.pyo3]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The following models are currently published as part of the `FeOs` framework
4343
|`saftvrqmie`|equation of state for quantum fluids and mixtures|||
4444
|`saftvrmie`|statistical associating fluid theory for variable range interactions of Mie form|||
4545

46-
The list is being expanded continuously. Currently under development are implementations of ePC-SAFT and a Helmholtz energy functional for the UV theory.
46+
The list is being expanded continuously. Currently under development are implementations of Helmholtz energy functionals for the UV theory and for SAFT-VR Mie.
4747

4848
Other public repositories that implement models within the `FeOs` framework, but are currently not part of the `feos` Python package, are
4949

feos-core/CHANGELOG.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## Unreleased
8+
9+
## [0.7.0] - 2024-05-21
810
### Added
911
- Added specific isochoric and isobaric heat capacities to the Python interface. [#223](https://github.com/feos-org/feos/pull/223))
1012
- Added `to_dict` method for `PyStateVec`. [#224](https://github.com/feos-org/feos/pull/224)
@@ -29,11 +31,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2931
- Updated `numpy` and `PyO3` dependencies to 0.21. [#238](https://github.com/feos-org/feos/pull/238)
3032

3133

32-
## [0.6.1] 2024-01-11
34+
## [0.6.1] - 2024-01-11
3335
### Fixed
3436
- Improved convergence of `tp_flash` for certain edge cases. [#219](https://github.com/feos-org/feos/pull/219)
3537

36-
## [0.6.0] 2023-12-19
38+
## [0.6.0] - 2023-12-19
3739
### Added
3840
- Added `EquationOfState::ideal_gas` to initialize an equation of state that only consists of an ideal gas contribution. [#204](https://github.com/feos-org/feos/pull/204)
3941
- Added `NoBinaryModelRecord` for models that do not use binary interaction parameters. [#211](https://github.com/feos-org/feos/pull/211)

feos-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "feos-core"
3-
version = "0.6.1"
3+
version = "0.7.0"
44
authors = ["Gernot Bauer <[email protected]>",
55
"Philipp Rehner <[email protected]"]
66
edition = "2021"

feos-core/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Add this to your `Cargo.toml`
2020

2121
```toml
2222
[dependencies]
23-
feos-core = "0.6"
23+
feos-core = "0.7"

feos-derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "feos-derive"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
authors = ["Gernot Bauer <[email protected]>", "Philipp Rehner <[email protected]>"]
55
edition = "2021"
66
readme = "README.md"

feos-dft/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.7.0] - 2024-05-21
810
### Changed
911
- Updated interfaces according to removal of `HelmholtzEnergyDual` and `HelmholtzEnergy` in `feos-core`. [#226](https://github.com/feos-org/feos/pull/226)
1012
- Changed return values of `HelmholtzEnergyFunctional::contributions` from `dyn FunctionalContribution` to `HelmholtzEnergyFunctional::Contribution`. [#226](https://github.com/feos-org/feos/pull/226)

feos-dft/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "feos-dft"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
authors = ["Philipp Rehner <[email protected]>", "Gernot Bauer <[email protected]>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
@@ -19,7 +19,7 @@ features = [ "rayon" ]
1919
[dependencies]
2020
quantity = { version = "0.8", optional = true }
2121
num-dual = "0.9"
22-
feos-core = { version = "0.6", path = "../feos-core" }
22+
feos-core = { version = "0.7", path = "../feos-core" }
2323
ndarray = "0.15"
2424
nalgebra = "0.32"
2525
rustdct = "0.7"

feos-dft/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Add this to your `Cargo.toml`
1717

1818
```toml
1919
[dependencies]
20-
feos-dft = "0.5"
20+
feos-dft = "0.7"
2121
```

src/association/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ impl<P: AssociationStrength> Association<P> {
234234
}
235235
}
236236

237+
/// Implementation of the association strength in the SAFT association model.
237238
pub trait AssociationStrength: HardSphereProperties {
238239
type Record: Copy;
239240
type BinaryRecord: Copy;

src/epcsaft/eos/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ use dispersion::Dispersion;
2020
use hard_chain::HardChain;
2121
use ionic::Ionic;
2222

23-
/// Customization options for the ePC-SAFT equation of state.
23+
/// Implemented variants of the ePC-SAFT equation of state.
2424
#[derive(Copy, Clone)]
2525
#[cfg_attr(feature = "python", pyo3::pyclass)]
2626
pub enum ElectrolytePcSaftVariants {
2727
Advanced,
2828
Revised,
2929
}
3030

31+
/// Customization options for the ePC-SAFT equation of state.
3132
#[derive(Copy, Clone)]
3233
pub struct ElectrolytePcSaftOptions {
3334
pub max_eta: f64,
@@ -47,6 +48,7 @@ impl Default for ElectrolytePcSaftOptions {
4748
}
4849
}
4950

51+
/// electrolyte PC-SAFT (ePC-SAFT) equation of state.
5052
pub struct ElectrolytePcSaft {
5153
pub parameters: Arc<ElectrolytePcSaftParameters>,
5254
pub options: ElectrolytePcSaftOptions,

src/epcsaft/parameters.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::sync::Arc;
1313

1414
use crate::epcsaft::eos::permittivity::PermittivityRecord;
1515

16-
/// PC-SAFT pure-component parameters.
16+
/// ePC-SAFT pure-component parameters.
1717
#[derive(Serialize, Deserialize, Clone, Default)]
1818
pub struct ElectrolytePcSaftRecord {
1919
/// Segment number
@@ -182,6 +182,7 @@ impl std::fmt::Display for ElectrolytePcSaftAssociationRecord {
182182
}
183183
}
184184

185+
/// ePC-SAFT binary interaction parameters.
185186
#[derive(Serialize, Deserialize, Clone, Default)]
186187
pub struct ElectrolytePcSaftBinaryRecord {
187188
/// Binary dispersion interaction parameter
@@ -280,6 +281,7 @@ impl ElectrolytePcSaftBinaryAssociationRecord {
280281
}
281282
}
282283

284+
/// Parameter set required for the ePC-SAFT equation of state.
283285
pub struct ElectrolytePcSaftParameters {
284286
pub molarweight: Array1<f64>,
285287
pub m: Array1<f64>,

src/saftvrmie/eos/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub(super) mod association;
1515
pub(crate) mod dispersion;
1616
use dispersion::{a_disp, a_disp_chain, Properties};
1717

18-
/// Customization options for the PC-SAFT equation of state and functional.
18+
/// Customization options for the SAFT-VR Mie equation of state.
1919
#[derive(Copy, Clone)]
2020
pub struct SaftVRMieOptions {
2121
pub max_eta: f64,
@@ -33,6 +33,7 @@ impl Default for SaftVRMieOptions {
3333
}
3434
}
3535

36+
/// SAFT-VR Mie equation of state.
3637
pub struct SaftVRMie {
3738
parameters: Arc<SaftVRMieParameters>,
3839
options: SaftVRMieOptions,

src/saftvrmie/parameters.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl std::fmt::Display for SaftVRMieRecord {
135135
}
136136
}
137137

138-
/// PC-SAFT binary interaction parameters.
138+
/// SAFT-VR Mie binary interaction parameters.
139139
#[derive(Serialize, Deserialize, Clone, Default)]
140140
pub struct SaftVRMieBinaryRecord {
141141
/// Binary dispersion energy interaction parameter
@@ -210,6 +210,7 @@ impl std::fmt::Display for SaftVRMieBinaryRecord {
210210
}
211211
}
212212

213+
/// Parameter set required for the SAFT-VR Mie equation of state.
213214
pub struct SaftVRMieParameters {
214215
pub molarweight: Array1<f64>,
215216
pub m: Array1<f64>,
@@ -497,6 +498,7 @@ impl HardSphereProperties for SaftVRMieParameters {
497498
}
498499

499500
/// Utilities for running tests
501+
#[doc(hidden)]
500502
pub mod test_utils {
501503
use super::*;
502504
use feos_core::parameter::Identifier;

0 commit comments

Comments
 (0)