Skip to guide

Tool guide

Pytherm online

Calculate UNIQUAC or UNIFAC activities and binary crystalline-solute saturation.

Models
UNIQUAC or classic UNIFAC
Parameters
Explicit user-supplied CSVs
Modes
Activities or binary solid solubility
On this page

Overview

Pytherm evaluates liquid nonideality with UNIQUAC or classic UNIFAC using parameters you supply. Calculate component activities and excess molar Gibbs energy, or estimate the saturation composition of a pure crystalline solute in a binary liquid.

Use it to investigate composition-dependent departures from ideal mixing or how a parameterized liquid model changes a solid-solubility hypothesis. Parameter provenance and applicability matter as much as numerical success.

Method & workflow

UNIQUAC uses molecular size/surface parameters and directed component interactions. Classic UNIFAC uses explicit subgroup assignments, group parameters, and directed main-group interactions. The Pytherm project describes the public activity-model library.

Binary Solid Solubility balances the first component’s liquid activity with a pure-solid fusion term: ln(xγ) = −ΔHfus/R × (1/T − 1/Tm). This treatment omits heat-capacity corrections and liquid–liquid phase-stability analysis.

Illustrative example: examine liquid nonideality

  1. Select Activity Coefficients and UNIQUAC for a binary mixture with independently sourced parameters.
  2. Upload r/q values and both directed off-diagonal interactions.
  3. Calculate at 298.15 K if that lies within the parameter calibration range.
  4. Repeat at other compositions with the same temperature and parameter convention; inspect activities and excess Gibbs energy.

This proposed study supplies no invented interaction coefficients or calculated activities.

Inputs & settings

Upload model-specific CSVs, up to 1 MB each, with the exact headers:

File UNIQUAC Classic UNIFAC
Component Parameters Name,Mole Fraction,r,q Name,Mole Fraction,Groups
Interaction Parameters From,To,A,B (K) From,To,A (K)
Group Parameters Not used Group,Main Group,R,Q

Use 2–8 components, unique names, and positive mole fractions summing to one. UNIFAC group expressions such as 2*CH3 4*CH2 must reference the supplied group table. No automatic molecular fragmentation or bundled parameter database is provided.

Supply every directed off-diagonal pair once; reversing From and To is a different interaction. UNIQUAC uses τij = exp(−Aij − Bij/T); UNIFAC uses ψij = exp(−Aij/T). Do not substitute coefficients from another convention without a valid conversion. Group R and Q must be positive.

Setting Default Meaning
Mode / Activity Model Activity Coefficients / UNIQUAC Switch both explicitly when needed.
Temperature (K) 298.15 Stay within the parameter calibration range.
Solute Melting Point (K) 400 Binary saturation only; replace with the correct crystal-form value, above the calculation temperature.
Solute Fusion Enthalpy (J/mol) 20,000 Binary saturation only; replace with the value for that same polymorph.

Saturation mode requires exactly two components, solute first. Submitted fractions are replaced by the solved saturation composition. Use parameters you are authorized to use.

Results & interpretation

results.csv reports activity coefficients and activities, plus saturation mole fractions in the solid-solubility mode. summary.csv reports excess molar Gibbs energy in J/mol. Activity is xγ in the liquid model; it is not a concentration in mol/L or a weight-percent loading.

A coefficient above or below one indicates a deviation from ideal activity at that state; it does not alone establish liquid phase stability. A saturation root can require further phase analysis in a strongly nonideal mixture because liquid–liquid separation is not tested here.

Keep CSVs, parameter sources and conventions, temperature, mode, model, and fusion properties with the results. For dry drug–polymer saturation, see COSMOPharm; for supported vapor–liquid mixtures, see ThermoPack. Neither is interchangeable with this liquid-activity calculation.

Get started

Run Pytherm on Neurosnap

  1. Prepare your inputs

    Check the tool's accepted formats and molecular requirements. Keep a copy of the exact inputs.

  2. Configure the calculation

    Open the tool, supply your inputs, and review the available settings and credit estimate.

  3. Submit and follow the job

    Submit once and save the job ID. Track execution in your workspace.

  4. Review the results

    Inspect the returned outputs in context and preserve the settings needed to reproduce your analysis.

Frequently asked questions

Can Pytherm assign UNIFAC groups from a molecule?

Not in this service. Supply explicit group counts, group properties, and directed main-group interactions.

Are the example melting point and enthalpy predicted properties?

No. Replace them with independently established values for the first component and its selected crystalline form before using solid-solubility mode.

References & citation

When publishing results, please cite Neurosnap and the original methods supporting your research.

  1. Efimov, I. Pytherm: An open-source scientific tool for thermodynamic modeling. [Software]. https://github.com/PsiXYZ/pytherm

    View source
  2. Neurosnap platform

    Neurosnap Inc. Neurosnap: An online platform for computational biology and chemistry [Software]. (2022). https://neurosnap.ai/

    View source

Original publication

Your next calculation

Put the method to work.

Run scientific tools in your browser and keep inputs, jobs, and results together.