Skip to main content

Python tools for aqueous chemical speciation.

Project description

AqEquil

DOI

Boyer, G., Robare, J., Park, N., Ely, T., Shock, E.L.

About

AqEquil is a Python 3 package that enables users to rapidly perform aqueous speciation calculations of water chemistry data for multiple samples by interfacing with geochemical speciation software EQ3/6 (Wolery 2013, Wolery 1979). AqEquil uses a modified version of EQ3/6 created by the 39Alpha research team for easy local installation.

Water sample data in CSV format is automatically converted to a format readable by EQ3 and then speciated. Distributions of aqueous species, mineral saturation indices, oxidation reduction potentials, and more are data-mined and returned as Pandas tables and interactive Plotly visualizations.

Speciated fluids can be further reacted with minerals or other fluids in mass transfer calculations to produce tables and interactive diagrams of reaction paths and composition changes as a function of reaction progress.

Development of AqEquil was made possible by National Science Foundation (NSF) grants EAR-1949030 and EAR-2149016.

Requirements

AqEquil works on Linux, macOS, and Windows.

Python Requirements:

  • Python >= 3.10
  • pandas, numpy, matplotlib, plotly, and other dependencies (automatically installed)

Note: As of version 1.0.0, EQ3/6 executables are bundled with aqequil and no longer need to be installed separately. The package includes pre-compiled binaries for Linux, macOS, and Windows.

Installation

Install AqEquil using pip:

pip install aqequil

The bundled EQ3/6 executables will be automatically installed with the package. No additional configuration or environment variables are needed.

Usage

See this demo notebook for usage examples.

Bundled Software

This package includes pre-compiled binaries from EQ3/6 v8.0a, a software package for geochemical modeling developed by Thomas Wolery at Lawrence Livermore National Laboratory and updated by 39 Alpha.

EQ3/6 License: BSD 3-Clause License Copyright: (c) 1987, 1990-1993, 1995, 1997, 2002, 2013 The Regents of the University of California, Lawrence Livermore National Laboratory.

See THIRD_PARTY_LICENSES.txt for the full EQ3/6 license text.

References:

  • Wolery, T. J., and USDOE. EQ3/6 A Software Package for Geochemical Modeling. Computer software. December 13, 2010. https://www.osti.gov//servlets/purl/1231666. doi:https://doi.org/10.11578/dc.20210416.44.
  • Wolery, T. J. and R. L. Jarek. Software User's Manual EQ36, Version 8.0. U.S. Tech. Rep. 2003. Department of Energy, Office of Civilian Radioactive Waste Management, Office of Repository Development. 10813-UM-8.0-00.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

aqequil-1.1.2.tar.gz (6.6 MB view details)

Uploaded Source

File details

Details for the file aqequil-1.1.2.tar.gz.

File metadata

  • Download URL: aqequil-1.1.2.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aqequil-1.1.2.tar.gz
Algorithm Hash digest
SHA256 f54816c47bc1ba332680f6d15baee2b6c8cc9b372b5deef3de58539ba5d66c73
MD5 58f7c330e98511859da2e79993107640
BLAKE2b-256 d5df47ea4300f5cb57f89fd70b701062cb6263d6bae37f577a84eb0de1f8c53d

See more details on using hashes here.

Provenance

The following attestation bundles were made for aqequil-1.1.2.tar.gz:

Publisher: build-wheels.yml on worm-portal/aqequil

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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