Metadata-Version: 2.4
Name: adm1dae
Version: 0.1.0
Summary: ADM1 DAE model with BSM2 algebraic pH and H2 solvers
Author-email: Taher Abunama <tabunama@gmail.com>
License-Expression: LicenseRef-ADM1DAE
Project-URL: Homepage, https://github.com/tabunama/adm1dae
Project-URL: Repository, https://github.com/tabunama/adm1dae
Project-URL: Documentation, https://tabunama.github.io/adm1dae/
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.26
Requires-Dist: scipy>=1.11
Provides-Extra: plot
Requires-Dist: matplotlib>=3.8; extra == "plot"
Provides-Extra: dev
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Dynamic: license-file

# adm1dae

Python package for ADM1 dynamic process modelling with algebraic pH and H2 solvers.

## Overview

`adm1dae` packages a compiled ADM1 DAE implementation derived from the BSM2 ADM1 formulation, together with:

- `adm1_DAE2_bsm2` : main ADM1 DAE reactor kernel
- `pHsolv_bsm2` : algebraic pH solver
- `Sh2solv_adm1` : algebraic dissolved hydrogen solver

The package also provides a Python simulation driver that reproduces the Simulink-style execution pattern with:
- continuous ADM1 state integration
- discrete pH solver updates
- discrete H2 solver updates
- influent interpolation
- result export to NPZ

## Installation

From PyPI:

```bash
pip install adm1dae


Currently distributed as a binary wheel for Windows x64 / CPython 3.12.
