| 1 |
Project Foundation |
FastAPI backend, WebSocket streaming engine, SQLite event persistence, domain schemas, 4-zone virtual room coordinate system. |
| 2 |
Image & Video Input |
Multi-source OpenCV camera workers (files, webcams, image sequences), frame resizing, FPS throttling, and buffer management. |
| 3 |
Person & Object Detection |
Standardized detection interfaces supporting Ultralytics YOLO with fallback detection support. |
| 4 |
Person Tracking |
Per-camera centroid tracker maintaining identity IDs, positions, velocity, trajectory, and bounding boxes. |
| 5 |
Activity & Motion Analysis |
Farnebäck optical flow, frame differencing, box displacement, temporal smoothing, and 0–3 activity scale. |
| 6 |
Multi-Camera Fusion |
Spatial overlap fusion mapping camera tracks into a unified 3D/2D room coordinate space. |
| 7 |
Thermal-Zone Assignment |
Zone assignment engine tracking occupant counts, person IDs, activity levels, device loads, lighting loads, and indoor environmental conditions per zone. |
| 8 |
Device & Lighting Analysis |
Equipment tracking (PCs, laptops, monitors, servers, machines, lights) with configurable power assumption tables (config/device_power.json). |
| 9 |
Environmental Data |
Integration of indoor environmental telemetry (temperature, humidity, CO₂, lighting, occupancy). |
| 10 |
Outdoor Weather |
Live weather integration using Open-Meteo API and historical weather dataset support. |
| 11 |
HVAC Data & Behaviour |
Ingestion of HVAC operational datasets (hvac_data_cleaned.parquet) extracting relationships between damper states, power consumption, supply/outlet temperatures, and outdoor conditions. Configurable HVAC system setup (config/hvac_config.json). |
| 12 |
Transparent Heat-Load Model |
Zone-by-zone heat load calculator computing human metabolic heat, device heat, lighting load, solar heat gain, wall conduction, window heat transfer, and door infiltration effects. |
| 13 |
Thermal Response Model |
Physics-inspired zone dynamic thermal differential equations modeling temperature changes over time, inter-zone wall heat coupling, and HVAC cooling capacities. |
| 14 |
Unified Project Dataset Builder |
Time-series dataset synthesizer combining occupancy, device power, weather, HVAC states, and target future temperatures ($T_{+15m}$, $T_{+30m}$, $T_{+60m}$). |
| 15 |
Machine Learning Thermal Models |
Multi-model ML pipeline evaluating Random Forest, Gradient Boosting, XGBoost, and Ridge models to predict future room temperatures. |
| 16 |
Energy Prediction Model |
Power and kWh energy prediction model estimating active HVAC power and total room energy consumption. |
| 17 |
HVAC Control Engine & Vent Valve Optimizer |
Intelligent decision engine computing dynamic setpoints, AC ON/OFF status, fan speed, airflow CFM, Overall Zone Valve Opening Percentage (0–100%), and Individual Vent Valve Opening % for every vent installed in each zone. |
| 18 |
Real-Time Integration & Automated Vision Sensing |
100% automated computer vision sunlight glare & window infiltration detection (no manual selection). High-visibility bounding box preview renderer with filled label background pills. WebSocket live telemetry broadcasting to web dashboard UI. |
| 19 |
Performance Optimization |
Vision pipeline latency profiling (VisionPerformanceProfiler), per-frame processing & YOLO inference timer instrumentation, occupancy heatmap generation via homography-mapped pixel coordinates, FPS tracking, and live performance metrics endpoint (/api/vision/performance). |
| 20 |
Fast-Forward Simulation Engine |
Accelerated time-step simulation engine (simulation/engine.py) running up to 24 hours of room thermal dynamics in seconds. Physics ODE integrator with 1-minute timesteps, proportional HVAC valve control, inter-zone thermal coupling, diurnal solar/weather models, occupancy schedules, and energy accumulation. Filtered strictly to active camera-assigned zones (camera_zones.json). REST endpoint POST /api/simulation/run. Interactive frontend panel with Chart.js temperature timeline and per-zone summary cards (avg/peak/min temp, energy kWh, comfort %). |
| 21 |
Spatial Digital Twin (2D / 3D), HD Map & Interactive Customizer |
High-definition 1200x720 2D architectural floor plan & 3D isometric spatial model (digital_twin/engine.py, frontend/digital_twin.js). Features 32x24 high-density thermal heatmap grid; continuous real-time point temperature inspection (hover anywhere to view exact °C and physical coords); dynamic HVAC vent count syncing (e.g. 5 vents per zone); interactive element customization with auto wall snapping (drag doors/windows to North, South, East, West walls), endpoint resize handles, 🪟 + Window / 🚪 + Door addition, ❌ Delete controls, 1:1 scaling cursor pick alignment, non-overlapping legend placement, and REST persistence (config/room_layout.json); live WebSocket/REST synchronization (/api/digital-twin/state). |
| 22 |
What-If Scenario Analysis Engine |
Interactive hypothetical scenario testing engine (simulation/whatif.py, frontend/what_if.js). Features 5 built-in presets (Heatwave & Occupancy Surge, Infiltration Open Windows, Server Heat Load Spike, Eco Mode Setpoint, Aggressive Overcooling); baseline vs hypothetical scenario ODE simulations run side-by-side; calculates energy impact deltas ($\Delta\text{kWh}$ & %), average and peak thermal stress deltas ($\Delta^\circ\text{C}$), zone thermal risk categorization (HIGH_THERMAL_STRESS, OVERCOOLING, COMFORT_DEGRADATION, NORMAL); side-by-side Chart.js timeline graph; REST endpoints GET /api/scenarios/presets & POST /api/scenarios/what-if. |