| Case | City Type / Scenario | UHI Accuracy | TFS Error | ECS Error | Anomaly Detection | Status |
|---|---|---|---|---|---|---|
| V1 | Megacity — peak congestion + grid stress | ±4.1% | ±3.7% | ±3.8% | 92.3% | ✅ PASS |
| V2 | Industrial city — energy deficit scenario | ±3.9% | ±4.1% | ±3.4% | 90.8% | ✅ PASS |
| V3 | Smart city testbed — modal shift optimization | ±4.6% | ±3.4% | ±3.6% | 91.7% | ✅ PASS |
| MEAN | — | ±4.2% | ±3.73% | ±3.6% | 91.6% | 🏆 CERTIFIED |
UHI certification threshold = 0.85 · Subsystem independence verified · AI bounded to optimization layer only
pip install citymind-engine
from citymind import CityMindAssessor # Initialize assessor assessor = CityMindAssessor() # Run full CITYMIND pipeline result = assessor.evaluate() print(result.uhi_result.uhi) # Urban Health Index ∈ [0,1] print(result.uhi_result.signal.value) # OPTIMIZED_FLOW | STRESSED_WARNING | SYSTEMIC_MITIGATION | CRITICAL_BREACH print(result.subsystem_scores) # {T,P,E,M,I} scores print(result.ai_weights) # AI-optimized weights Σ=1.0 print(result.anomaly_detected) # Mahalanobis distance > 3σ
from citymind.subsystems import TransportSubsystem transport = TransportSubsystem(capacity=10000) # Simulate traffic demand score = transport.compute(demand=7500) level = transport.get_congestion_level(7500) print(f"T_score: {score:.3f}") print(f"Status: {level}")
from citymind.subsystems import EnergySubsystem energy = EnergySubsystem(supply_grid=1000) # Simulate energy demand score = energy.compute(demand=600) status = energy.get_energy_status(600) print(f"E_score: {score:.3f}") print(f"Status: {status}")
# Launch real-time Streamlit UHI governance dashboard $ streamlit run examples/streamlit_dashboard.py # Dashboard at: http://localhost:8501 # Panels: UHI gauge · Subsystem scores · AI weights · 48h forecast # Or open web dashboard: # https://citymind-v1.netlify.app/dashboard
git clone https://github.com/gitdeeper13/CITYMIND.gitgit clone https://gitlab.com/gitdeeper13/CITYMIND.gitgit clone https://bitbucket.org/gitdeeper-13/CITYMIND.gitgit clone https://codeberg.org/gitdeeper13/CITYMIND.git@software{baladi2026citymind_pypi,
author = {Baladi, Samir},
title = {{CITYMIND}: Urban Human Systems Intelligence Framework —
Independent Subsystem Modeling with AI-Enhanced Aggregation},
year = {2026},
version = {1.0.0},
publisher = {Python Package Index},
url = {https://pypi.org/project/citymind-engine},
note = {Python package, MIT License, Series CITY-INTEL-01}
}
@dataset{baladi2026citymind_zenodo,
author = {Baladi, Samir},
title = {{CITYMIND}: Urban Human Systems Intelligence Framework —
Research Paper and Simulation Data},
year = {2026},
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.20444647},
url = {https://doi.org/10.5281/zenodo.20444647},
note = {Urban Intelligence · CITY-INTEL-01}
}
@misc{baladi2026citymind_osf,
author = {Baladi, Samir},
title = {{CITYMIND} Framework: Pre-registered Study Protocol for
Urban Human Systems Intelligence},
year = {2026},
publisher = {Open Science Framework},
doi = {10.17605/OSF.IO/AN2HV},
url = {https://doi.org/10.17605/OSF.IO/AN2HV},
note = {OSF Preregistration}
}
Baladi, S. (2026). CITYMIND: Urban Human Systems Intelligence Framework (Version 1.0.0, Series CITY-INTEL-01). Zenodo. https://doi.org/10.5281/zenodo.20444647