How samalswastik781-tech/ecosense-ai works
EcoSense AI is a Streamlit facility-sustainability dashboard. A user selects a facility and can enable a demo anomaly; the app processes resource readings, then presents facility health, anomaly insights, comparisons, trends, recommendations, and estimated emissions. The sampled app excerpt shows calls to the demo, anomaly, scoring, and recommendation modules, while the CSV’s loading path is not shown. Dashboard sections and the emissions calculation are implemented in app.py; unsampled details are not inferred.
Main entry points: app.py Streamlit app · demo_mode.py Demo anomaly · anomaly_detection.py Anomaly detection · sustainability_score.py Sustainability scoring
Components 11
Analysis workflow
- Streamlit app
app.py - Demo anomaly
demo_mode.py - Anomaly detection
models/anomaly_detection.py
Facility insights
- Sustainability scoring
sustainability_score.py - Recommendations
recommendation_engine.py
Dashboard outputs
- Facility health
app.py - Anomaly insights
app.py - Facility comparison
app.py - Resource trends
app.py - Carbon calculator
app.py
Other components
- Facility user
Connections 10
- Facility user → Streamlit app: uses
app.py - Streamlit app → Demo anomaly: creates demo spike
app.py - Streamlit app → Anomaly detection: detects anomalies
app.py - Streamlit app → Sustainability scoring: calculates score
app.py - Streamlit app → Recommendations: generates advice
app.py - Streamlit app → Facility health: renders
app.py - Streamlit app → Anomaly insights: renders
app.py - Streamlit app → Facility comparison: renders
app.py - Streamlit app → Resource trends: renders
app.py - Streamlit app → Carbon calculator: calculates emissions
app.py