How siva402-ai/industrial-predictive-maintenance works
This is an industrial predictive-maintenance platform with a React operations interface, a FastAPI service, simulated or MQTT-fed machine telemetry, and model-driven health and maintenance assessment. The main workflow is telemetry generation or ingestion, fleet prediction and recommendation, then dashboard, analytics, maintenance, and digital-twin views. The README also documents PCA, model benchmarking, anomaly analysis, and HINDY incident memory; their implementation links are not established by the sampled source, so those connections are shown as unverified where appropriate.
Main entry points: App.jsx Application shell · main.py Backend API · DigitalTwin.jsx Digital twin view · Dashboard.jsx Fleet dashboard
Components 24
Operations interface
- Application shell
frontend/src/App.jsx - Fleet dashboard
frontend/src/pages/Dashboard.jsx - Analytics views
frontend/src/pages/Analytics.jsx - Maintenance views
frontend/src/pages/Maintenance.jsx - Model evaluation
frontend/src/pages/Evaluation.jsx - Digital twin view
frontend/src/pages/DigitalTwin.jsx - Factory scene
frontend/src/components/digitaltwin/FactoryScene.jsx - Twin controls
frontend/src/components/digitaltwin/TwinOverlay.jsx - Machine details
frontend/src/components/digitaltwin/MachineDetailCard.jsx - API client
frontend/src/services/api.js
Telemetry pipeline
- Fleet simulator
simulator/simulator.py - MQTT publisher
mqtt_publisher.py - MQTT ingestion
mqtt_service.py - MQTT broker
Health assessment
- Backend API
main.py - Feature preprocessing
preprocessing/preprocessing.py - RUL prediction
predict.py - Maintenance decisions
model/maintenance_engine.py
Predictive insights
- Model training
model/train_model.py - Model benchmark
model/xgboost_experiment.py - PCA and anomalies
preprocessing - HINDY incident memory
- Root-cause support
Other components
- Engineer
Connections 25
- Engineer → Application shell: uses
- Application shell → Fleet dashboard: renders
frontend/src/App.jsx - Application shell → Analytics views: renders
frontend/src/App.jsx - Application shell → Maintenance views: renders
frontend/src/App.jsx - Application shell → Model evaluation: renders
frontend/src/App.jsx - Application shell → Digital twin view: renders
frontend/src/App.jsx - Application shell → API client: requests data
frontend/src/App.jsx - Digital twin view → Factory scene: renders
frontend/src/pages/DigitalTwin.jsx - Digital twin view → Twin controls: renders
frontend/src/pages/DigitalTwin.jsx - Twin controls → Machine details: renders
frontend/src/components/digitaltwin/TwinOverlay.jsx - Fleet dashboard → Backend API: displays results
- Fleet simulator → MQTT publisher: supplies telemetry
mqtt_publisher.py - MQTT publisher → MQTT broker: publishes telemetry
- MQTT broker → MQTT ingestion: streams telemetry
mqtt_service.py - Backend API → Fleet simulator: advances fleet
main.py - Backend API → MQTT ingestion: reads status
main.py - Backend API → Feature preprocessing: prepares features
main.py - Backend API → RUL prediction: predicts RUL
main.py - Backend API → Maintenance decisions: assesses risk
main.py - Model training → Feature preprocessing: uses features
model/train_model.py - Model benchmark → Feature preprocessing: uses features
model/xgboost_experiment.py - Backend API → PCA and anomalies: analyzes sensors
main.py - Maintenance decisions → HINDY incident memory: stores incidents
- HINDY incident memory → Root-cause support: retrieves context
- Root-cause support → Fleet dashboard: supports investigations