CampusTwinX is an AI-driven Smart Campus Digital Twin prototype that models campus infrastructure as intelligent, predictive zones.
The system monitors energy consumption and footfall patterns, forecasts future demand, detects anomalies, and generates proactive optimization recommendations.
This prototype demonstrates how AI can transform traditional campuses into sustainable, data-driven smart environments.
University campuses operate like micro-cities with:
- Fluctuating energy consumption
- Dynamic building occupancy
- Reactive infrastructure management
- Limited predictive planning
Inefficient monitoring can lead to:
- Energy waste
- Infrastructure overload
- Safety risks during peak occupancy
- Increased operational costs
CampusTwinX addresses this by enabling predictive and intelligent infrastructure decision-making.
Multi-Zone Data ↓ Feature Engineering (Time-based features: hour, weekday) ↓ Random Forest Forecasting Models (Energy & Footfall) ↓ Isolation Forest Anomaly Detection ↓ Simulation Engine (Event Load Multiplier) ↓ AI Optimization Recommendation System ↓ Interactive Streamlit Digital Twin UI
- Predicts next 24-hour energy consumption
- Predicts next 24-hour building occupancy (footfall)
- Handles nonlinear time-based patterns efficiently
- Suitable for structured time-series forecasting in prototype environments
- Detects abnormal energy spikes
- Identifies potential overload or unusual consumption behavior
- Enables proactive infrastructure monitoring
- Block A
- Block B
- Library
- Hostel
Each zone is independently modeled with its own predictive engine and infrastructure health metrics.
The Event Load Multiplier allows simulation of:
- Campus fests
- Examination peaks
- High-occupancy events
- Infrastructure stress testing
This enables scenario-based predictive planning.
✔ Multi-zone digital twin architecture ✔ Energy forecasting (24-hour predictive model) ✔ Occupancy forecasting ✔ Real-time anomaly detection ✔ AI-generated infrastructure recommendations ✔ Interactive visual campus layout ✔ Scalable modular architecture
This prototype interface represents a visualization layer.
The full-scale proposal includes:
- Real-time IoT sensor integration
- Smart meter data streaming
- Occupancy sensors
- Live environmental data feeds
- Fully interactive 3D campus digital twin rendering
- Edge-deployable AI inference for low-latency decisions
- Python
- Streamlit
- Pandas
- Scikit-learn
- RandomForest & IsolationForest
- Matplotlib
CampusTwinX enables:
- Predictive infrastructure management
- Energy efficiency optimization
- Occupancy risk reduction
- Data-driven sustainability planning
- Scalable smart campus deployment
This prototype demonstrates how AI can serve as the foundation for intelligent campus ecosystems.
- Clone repository
- Install dependencies
pip install -r requirements.txt
- Generate dataset
python data_generator.py
- Run application
streamlit run app.py
Siri Lekkala B.Tech CSE – Smart Systems & AI Enthusiast
After adding this:
- Save README
- Run:
git add README.md
git commit -m "Updated professional README"
git push