Skip to main content

waterEoS

PyPI version License: GPL v3 Python versions

Overview

waterEoS is a Rust-accelerated Python package for computing thermodynamic and transport properties of supercooled water. It implements six supercooled-water equation-of-state models — Holten (2014), Caupin (2019), Duška (2020), Shi & Tanaka (2020), Grenke (2025), and Singh (2017) — and provides pass-through access to SeaFreeze water1 and IAPWS-95, all under a single SeaFreeze-compatible API.

Two-state equations of state

Liquid water's thermodynamic anomalies (density maximum, diverging compressibility and heat capacity upon supercooling) can be explained by treating water as a mixture of two interconvertible local structures: a high-density, disordered structure (state A) and a low-density, tetrahedral structure (state B). These "two-state" models predict a liquid-liquid critical point (LLCP) deep in the supercooled regime, below which water can separate into two distinct liquid phases (HDL-rich and LDL-rich). waterEoS implements four such models:

  • Holten, Sengers & Anisimov (2014) -- The foundational two-state EOS for supercooled water. Uses a Gibbs-energy (pressure-additive) mixing rule, fitted to experimental data at positive pressures up to 400 MPa. Places the LLCP at 228 K, 0 MPa.
  • Caupin & Anisimov (2019) -- Extends the two-state framework to negative pressures (stretched water), connecting the liquid-liquid spinodal to the liquid-vapor spinodal in a unified description. Places the LLCP at 218 K, 72 MPa. An optional caupin2019_kim variant uses the with-Kim parameter set from Table II of the same paper, which incorporates the Kim et al. (2017) X-ray scattering data and places the LLCP at 219 K, 59 MPa.
  • Duska (2020) -- Uses a volume-additive mixing rule (rather than Gibbs-energy mixing), yielding an explicit equation of state in volume and temperature ("EOS-VaT"). Fitted over a broader temperature range up to 370 K. Places the LLCP at 221 K, 54 MPa.
  • Shi & Tanaka (2020) -- A hierarchical two-state EOS in which the order parameter is built from a coarse-grained "locally favored structure" fraction. Reproduces the IAPWS-95 liquid surface to ~0.05% in density and places the LLCP well below experimentally accessible temperatures, at 184 K, 173 MPa, so that the observed anomalies are attributed to the two-state feature itself rather than proximity to the critical point.

All four return 43 thermodynamic properties: 15 mixture properties, 14 per state (A and B), plus the tetrahedral fraction x.

Additional models

  • Grenke & Elliott (2025) -- An empirical Tait-Tammann correlation for supercooled water (not a two-state model). Returns standard thermodynamic properties without per-state decomposition.
  • Singh, Issenmann & Caupin (2017) -- A two-state transport model that predicts viscosity, self-diffusion coefficient, and rotational correlation time. Uses Holten (2014) as its thermodynamic backbone.
  • Shi & Tanaka (2020) transport -- A companion transport model (shi_tanaka2020_transport) for viscosity, self-diffusion, and rotational relaxation, coupled to the same hierarchical two-state framework as shi_tanaka2020 rather than to Holten. Returns all shi_tanaka2020 thermodynamic outputs plus eta, D, and tau_r.
  • SeaFreeze water1 -- A pass-through to SeaFreeze's GLBF tensor-product B-spline representation of liquid water (Journaux et al., 2020). Valid 240–501 K, 0–2300 MPa.
  • IAPWS-95 -- A pass-through to the IAPWS-95 reference equation of state for ordinary water (Wagner & Pruß, 2002), accessed via the same SeaFreeze GLBF spline machinery. Provides the canonical reference values that the supercooled-water models above are aligned to.
  • Water vapor -- The vapor phase (vapor) as a Gibbs function of temperature and pressure: the IAPWS-95 ideal gas with the second and third virial coefficients of the IAPWS-95 residual part. It is on the same reference state as the liquids and the SeaFreeze ices, so equating Gibbs energies gives sublimation and saturation pressures. See Water Vapor.

Web App

Try waterEoS interactively at watereos-visualizer.up.railway.app

The web app includes a Property Explorer, an EoS phase diagram viewer (per model: spinodals, binodal, LLCP, TMD, Widom line, Kauzmann, ice liquidus, homogeneous nucleation), an H₂O solid-liquid-vapor phase diagram with T–V, T–P, and 3-D P–T–V projections (Liquid + Ice Ih, II, III, V, VI, VII/X + Vapor, with L–V saturation and Ih–V sublimation curves), a model comparison tool, and a point calculator.

waterEoS web app
The waterEoS web app — a unified toolkit for ten equation-of-state models.

Property Explorer — 3D Density Surface
3D density surface for Duska (2020) with phase boundaries and interactive hover.

Property Explorer — Volume Isobars
Specific volume isobars with spinodal, binodal, and LLCP for Duska (2020).

H2O P-T-V Phase Diagram
3D P-T-V phase diagram of H₂O showing stability fields for liquid water, Ice Ih, II, III, V, and VI.

Installation

pip install waterEoS

Pre-built wheels for Linux (x86_64, aarch64), macOS (Intel, Apple Silicon), and Windows include the compiled Rust backend automatically. On other platforms, pip installs from source with a pure Python fallback.

Quick Start

import numpy as np
from watereos import getProp

# Single point: 0.1 MPa, 300 K
PT = np.array([[0.1], [300.0]], dtype=object)
out = getProp(PT, 'duska2020')
print(f"Density: {out.rho[0,0]:.2f} kg/m³")
print(f"Cp:      {out.Cp[0,0]:.1f} J/(kg·K)")
print(f"x:       {out.x[0,0]:.4f}")

Simple API

For quick calculations without constructing SeaFreeze-style arrays, use compute():

from watereos import compute

out = compute(T_K=300, P_MPa=0.1, model='caupin2019')
print(f"Density: {out.rho[0,0]:.2f} kg/m³")

# Also accepts arrays (evaluates on the full P x T grid)
out = compute(T_K=[250, 275, 300], P_MPa=[0.1, 50, 100], model='holten2014')
# out.rho has shape (3, 3)

Available Models

Model key Reference LLCP (T, P)
'holten2014' Holten, Sengers & Anisimov, J. Phys. Chem. Ref. Data 43, 014101 (2014) 228.2 K, 0 MPa
'caupin2019' Caupin & Anisimov, J. Chem. Phys. 151, 034503 (2019) 218.1 K, 72.0 MPa
'caupin2019_kim' Caupin & Anisimov, J. Chem. Phys. 151, 034503 (2019), Table II (with-Kim variant); Kim et al., Science 358, 1589 (2017) 219.47 K, 58.74 MPa
'duska2020' Duska, J. Chem. Phys. 152, 174501 (2020) 220.9 K, 54.2 MPa
'shi_tanaka2020' Shi & Tanaka, PNAS 117, 26591 (2020) 184 K, 173 MPa
'shi_tanaka2020_transport' Shi & Tanaka, PNAS 117, 26591 (2020), Tables S2/S3 (transport) 184 K, 173 MPa
'grenke2025' Grenke & Elliott, J. Phys. Chem. B 129, 1997 (2025) -- (empirical)
'singh2017' Singh, Issenmann & Caupin, PNAS 114, 4312 (2017) -- (transport)
'water1' SeaFreeze water1 (pass-through) --
'IAPWS95' SeaFreeze IAPWS-95 (pass-through) --
'vapor' Water vapor: IAPWS-95 ideal gas + second and third virial terms (Wagner & Pruß, 2002) -- (vapor)

Validity Ranges

The three two-state models accept any (T, P) input without raising errors, but results are only physically meaningful within the ranges below. The "paper-stated" range is where each model was validated by its authors; the "code-accessible" range is where the code runs without numerical failure (though results outside the paper range may be unphysical).

Model Paper-stated validity Code-accessible range
'holten2014' T_H(P)–300 K, 0–400 MPa Unbounded (any T, P)
'caupin2019' ~200–300 K, -140–400 MPa Unbounded (any T, P)
'caupin2019_kim' ~200–300 K, -140–400 MPa Unbounded (any T, P)
'duska2020' ~200–370 K, ~-150 to 400 MPa (paper-validated 0–100 MPa; degrades at negative P) Unbounded (any T, P)
'shi_tanaka2020' ~180–320 K, -110 to 200 MPa (paper-validated; agrees with IAPWS-95 to ~0.05% in ρ and a few % in κ_T, α, Cp across the liquid range) Unbounded (any T, P)
'shi_tanaka2020_transport' ~180–320 K, -110 to 200 MPa (η, D, τ_R coupled to the same hierarchical two-state framework) Unbounded (any T, P)
'grenke2025' 200–300 K, 0.1–400 MPa Unbounded (any T, P)
'water1' 240–501 K, 0–2300 MPa Enforced by SeaFreeze
'singh2017' 244–298 K (limited by homogeneous ice nucleation) Unbounded (any T, P)
'IAPWS95' 240–501 K, 0–2300 MPa Enforced by SeaFreeze
'vapor' 130–400 K, from zero pressure to saturation / sublimation and moderately beyond (0.25 MPa at 400 K) Any T, P > 0; NaN where the virial series has no meaning (far beyond saturation)

Notes:

  • T_H(P) is the homogeneous ice nucleation temperature (~235 K at 0.1 MPa, ~181 K at 200 MPa).
  • Duska (2020) was fitted to data at positive pressures only; negative-pressure extrapolation is unvalidated.
  • Caupin (2019) is the only model explicitly validated at negative pressures (stretched water).
  • Grenke (2025) is a direct empirical Tait-Tammann correlation, not a two-state model. It has no x, _A, or _B outputs.
  • Singh (2017) is a transport properties model that uses Holten (2014) as its thermodynamic backbone. It returns all Holten thermodynamic properties plus eta, D, and tau_r. Its validity range matches Holten (2014).
  • Shi & Tanaka (2020) is the only two-state model in waterEoS that places the LLCP well below experimentally accessible temperatures (184 K vs ~220 K for Holten/Caupin/Duska); the paper argues that the LLCP has negligible impact on observed anomalies in the liquid regime, which are instead driven by the two-state feature itself.
  • shi_tanaka2020_transport uses the same hierarchical two-state framework as shi_tanaka2020 for its dynamic order parameter, so its transport predictions (viscosity, self-diffusion, rotational relaxation) are internally consistent with its own thermodynamics — distinct from singh2017, which couples Singh's Arrhenius law to a Holten (2014) thermo backbone.
  • getProp() and compute() issue a UserWarning when inputs fall outside the suggested validity range. Results outside these ranges may be unphysical (e.g., negative compressibility or heat capacity).

Key Concepts

Two-state model

A theoretical framework that treats liquid water as a mixture of two interconvertible local structures:

  • State A (HDL) — high-density liquid, disordered hydrogen-bond network
  • State B (LDL) — low-density liquid, tetrahedral ice-like network

The equilibrium fraction of LDL is denoted x (ranges from 0 to 1). At low temperatures x increases, driving the density anomalies. Outputs suffixed _A and _B give individual-state properties; unsuffixed outputs are the equilibrium mixture.

Liquid–liquid critical point (LLCP)

The predicted critical point at the top of the liquid–liquid coexistence dome, analogous to the vapor–liquid critical point but between HDL and LDL phases. Each two-state model places it at a different (T, P): Holten at (228 K, 0 MPa), Caupin at (218 K, 72 MPa), Duska at (221 K, 54 MPa), and Shi & Tanaka at (184 K, 173 MPa). The LLCP has not yet been directly observed experimentally.

Spinodal

The thermodynamic stability limit: the curve in (T, P) space where the compressibility diverges and the free energy has an inflection point. Beyond the spinodal, the system is unstable and must separate into two phases. Two-state models have both an HDL spinodal and an LDL spinodal. Between the binodal and its spinodal a liquid is metastable; pass branch='hdl' or branch='ldl' to follow it there (see Metastable liquid branches).

Binodal

The liquid–liquid coexistence curve (also called the liquid–liquid transition line, LLTL): the set of (T, P) points where HDL and LDL have equal Gibbs energy and can coexist in equilibrium. Lies between the two spinodals.

Temperature of maximum density (TMD)

The temperature at which water's density reaches a maximum at a given pressure (equivalently, where the thermal expansivity α = 0). At 0.1 MPa this is about 277 K (4 °C). The TMD line shifts to lower temperatures at higher pressures.

Widom line

A line of maximum correlation length emanating from the LLCP into the one-phase region. In practice it is traced as the locus of isobaric heat capacity (Cp) maxima. It marks the crossover between HDL-like and LDL-like behavior above the critical pressure.

Kauzmann temperature

The temperature at which the entropy of the supercooled liquid equals that of ice Ih at the same pressure. Below this temperature the liquid would have lower entropy than the crystal — an apparent paradox — so it serves as a thermodynamic lower bound on the metastable liquid.

Usage

Grid Mode

Evaluate on a pressure x temperature grid (like SeaFreeze):

import numpy as np
from watereos import getProp

P = np.arange(0.1, 200, 10)    # pressures in MPa
T = np.arange(250, 370, 1)     # temperatures in K
PT = np.array([P, T], dtype=object)

out = getProp(PT, 'holten2014')
# out.rho has shape (len(P), len(T))

Scatter Mode

Evaluate at specific (P, T) pairs:

import numpy as np
from watereos import getProp

PT = np.empty(3, dtype=object)
PT[0] = (0.1, 273.15)    # 0.1 MPa, 273.15 K
PT[1] = (0.1, 298.15)    # 0.1 MPa, 298.15 K
PT[2] = (100.0, 250.0)   # 100 MPa, 250 K

out = getProp(PT, 'caupin2019')
# out.rho has shape (3,)

Individual Model Access

Each model can also be imported directly:

from duska_eos import getProp
from caupin_eos import getProp
from holten_eos import getProp
from grenke_eos import getProp
from singh_viscosity import getProp
from vapor_eos import getProp

List Available Models

from watereos import list_models
print(list_models())
# ['water1', 'IAPWS95', 'holten2014', 'caupin2019', 'caupin2019_kim', 'duska2020',
#  'grenke2025', 'singh2017', 'singh2017_caupin2019', 'singh2017_duska2020',
#  'shi_tanaka2020', 'shi_tanaka2020_transport', 'vapor']

Output Properties

All models return an object with the following attributes (the three two-state models also include x, _A, and _B suffixed properties; grenke2025 returns only the mixture properties):

Mixture (equilibrium) properties

Attribute Property Units
rho Density kg/m³
V Specific volume m³/kg
Cp Isobaric heat capacity J/(kg·K)
Cv Isochoric heat capacity J/(kg·K)
Kt Isothermal bulk modulus MPa
Ks Adiabatic bulk modulus MPa
Kp Pressure derivative of bulk modulus --
alpha Thermal expansivity 1/K
vel Speed of sound m/s
S Specific entropy J/(kg·K)
G Specific Gibbs energy J/kg
H Specific enthalpy J/kg
U Specific internal energy J/kg
A Specific Helmholtz energy J/kg
x Tetrahedral (LDL) fraction --

Per-state properties

Each property above (except x) is also available for the individual states with _A and _B suffixes:

  • rho_A, Cp_A, vel_A, ... (State A: high-density / disordered)
  • rho_B, Cp_B, vel_B, ... (State B: low-density / tetrahedral)

Total: 43 output properties (15 mixture + 14 state A + 14 state B).

All thermodynamic potentials (S, G, H, U, A) are aligned to the IAPWS-95 reference state.

Transport properties (singh2017 only)

Attribute Property Units
eta Dynamic viscosity Pa·s
D Self-diffusion coefficient m²/s
tau_r Rotational correlation time s
f LDS fraction (= x from Holten backbone) --

The singh2017 model also returns all Holten (2014) thermodynamic properties listed above.

Phase Diagram

Each model provides functions to compute the liquid-liquid phase diagram:

from duska_eos import compute_phase_diagram

result = compute_phase_diagram()
# result contains: T_LLCP, p_LLCP, T_spin_upper, p_spin_upper,
#                  T_spin_lower, p_spin_lower, T_binodal, p_binodal, ...

Available functions: find_LLCP(), compute_spinodal_curve(), compute_binodal_curve(), compute_phase_diagram().

Metastable liquid branches

Below the liquid-liquid critical point the two-state models have two liquid states between the spinodals: the high-density liquid (HDL) and the low-density liquid (LDL). By default getProp() and compute() return the one with the lowest Gibbs energy, so every property jumps at the liquid-liquid transition. The branch argument follows one liquid instead, through the transition and into its metastable range:

import numpy as np
from watereos import compute

T = np.arange(215.0, 185.0, -5.0)                 # cooling at 150 MPa
stable = compute(T, 150.0, 'caupin2019')            # jumps near 199.8 K
hdl = compute(T, 150.0, 'caupin2019', branch='hdl') # smooth metastable extension
ldl = compute(T, 150.0, 'caupin2019', branch='ldl')

stable.x[0]        # [0.189 0.190 0.190 0.189 0.842 0.866]
hdl.x[0]           # [0.189 0.190 0.190 0.189 0.186 0.182]
hdl.metastable[0]  # [False False False False  True  True]
ldl.x[0]           # [  nan   nan 0.760 0.810 0.842 0.866]
branch Returns
'stable' (default) The liquid with the lowest Gibbs energy. Unchanged from earlier versions.
'hdl' The high-density liquid (x ≤ 1/2): the stable liquid on the high-density side of the transition, and its metastable continuation down to the HDL spinodal.
'ldl' The low-density liquid (x ≥ 1/2): the stable liquid on the low-density side of the transition, and its metastable continuation up to the LDL spinodal.
  • Where the requested liquid does not exist (beyond its spinodal, or on the other side of the line x = 1/2 that continues the transition past the critical point), the mixture properties are NaN. The per-state properties (_A, _B) do not depend on the branch.
  • With 'hdl' or 'ldl' the output also has metastable, a boolean array that is True where the returned liquid is not the one with the lowest Gibbs energy. The transition is where it switches.
  • Available for holten2014, caupin2019, caupin2019_kim, duska2020, and for the singh2017* transport models, where it selects the branch of the backbone that supplies the LDS fraction. Other models raise ValueError for a non-default branch.
  • The Rust and NumPy backends both implement it; the JAX path falls back to NumPy for a non-default branch.

H₂O solid-liquid-vapor phase diagram

The package also computes the full H₂O solid-liquid-vapor phase diagram (Liquid + Ice Ih, II, III, V, VI, VII/X + Vapor) and emits ready-to-render Plotly figures for the T–V, T–P, and 3-D P–T–V projections:

from watereos.tv_phase_diagram import (
    compute_tv_phase_diagram,
    plot_tv_phase_diagram_plotly,
    plot_tp_phase_diagram_plotly,
    plot_ptv_phase_diagram_plotly,
)

diagram = compute_tv_phase_diagram(T_min=190, T_max=353.5, dT=1.0)
# diagram contains: phase_fields (per-phase V_min/V_max vs T),
#                   two_phase_bounds (coexistence curves),
#                   invariants (triple points),
#                   saturation (IAPWS-95 L-V), sublimation (IAPWS R14-08 Ih-V).

fig_tv  = plot_tv_phase_diagram_plotly(diagram, V_min=7e-4, V_max=1.1e-3)
fig_tp  = plot_tp_phase_diagram_plotly(diagram, T_min=190, T_max=300,
                                        P_min=1e-4, P_max=1000)
fig_3d  = plot_ptv_phase_diagram_plotly(diagram, V_min=7e-4, V_max=1.1e-3,
                                         P_max=1000)

The diagram is built by isothermal convex-hull sweeps in (V, A) space across the SeaFreeze ice phases, water1, and the vapor (the vapor model below, sampled from its coexistence pressure with ice Ih or with the liquid downward). Each common-tangent point is then Newton-refined to the exact analytical condition GA(T, P) = GB(T, P), so the boundary curves are smooth and free of EoS-discretization kinks. Three-phase invariants (triple points) are detected from topology changes between adjacent T-slices and rendered as 3-phase coexistence lines.

Water Vapor

'vapor' is water vapor as a Gibbs function of (T, P), built from IAPWS-95: its ideal-gas part, which gives the correct heat capacity and carries the reference state, plus the second and third virial coefficients that follow from its residual part. The density series is reverted to pressure, so the model is explicit in (T, P) and every property is an analytic derivative of one function. Details and derivation: vapor_eos/README.md.

The vapor is evaluated like any other model, and by phase name wherever the ices are:

import numpy as np
from watereos import compute
from watereos._seafreeze_native import getProp_scatter
from vapor_eos import compute_batch, vapor_pressure

out = compute(T_K=[250.0, 273.16, 300.0], P_MPa=[1e-5, 6e-4], model='vapor')

P = np.array([1e-4, 6.11657e-4])              # MPa
T = np.array([250.0, 273.16])                 # K
vap = getProp_scatter('vapor', P, T)          # same call as for an ice
ice = getProp_scatter('Ih', P, T)
vap.G - ice.G                                 # J/kg, same reference state

out = compute_batch(T, P)                     # dict: G, V, S, ... (T first)

vapor_pressure(253.15, 'Ih')                  # 1.0324e-4 MPa, ice Ih
vapor_pressure(253.15, 'holten2014')          # 1.2546e-4 MPa, supercooled water

vapor_pressure(T, phase) returns the pressure at which the vapor and a condensed phase have the same Gibbs energy. Because all phases share the IAPWS-95 reference state, this reproduces the IAPWS vapor pressures without any anchoring:

Condensed phase Range Largest deviation of the vapor pressure
Ice Ih (SeaFreeze) vs. IAPWS R14-08 sublimation pressure 190–273.16 K 0.010 %
'IAPWS95', 'water1', 'duska2020' vs. IAPWS-95 saturation pressure 273.16–373.15 K 0.003 %
'holten2014', 'caupin2019', 'caupin2019_kim' 273.16–300 K 0.002 %
'grenke2025' 273.16–300 K 0.004 %
'holten2014', supercooled, vs. Murphy & Koop (2005) 233.15–263.15 K 0.19 %

shi_tanaka2020 is not aligned to the IAPWS-95 reference state, so its Gibbs energy cannot be equated with the vapor's or an ice's.

Range and accuracy. 130–400 K, from zero pressure to saturation and into moderately supersaturated vapor. Against the full IAPWS-95 formulation, saturated vapor between the triple point and 100 °C is within 1.4 × 10-5 RT in G, 5.3 × 10-5 in V, 0.9 % in Cp and 0.09 % in the speed of sound; the deviations fall with the third power of the pressure below saturation. At 100 °C the vapor is 1.5 % non-ideal, which the virial terms capture: G is within 1.4 × 10-5 RT and V within 5.3 × 10-5, where an ideal gas is off by 1.5 % and 1.6 %. By 400 K the deviations reach 2 × 10-4 in V and 1.2 % in Cp and grow quickly beyond.

Cost. The model is closed-form with a Rust backend (NumPy fallback): per call, about 1.5 µs for a single point, 2 µs for 16 points, 50 µs for 1000 points, and 13 ms for 106 points on four threads.

Troubleshooting

I'm getting NaN or Inf values

You are likely evaluating outside the model's physically meaningful range. Check the Validity Ranges table. Two-state models accept any (T, P) without raising errors, but they may return NaN for properties that cannot be computed (e.g., speed of sound when the bulk modulus is negative). Try narrowing your temperature or pressure range, or switching to a model with a broader validity domain.

I got a UserWarning about temperatures outside the suggested range

This is expected — getProp() and compute() issue a warning when inputs fall outside the model's paper-stated validity range. The computation still runs, but results may be unphysical. If you are intentionally extrapolating, you can suppress the warning:

import warnings
warnings.filterwarnings('ignore', message='waterEoS')
Results look wrong or differ between models

Different models are fitted to different data sets and use different mixing rules, so they will not agree exactly — especially in the deeply supercooled regime below ~240 K where experimental data is scarce. Use the Model Comparison tool in the web app to visualize where models diverge. At ambient conditions (273–373 K, 0.1 MPa), all models agree closely with IAPWS-95.

What are the _A and _B properties?

Two-state models decompose water into State A (HDL, high-density liquid) and State B (LDL, low-density liquid). Properties like rho_A and rho_B are the densities of the individual states at that (T, P); rho (no suffix) is the equilibrium mixture density. The mixing fraction x gives the fraction of LDL (State B). Only two-state models (holten2014, caupin2019, caupin2019_kim, duska2020, shi_tanaka2020, shi_tanaka2020_transport, singh2017) provide these outputs; grenke2025, water1, and IAPWS95 do not.

Which backend am I using (Rust or Python)?

The Rust backend is selected automatically when the compiled extension is available (included in pre-built PyPI wheels). To check:

from watereos import compute
out = compute(273.15, 0.1, 'duska2020')
# If using Rust, computation is 2-5x faster; no visible difference in output

If you installed from source without a Rust toolchain, the pure Python fallback is used. Results are identical; only speed differs.

References

  1. V. Holten, J. V. Sengers, and M. A. Anisimov, "Equation of state for supercooled water at pressures up to 400 MPa," J. Phys. Chem. Ref. Data 43, 014101 (2014). doi:10.1063/1.4895593

  2. F. Caupin and M. A. Anisimov, "Thermodynamics of supercooled and stretched water: Unifying two-structure description and liquid-vapor spinodal," J. Chem. Phys. 151, 034503 (2019). doi:10.1063/1.5100228

  3. M. Duska, "Water above the spinodal," J. Chem. Phys. 152, 174501 (2020). doi:10.1063/5.0006431

  4. R. Shi and H. Tanaka, "The anomalies and criticality of liquid water," Proc. Natl. Acad. Sci. U.S.A. 117, 26591-26599 (2020). doi:10.1073/pnas.2008426117 -- Source of both shi_tanaka2020 (thermodynamic EoS, Table S2 of the SI) and shi_tanaka2020_transport (viscosity / self-diffusion / rotational relaxation, Table S3 of the SI).

  5. J. C. Grenke and J. R. Elliott, "Empirical fundamental equation of state for the metastable state of water based on the Tait-Tammann equation," J. Phys. Chem. B 129, 1997-2012 (2025). doi:10.1021/acs.jpcb.4c06847

  6. L. P. Singh, B. Issenmann, and F. Caupin, "Pressure dependence of viscosity in supercooled water and a unified approach for thermodynamic and dynamic anomalies of water," Proc. Natl. Acad. Sci. U.S.A. 114, 4312-4317 (2017). doi:10.1073/pnas.1619501114

  7. B. Journaux, J. M. Brown, A. Pacheco, S. D. Vance, A. Cochrane, T. Bollengier, et al., "Holistic approach for studying planetary hydrospheres: Gibbs representations, ices thermodynamics, transport, and the example of Europa," J. Geophys. Res.: Planets 125, e2019JE006176 (2020). doi:10.1029/2019JE006176 -- Source of the SeaFreeze GLBF tensor-product B-spline coefficients used for water1, IAPWS95, and the ice phases (Ih, II, III, V, VI, VII/X) in the H₂O solid-liquid-vapor phase diagram.

  8. W. Wagner and A. Pruß, "The IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use," J. Phys. Chem. Ref. Data 31, 387 (2002). doi:10.1063/1.1461829 -- Cited as IAPWS-95 throughout; reference EoS for water/vapor used for reference-state alignment, the vapor model (ideal-gas part and virial coefficients), and the saturation/triple-point lines in the H₂O phase diagram.

  9. W. Wagner, T. Riethmann, R. Feistel, and A. H. Harvey, "New Equations for the Sublimation Pressure and Melting Pressure of H₂O Ice Ih," J. Phys. Chem. Ref. Data 40, 043103 (2011). doi:10.1063/1.3657937 -- IAPWS R14-08 sublimation pressure correlation (vapor_eos.sublimation_pressure), drawn as the Ice Ih/vapor reference curve below 273.16 K in the H₂O phase diagram.

Authors

Citing waterEoS

If you use waterEoS in your research, please cite both this package and the underlying EoS papers. Each model implemented in waterEoS has its own published reference (Holten 2014, Caupin 2019, Duska 2020, Shi & Tanaka 2020, Grenke 2025, Singh 2017, Journaux 2020, Wagner & Pruß 2002) listed in the References section above; please cite the original papers for the specific models you use, in addition to this software package.

BibTeX entry for the software package:

@software{consiglio_watereos_2026,
  author       = {Consiglio, Anthony},
  title        = {{waterEoS}: Thermodynamic equations of state for supercooled water},
  year         = {2026},
  url          = {https://github.com/anthony-consiglio/waterEoS},
  version      = {0.7.0},
  license      = {GPL-3.0-only},
}

A machine-readable citation in Citation File Format is also provided in CITATION.cff.

License

This project is licensed under the GNU General Public License v3.0.

Metadata

Release files for waterEoS 0.7.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 waterEoS 0.7.0
File Size Uploaded Provenance Actions
watereos-0.7.0.tar.gz 12.6 MB With provenance Details for watereos-0.7.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for waterEoS 0.7.0
File Actions
watereos-0.7.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for watereos-0.7.0-cp39-abi3-win_amd64.whl
watereos-0.7.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for watereos-0.7.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
watereos-0.7.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details for watereos-0.7.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
watereos-0.7.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for watereos-0.7.0-cp39-abi3-macosx_11_0_arm64.whl
watereos-0.7.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for watereos-0.7.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 27.5 MB

Release files / watereos-0.7.0.tar.gz

Download URL watereos-0.7.0.tar.gz
Size 12.6 MB
Tags Source
SHA-256 checksum
How to use checksums
1b36a7434cbe2ab0aa405f4b5e4dc14ce60ebc74aa8d14909744155cbb4c0a81
BLAKE2b-256 checksum
How to use checksums
71ecd7ef44c1b604896408f1afe1ecb3ce04d28686d775f830356d31d4360852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / watereos-0.7.0-cp39-abi3-win_amd64.whl

Download URL watereos-0.7.0-cp39-abi3-win_amd64.whl
Size 2.9 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
751562c37f6038717e850f71e52ce6c7f1d8dfd943503a0f64c811be1fe7af3f
BLAKE2b-256 checksum
How to use checksums
cc28f29a3dce50ae27c7154e94f15353591cf9d8cf901c1af34f5596daf1d424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / watereos-0.7.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL watereos-0.7.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.0 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
5708121243fb54b85e5a92524481bd6af21587a17d7688ae2cc2ae56fdf10729
BLAKE2b-256 checksum
How to use checksums
56ec833d6ff5c712be3e44e7a5a7bd40c61886f6965eb5781919081e904ce907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / watereos-0.7.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL watereos-0.7.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 3.0 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
a64cf9e4fbc93ea583f760b7c08853ae6cf15203af8d7dbf9749268d4052568e
BLAKE2b-256 checksum
How to use checksums
f2174d51e8e2b1df30985dc33079bec36d5257f3dab68669f991675e46607c03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / watereos-0.7.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL watereos-0.7.0-cp39-abi3-macosx_11_0_arm64.whl
Size 3.0 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ee05ec334110139e04d7cd62ff9db6198eb9879ba7cb34c75884674bf1015be
BLAKE2b-256 checksum
How to use checksums
8e3783456ab595c4714b7054b9c2b8947f94d9a747f7c256faabae3c88129240
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / watereos-0.7.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL watereos-0.7.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 3.0 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e4b16486c8bd334002a0d34d6e8075e82b232a90ab1ef5f5b1c09c2d872a0752
BLAKE2b-256 checksum
How to use checksums
4b03dd119375a6104dab45611995b2263d63a0e20b2c1b5b0b57fbd12cd2515c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for waterEoS 0.7.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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for watereos-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

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.

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