Skip to main content

A Python library for polymerization kinetics and related chemical engineering calculations.

Project description

PolyKin

Test codecov PyPI - Downloads Ask DeepWiki

PolyKin is an open-source Python library for polymerization kinetics and related chemical engineering calculations. It is still at an early development stage, but the following modules can already be used:

  • Activity coefficient models
    • Ideal solution
    • Flory-Huggins
    • NRTL
    • Poly-NRTL
    • Scatchard-Hildebrand
    • UNIQUAC
    • Wilson
  • Copolymerization
    • Implicit penultimate model
    • Penultimate model
    • Terminal model
    • Mayo-Lewis equation (binary, ternary and multicomponent)
    • Monomer drift equation (binary and multicomponent)
    • Fitting methods
  • Equations of state
    • [50%] Cubic (Redlich-Kwong, Soave, Peng-Robinson)
    • Ideal gas
    • Sanchez-Lacombe
    • Virial equation
  • Database
  • Distributions
    • Flory
    • Log-normal
    • Poison
    • Schulz-Zimm
    • Weibull-Nycander-Gold
  • Flash solvers
    • 2-Phase PT, PV, TV
    • 3-Phase PT
  • Fluid Flow
    • Pressure drop and drag equations
    • Rheology
    • Safety valve sizing
  • Heat & Mass Transfer
    • Convection correlations
    • Heat exchanger equations
    • Transient diffusion equations
  • Kinetics
    • Arrhenius
    • Eyring
    • Propagation half-length
    • Termination composite model
  • Math
    • Joint confidence regions
    • Fixed-point solvers
    • Root solvers
    • Optimization solvers
  • Physical property correlations
    • Antoine
    • DIPPR
    • Wagner
    • Yaws
  • Reactors
    • Residence time distributions
  • Step-growth polymerization
    • Analytical solutions for $M_n$ and $M_w$
  • Transport properties (estimation methods, mixing rules, etc.)
    • Diffusivity
      • Binary gas mixtures
      • Binary liquid mixtures
      • Binary polymer solutions
      • Multicomponent polymer solutions
    • Thermal conductivity
      • Gases
      • Liquids
      • Polymer solutions
    • Viscosity
      • Gases
      • Liquids
      • Polymer solutions

Documentation

Please refer to the package homepage.

Tutorials

The main features of PolyKin are explained and illustrated through a series of tutorials based on Jupyter notebooks, which can be launched online via Binder.

MWD of a polymer blend

Installation

PolyKin currently runs on Python>=3.10. You can install it from PyPI via pip (or uv):

pip install polykin
# uv add polykin

Alternatively, you may install it directly from the source code repository:

pip install git+https://github.com/HugoMVale/polykin.git
# uv add git+https://github.com/HugoMVale/polykin.git

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polykin-0.8.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

polykin-0.8.0-py3-none-any.whl (247.5 kB view details)

Uploaded Python 3

File details

Details for the file polykin-0.8.0.tar.gz.

File metadata

  • Download URL: polykin-0.8.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for polykin-0.8.0.tar.gz
Algorithm Hash digest
SHA256 81f4d1f4e233ecf66e5b89e52992d297e88ebfe3c492c21b2f0c3cf9d611044d
MD5 9ad6fa9220df18468e4b2a73e95593a6
BLAKE2b-256 a426e89c4af90444b8d186cb27f1fbbc833fe797c95a885280513119f51e0602

See more details on using hashes here.

File details

Details for the file polykin-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: polykin-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 247.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for polykin-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04234d2bf73559ef971a94e157ddf175ace4533a95559c6a376fa7303f6591ba
MD5 b1d60a71013ab3dbc16f6e96cf23fe1a
BLAKE2b-256 b88c04590598c0ff6de5d8e226f8f0934cb7aa11eba7de95a5460066426395af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page