Skip to content

Commit acc0b58

Browse files
prehnerg-bauer
andauthored
Release v0.4.0 (#128)
* Release v0.4.0 * bump version of feos-derive * update year on license * minor updates to readmes * Ran and updated all notebooks. Recipes all work but didnt change Co-authored-by: Gernot Bauer <bauer@itt.uni-stuttgart.de>
1 parent 1550c37 commit acc0b58

31 files changed

+745
-927
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
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.4.0] - 2023-01-27
810
### Added
911
- Added SAFT-VRQ Mie equation of state and Helmholtz energy functional for first order Feynman-Hibbs corrected Mie fluids. [#79](https://github.com/feos-org/feos/pull/79)
1012
- Added `estimator` module to documentation. [#86](https://github.com/feos-org/feos/pull/86)

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "feos"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Gernot Bauer <bauer@itt.uni-stuttgart.de>", "Philipp Rehner <prehner@ethz.ch>"]
55
edition = "2018"
66
readme = "README.md"
@@ -24,9 +24,9 @@ crate-type = ["rlib", "cdylib"]
2424
[dependencies]
2525
quantity = "0.6"
2626
num-dual = "0.6"
27-
feos-core = { version = "0.3", path = "feos-core" }
28-
feos-dft = { version = "0.3", path = "feos-dft", optional = true }
29-
feos-derive = { version = "0.1", path = "feos-derive" }
27+
feos-core = { version = "0.4", path = "feos-core" }
28+
feos-dft = { version = "0.4", path = "feos-dft", optional = true }
29+
feos-derive = { version = "0.2", path = "feos-derive" }
3030
numpy = { version = "0.18", optional = true }
3131
ndarray = { version = "0.15", features = ["approx"] }
3232
petgraph = { version = "0.6", optional = true }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The following models are currently published as part of the `FeOs` framework
3838
|`uvtheory`|equation of state for Mie fluids and mixtures|||
3939
|`saftvrqmie`|equation of state for quantum fluids and mixtures|||
4040

41-
The list is being expanded continuously. Currently under development are implementations of ePC-SAFT, a Helmholtz energy functional for the UV theory, and SAFT-VRQ-Mie.
41+
The list is being expanded continuously. Currently under development are implementations of ePC-SAFT and a Helmholtz energy functional for the UV theory.
4242

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

@@ -66,7 +66,7 @@ In addition to that, utilities are provided to assist in the handling of **param
6666
- Modeling of heterosegmented molecules, including branched molecules.
6767
- Functionalities for calculating surface tensions, adsorption isotherms, pair correlation functions, and solvation free energies.
6868

69-
## Features
69+
## Cargo features
7070

7171
Without additional features activated, the command
7272
```

docs/tutorials/dft/pcsaft/pcsaft_surface_tension.ipynb

Lines changed: 26 additions & 52 deletions
Large diffs are not rendered by default.

docs/tutorials/eos/pcsaft/pcsaft_entropy_scaling.ipynb

Lines changed: 9 additions & 25 deletions
Large diffs are not rendered by default.

docs/tutorials/eos/pcsaft/pcsaft_phase_diagram.ipynb

Lines changed: 57 additions & 67 deletions
Large diffs are not rendered by default.

docs/tutorials/eos/pcsaft/pcsaft_state.ipynb

Lines changed: 32 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
{
1515
"cell_type": "code",
16-
"execution_count": 4,
16+
"execution_count": 1,
1717
"metadata": {},
1818
"outputs": [],
1919
"source": [
@@ -44,7 +44,7 @@
4444
},
4545
{
4646
"cell_type": "code",
47-
"execution_count": 5,
47+
"execution_count": 2,
4848
"metadata": {},
4949
"outputs": [],
5050
"source": [
@@ -70,7 +70,7 @@
7070
},
7171
{
7272
"cell_type": "code",
73-
"execution_count": 6,
73+
"execution_count": 3,
7474
"metadata": {},
7575
"outputs": [
7676
{
@@ -84,7 +84,7 @@
8484
"T = 300.15000 K, ρ = 7.51820 kmol/m³"
8585
]
8686
},
87-
"execution_count": 6,
87+
"execution_count": 3,
8888
"metadata": {},
8989
"output_type": "execute_result"
9090
}
@@ -112,7 +112,7 @@
112112
},
113113
{
114114
"cell_type": "code",
115-
"execution_count": 7,
115+
"execution_count": 4,
116116
"metadata": {},
117117
"outputs": [
118118
{
@@ -147,7 +147,7 @@
147147
},
148148
{
149149
"cell_type": "code",
150-
"execution_count": 8,
150+
"execution_count": 5,
151151
"metadata": {},
152152
"outputs": [
153153
{
@@ -170,7 +170,7 @@
170170
},
171171
{
172172
"cell_type": "code",
173-
"execution_count": 9,
173+
"execution_count": 6,
174174
"metadata": {},
175175
"outputs": [
176176
{
@@ -200,7 +200,7 @@
200200
},
201201
{
202202
"cell_type": "code",
203-
"execution_count": 10,
203+
"execution_count": 7,
204204
"metadata": {},
205205
"outputs": [
206206
{
@@ -229,7 +229,7 @@
229229
},
230230
{
231231
"cell_type": "code",
232-
"execution_count": 13,
232+
"execution_count": 8,
233233
"metadata": {},
234234
"outputs": [
235235
{
@@ -274,7 +274,7 @@
274274
},
275275
{
276276
"cell_type": "code",
277-
"execution_count": 14,
277+
"execution_count": 9,
278278
"metadata": {},
279279
"outputs": [
280280
{
@@ -309,7 +309,7 @@
309309
},
310310
{
311311
"cell_type": "code",
312-
"execution_count": 15,
312+
"execution_count": 10,
313313
"metadata": {},
314314
"outputs": [
315315
{
@@ -342,7 +342,7 @@
342342
},
343343
{
344344
"cell_type": "code",
345-
"execution_count": 18,
345+
"execution_count": 11,
346346
"metadata": {},
347347
"outputs": [
348348
{
@@ -367,7 +367,7 @@
367367
},
368368
{
369369
"cell_type": "code",
370-
"execution_count": 20,
370+
"execution_count": 12,
371371
"metadata": {},
372372
"outputs": [
373373
{
@@ -379,7 +379,7 @@
379379
"0 J/mol/K"
380380
]
381381
},
382-
"execution_count": 20,
382+
"execution_count": 12,
383383
"metadata": {},
384384
"output_type": "execute_result"
385385
}
@@ -413,7 +413,7 @@
413413
},
414414
{
415415
"cell_type": "code",
416-
"execution_count": 24,
416+
"execution_count": 13,
417417
"metadata": {},
418418
"outputs": [
419419
{
@@ -427,7 +427,7 @@
427427
"T = 519.33427 K, ρ = 2.65414 kmol/m³"
428428
]
429429
},
430-
"execution_count": 24,
430+
"execution_count": 13,
431431
"metadata": {},
432432
"output_type": "execute_result"
433433
}
@@ -439,7 +439,7 @@
439439
},
440440
{
441441
"cell_type": "code",
442-
"execution_count": 25,
442+
"execution_count": 14,
443443
"metadata": {},
444444
"outputs": [
445445
{
@@ -477,7 +477,7 @@
477477
},
478478
{
479479
"cell_type": "code",
480-
"execution_count": 35,
480+
"execution_count": 15,
481481
"metadata": {},
482482
"outputs": [
483483
{
@@ -493,7 +493,7 @@
493493
"phase 1: T = 341.53511 K, ρ = 7.07977 kmol/m³"
494494
]
495495
},
496-
"execution_count": 35,
496+
"execution_count": 15,
497497
"metadata": {},
498498
"output_type": "execute_result"
499499
}
@@ -508,7 +508,7 @@
508508
},
509509
{
510510
"cell_type": "code",
511-
"execution_count": 36,
511+
"execution_count": 16,
512512
"metadata": {},
513513
"outputs": [
514514
{
@@ -522,7 +522,7 @@
522522
"T = 341.53511 K, ρ = 7.07977 kmol/m³"
523523
]
524524
},
525-
"execution_count": 36,
525+
"execution_count": 16,
526526
"metadata": {},
527527
"output_type": "execute_result"
528528
}
@@ -533,7 +533,7 @@
533533
},
534534
{
535535
"cell_type": "code",
536-
"execution_count": 37,
536+
"execution_count": 17,
537537
"metadata": {},
538538
"outputs": [
539539
{
@@ -547,7 +547,7 @@
547547
"T = 341.53511 K, ρ = 36.63788 mol/m³"
548548
]
549549
},
550-
"execution_count": 37,
550+
"execution_count": 17,
551551
"metadata": {},
552552
"output_type": "execute_result"
553553
}
@@ -558,7 +558,7 @@
558558
},
559559
{
560560
"cell_type": "code",
561-
"execution_count": 38,
561+
"execution_count": 18,
562562
"metadata": {},
563563
"outputs": [
564564
{
@@ -596,7 +596,7 @@
596596
},
597597
{
598598
"cell_type": "code",
599-
"execution_count": 39,
599+
"execution_count": 19,
600600
"metadata": {},
601601
"outputs": [],
602602
"source": [
@@ -610,7 +610,7 @@
610610
},
611611
{
612612
"cell_type": "code",
613-
"execution_count": 40,
613+
"execution_count": 20,
614614
"metadata": {},
615615
"outputs": [
616616
{
@@ -622,7 +622,7 @@
622622
" ('Dispersion', -750.1133884410586 kJ)]"
623623
]
624624
},
625-
"execution_count": 40,
625+
"execution_count": 20,
626626
"metadata": {},
627627
"output_type": "execute_result"
628628
}
@@ -633,7 +633,7 @@
633633
},
634634
{
635635
"cell_type": "code",
636-
"execution_count": 41,
636+
"execution_count": 21,
637637
"metadata": {},
638638
"outputs": [
639639
{
@@ -645,7 +645,7 @@
645645
" ('Dispersion', -260.2189020162783 MPa)]"
646646
]
647647
},
648-
"execution_count": 41,
648+
"execution_count": 21,
649649
"metadata": {},
650650
"output_type": "execute_result"
651651
}
@@ -656,7 +656,7 @@
656656
},
657657
{
658658
"cell_type": "code",
659-
"execution_count": 42,
659+
"execution_count": 22,
660660
"metadata": {},
661661
"outputs": [
662662
{
@@ -668,7 +668,7 @@
668668
" ('Dispersion', -64.60937326973789 kJ/mol)]"
669669
]
670670
},
671-
"execution_count": 42,
671+
"execution_count": 22,
672672
"metadata": {},
673673
"output_type": "execute_result"
674674
}
@@ -688,7 +688,6 @@
688688
]
689689
},
690690
{
691-
"attachments": {},
692691
"cell_type": "markdown",
693692
"metadata": {},
694693
"source": [
@@ -797,13 +796,6 @@
797796
"\n",
798797
"Hopefully you found this example helpful. If you have comments, critique or feedback, please let us know and consider [opening an issue on github](https://github.com/feos-org/feos/issues)."
799798
]
800-
},
801-
{
802-
"cell_type": "code",
803-
"execution_count": null,
804-
"metadata": {},
805-
"outputs": [],
806-
"source": []
807799
}
808800
],
809801
"metadata": {
@@ -822,7 +814,7 @@
822814
"name": "python",
823815
"nbconvert_exporter": "python",
824816
"pygments_lexer": "ipython3",
825-
"version": "3.6.9 (default, Nov 25 2022, 14:10:45) \n[GCC 8.4.0]"
817+
"version": "3.8.6"
826818
},
827819
"vscode": {
828820
"interpreter": {

0 commit comments

Comments
 (0)