GNNPCSAFT CAPE-OPEN
GNNPCSAFT CAPE-OPEN is a CAPE-OPEN property-package implementation based on GNNPCSAFT. It uses Graph Neural Networks (GNN) to estimate pure-component parameters for the PC-SAFT equation of state.
FeOs performs the PC-SAFT thermodynamic calculations, including VLE/LLE. Comtypes implements the CAPE-OPEN COM interfaces. The property package is currently supported on Windows only.
The thermodynamic calculations currently use residual properties only. Ideal-gas contributions are not implemented and are outside the current scope. The residual PH and PS equilibrium paths are implemented without ideal-gas contributions; calculations that require ideal-gas properties are not supported yet.
Other implementations with GNNPCSAFT:
How to Use
Installation
You need Python 3.10 or newer on Windows.
Installing the GNNPCSAFT CAPE-OPEN Property Package Server
pip install GNNPCSAFTPropertyPackage
The package installs the GNNPCSAFTPropertyPackage command and its CAPE-OPEN
type library.
Registering the Server
GNNPCSAFTPropertyPackage.exe -regserver
After registering the server, you can use it in any CAPE-OPEN compliant software.
Unregistering the Server
GNNPCSAFTPropertyPackage.exe -unregserver
Running the Python tests
Install the development test tools, then run the Python test suite:
python.exe -m pip install -e ".[dev]"
python.exe -m pytest -q
The test suite includes unit and CAPE-OPEN interface tests. It also discovers
the supplied .fsd fixtures through tests/test_coco.py. Those integration
tests are skipped when COFEStand.exe is not installed.
Running the COCO integration tests
The flowsheet fixtures are solved headlessly with COFEStand. They cover flash and LLE scenarios, CO2 mixtures, absorber cases, and a distillation case. The fixtures that use ChemSep also require ChemSep to be installed and available to COCO.
The default COFEStand locations are:
C:\Program Files\COCO\x64\COFEStand.exe
C:\Program Files\COCO\win32\COFEStand.exe
For another installation location, set COFE_STAND to the full path of
COFEStand.exe before running:
$env:COFE_STAND = "C:\path\to\COFEStand.exe"
python.exe -m pytest tests/test_coco.py -v
License
GNU General Public License v3.0
Metadata
Release files for GNNPCSAFTPropertyPackage 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gnnpcsaftpropertypackage-1.0.0.tar.gz | 65.1 kB | Without provenance | Details for gnnpcsaftpropertypackage-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gnnpcsaftpropertypackage-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for gnnpcsaftpropertypackage-1.0.0-py3-none-any.whl |
Total release size: 139.0 kB
Release files / gnnpcsaftpropertypackage-1.0.0.tar.gz
| Download URL | gnnpcsaftpropertypackage-1.0.0.tar.gz |
|---|---|
| Size | 65.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f23c9236a7c3598bcfddab7da3814e0933ba885d11da698fbea8e1a5483321b
|
|
BLAKE2b-256 checksum How to use checksums |
7e3b95ca4ef6ed5ca03ce6253bfad4262b73698f36faf6e5fded953523fa04e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / gnnpcsaftpropertypackage-1.0.0-py3-none-any.whl
| Download URL | gnnpcsaftpropertypackage-1.0.0-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b99eccfad11f686cbf3e0f24a23e1e9873f6ad7ef0c8c741fda6d938c27246be
|
|
BLAKE2b-256 checksum How to use checksums |
3e18fb8fc3614650607c6ebc775df1f635218816bde1410af88fe1d5e03e6f2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for GNNPCSAFTPropertyPackage 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.