Skip to main content

UNIFAC

An implementation of the group contribution method of the Dortmund modification of UNIFAC. Calculates the activity coeficients of species in a mixture based on functional group parameters

""" from unifac import Unifac_Dortmund

Set system parameters

smiles_lst = ["CCO", "CC(=O)C","CC=CC"] # NA x_lst=[1/3, 1/3, 1/3] # NA T=298 # K

mixture=Unifac_Dortmund(smiles_lst,x_lst,T)

Returns activity coefficient of component 0 in the mixture, according to the order in which the components were passed.

print(mixture.gamma_singular(0))

Returns activity coefficient of all components in the mixture according to the order in which componenets were passed

print(mixture.gamma_total())

stability analysis

mixture.is_stable_local() # computes local stability (spinodal)

mixture.is_stable_global() # computes global stability (binodal)

mixture.is_stable() # computes first local stability (cheap), and only if that is True it proceeds to calculate global stability (expensive)

"""

Metadata

Release files for unifac 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unifac 0.1.0
File Size Uploaded Provenance Actions
unifac-0.1.0.tar.gz 71.7 kB Without provenance Details for unifac-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for unifac 0.1.0
File Interpreter ABI Platform Actions
unifac-0.1.0-py3-none-any.whl Python 3 none any Details for unifac-0.1.0-py3-none-any.whl

Total release size: 143.0 kB

Release files / unifac-0.1.0.tar.gz

Download URL unifac-0.1.0.tar.gz
Size 71.7 kB
Tags Source
SHA-256 checksum
How to use checksums
37491f920308549d746aac5a1e4abeedb13257d42881c6e9f1f208b0397b6d4c
BLAKE2b-256 checksum
How to use checksums
00d70bafe22254f5c5e9687d590ba03b4f31be45337025a5e5a8e6cb44f461c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / unifac-0.1.0-py3-none-any.whl

Download URL unifac-0.1.0-py3-none-any.whl
Size 71.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ee9ddf56c83cc11163b1a77d4019d0a4624d892eb2f60471af49f35dddea0b5
BLAKE2b-256 checksum
How to use checksums
affd8d3bdff96285e82ab2eabe50a95caa645d550946216df92478da4205b11a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for unifac 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page