Real-time SCADA dashboard for anaerobic digestion monitoring and control. Built with Python + Streamlit. Deployable to Streamlit Cloud in 3 steps.
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
streamlit run app.pyStep 1 — Push to GitHub
git init
git add .
git commit -m "SuperSCADA initial commit"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/supersca-da.git
git push -u origin mainStep 2 — Connect Streamlit Cloud
- Go to https://share.streamlit.io
- Sign in with GitHub
- Click New app
- Repository:
YOUR_USERNAME/supersca-da - Branch:
main - Main file:
app.py - Click Deploy
That's it. No secrets, no environment variables needed.
supersca_da/
├── app.py # Overview dashboard (entry point)
├── requirements.txt
├── .streamlit/config.toml # Dark theme
├── pages/
│ ├── 1_Microbial_Health.py # VFA, F/M, COD, Biomass
│ ├── 2_Inhibitors.py # NH3, H2S, heavy metals, toxic organics
│ ├── 3_Nutrients.py # C:N:P ratio management
│ ├── 4_Retention_AI_Control.py # SRT, HRT, AI predictions
│ └── 5_Historian.py # Time-series table + CSV download
└── utils/
├── process_model.py # Pure Python physics simulation
├── session.py # Streamlit session state manager
└── charts.py # Plotly helpers + dark CSS
North River WRRF (NYSDEC Permit NY0026247):
- 8 × 200,000 ft³ circular cast-in-place concrete digesters
- Two-stage mesophilic | 170 MGD | Riverbank State Park platform
- HRT 15–20 d | SRT 15–35 d | Temp 35–37°C
- Gas yield: 15 ft³/lb VS = 0.936 m³/kgVS
- Wiggins Gas Holder: 135,000 ft³ (3,822 m³)
- Cogeneration: 5 × 3.37 MW engines (13.5 MW max)