How usepa/water_treatment_models works
This repository is a suite of water-treatment contaminant-removal models: granular activated carbon (GAC), ion exchange (IX), and powdered activated carbon (PAC), with Shiny interfaces for the three technologies. The principal workflow is to provide treatment and contaminant inputs, run a model, and inspect predicted effluent performance. The graph also preserves batch IX, GAC/IX lead-lag modeling, and model-fitting/tooling capabilities. Source excerpts establish several model dependencies; README statements establish the product and GUI capabilities. Unsampled GUI wiring and some subsystem relationships are not inferred.
Main entry points: hsdmix.py IX column HSDM · PSDM_functions.py PSDM functions · colloc.py Collocation operators · psdmix.py IX column PSDM
Components 21
GAC Modeling
- GAC PSDM
PSDM/psdm/PSDM.py - PSDM tools
PSDM/psdm/PSDM_tools.py - PSDM extensions
PSDM/psdm/PSDM_extra.py - ECM model
PSDM/psdm/ecm.py
Ion Exchange
- IX column HSDM
IonExchangeModel/ixpy/hsdmix.py - IX column PSDM
IonExchangeModel/ixpy/psdmix.py - IX batch HSDM
IonExchangeModel/ixpy/hsdmixbatch.py - IX batch PSDM
IonExchangeModel/ixpy/psdmixbatch.py - IX runner
IonExchangeModel/ixpy/runner.py - K-L estimation
IonExchangeModel/ixpy/KL_guess.py
PAC Modeling
- PAC CFPSDM
Shiny-PAC/PAC.py
User Interfaces
- GAC interface helper
Shiny-GAC/GAC_Shiny_helper.py - GAC Shiny app
Shiny-GAC/GACapp.R - IX Shiny app
Shiny-IEX/Ion_Exchange_Model.R - PAC Shiny app
Shiny-PAC/PACapp.R
Shared Modeling
- PSDM functions
PSDM/psdm/PSDM_functions.py - Lead-lag model
PSDM/psdm/lead_lag_class.py - Collocation operators
IonExchangeModel/ixpy/colloc.py - IX parameter conversion
IonExchangeModel/ixpy/paramsheets.py - IX result conversion
IonExchangeModel/ixpy/converter.py
Other components
- Treatment analyst
Connections 20
- Treatment analyst → GAC Shiny app: uses interface
Readme.md - Treatment analyst → IX Shiny app: uses interface
Readme.md - Treatment analyst → PAC Shiny app: uses interface
Readme.md - GAC interface helper → GAC PSDM: runs model
Shiny-GAC/GAC_Shiny_helper.py - GAC PSDM → PSDM functions: uses functions
PSDM/psdm/PSDM.py - PSDM tools → GAC PSDM: uses model
PSDM/psdm/PSDM_tools.py - PSDM tools → PSDM functions: uses functions
PSDM/psdm/PSDM_tools.py - IX runner → IX column HSDM: runs model
IonExchangeModel/ixpy/runner.py - IX runner → IX column PSDM: runs model
IonExchangeModel/ixpy/runner.py - IX column PSDM → IX column HSDM: extends
IonExchangeModel/ixpy/psdmix.py - IX column HSDM → Collocation operators: builds operators
IonExchangeModel/ixpy/hsdmix.py - IX column HSDM → IX parameter conversion: converts parameters
IonExchangeModel/ixpy/hsdmix.py - IX column HSDM → IX result conversion: converts results
IonExchangeModel/ixpy/hsdmix.py - IX column PSDM → Collocation operators: builds operators
IonExchangeModel/ixpy/psdmix.py - IX batch HSDM → Collocation operators: builds operators
IonExchangeModel/ixpy/hsdmixbatch.py - IX batch HSDM → IX parameter conversion: converts parameters
IonExchangeModel/ixpy/hsdmixbatch.py - IX batch PSDM → Collocation operators: builds operators
IonExchangeModel/ixpy/psdmixbatch.py - IX batch PSDM → IX parameter conversion: converts parameters
IonExchangeModel/ixpy/psdmixbatch.py - PAC CFPSDM → PSDM functions: uses functions
Shiny-PAC/PAC.py - Lead-lag model → PSDM functions: uses functions
PSDM/psdm/lead_lag_class.py