yaeos 3.1.0__cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
yaeos/__init__.py ADDED
@@ -0,0 +1,54 @@
1
+ """Yet Another Equation-Of-State (library).
2
+
3
+ Library to use EoS-based calculations. This main module imports all the
4
+ relevant constants, procedures and objects to have better access to them.
5
+ """
6
+
7
+ import importlib.metadata
8
+
9
+ import yaeos.constants as constants
10
+ import yaeos.envelopes as envelopes
11
+ from yaeos.gpec import GPEC
12
+ from yaeos.lib import yaeos_c
13
+ from yaeos.models.excess_gibbs import (
14
+ NRTL,
15
+ UNIFACDortmund,
16
+ UNIFACPSRK,
17
+ UNIFACVLE,
18
+ UNIQUAC,
19
+ )
20
+ from yaeos.models.residual_helmholtz.cubic_eos import (
21
+ HV,
22
+ MHV,
23
+ PSRK,
24
+ PengRobinson76,
25
+ PengRobinson78,
26
+ QMR,
27
+ QMRTD,
28
+ RKPR,
29
+ SoaveRedlichKwong,
30
+ )
31
+
32
+ __all__ = [
33
+ "envelopes",
34
+ "constants",
35
+ "GPEC",
36
+ "yaeos_c",
37
+ "SoaveRedlichKwong",
38
+ "PengRobinson76",
39
+ "PengRobinson78",
40
+ "RKPR",
41
+ "PSRK",
42
+ "QMR",
43
+ "QMRTD",
44
+ "NRTL",
45
+ "UNIFACDortmund",
46
+ "UNIFACPSRK",
47
+ "UNIFACVLE",
48
+ "UNIQUAC",
49
+ "MHV",
50
+ "HV",
51
+ ]
52
+
53
+
54
+ __version__ = importlib.metadata.version("yaeos")
yaeos/constants.py ADDED
@@ -0,0 +1,4 @@
1
+ """Constants module."""
2
+
3
+ # Ideal gas constant in L bar / K mol
4
+ R = 0.08314462618