Skip to content

v3.0.0

Compare
Choose a tag to compare
@SalvadorBrandolin SalvadorBrandolin released this 20 Feb 18:03
· 30 commits to main since this release
5ea457a

What's Changed

Problematic structures definition for each model are not longer needed. A big algorithm overhaul performed to achieve that.

News

New model available! Abdulelah-Gani property estimator: https://github.com/PEESEgroup/Pure-Component-Property-Estimation

Now properties estimated by properties estimators have units provided by the library Pint

Breaking changes

The function get_groups not longer exist. Each model is imported individually and get_groups is a method:

from ugropy import unifac, psrk, joback, abdulelah_gani

unifac_groups = unifac.get_groups("hexane")
psrk_groups = unifac.get_groups("hexane", search_multiple_solutions=True)

print(unifac_groups.subgroups)
print(psrk_groups.subgroups)

Gibbs excess models estimates de $R$ and $Q$ values of molecules:

print(unifac_groups.r, unifac_groups.q)

The Joback and Abdulelah-Gani models have all estimated properties on the output object:

joback_groups = joback.get_groups("hexane")

print(joback_groups.critical_temperature)

Check the tutorial for more information of all the new features of ugropy

Full Changelog: v2.0.7...v3.0.0