# shivamlahoty/predictive-maintenance-analytics architecture

> Architecture diagram of the GitHub repository shivamlahoty/predictive-maintenance-analytics, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shivamlahoty/predictive-maintenance-analytics
- Repository: https://github.com/shivamlahoty/predictive-maintenance-analytics

## Overview

This repository is a Power BI predictive-maintenance analytics dashboard. Its documented workflow turns AI4I machine operations into cleaned and engineered data, develops reliability and risk measures, and presents interactive visual analysis and maintenance recommendations. The README documents the processing sequence, but no source excerpts were supplied; edges therefore cite only that documentation, and the Python stage has no corresponding file in the tree.

Main entry points: [`Dashboard/Predictive Maintenance Analytics Dashboard.Report/definition/pages/14681adcba483a747765/visuals`](https://github.com/shivamlahoty/predictive-maintenance-analytics/tree/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.Report/definition/pages/14681adcba483a747765/visuals) (Interactive visuals), [`SQL/predictive_maintenance_analytics.sql`](https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/SQL/predictive_maintenance_analytics.sql) (SQL engineering), [`Dashboard/Predictive Maintenance Analytics Dashboard.SemanticModel/definition/model.tmdl`](https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/model.tmdl) (Power BI model), [`Dashboard/Predictive Maintenance Analytics Dashboard.SemanticModel/definition/tables/mesure.tmdl`](https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/tables/mesure.tmdl) (DAX measures)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_prep["Data preparation"]
  node_python["Python cleaning"]
  node_sql["SQL engineering"]
end

subgraph group_analytics["Analytics model"]
  node_semantic["Power BI model<br/>[model.tmdl]"]
  node_measures["DAX measures<br/>[mesure.tmdl]"]
  node_risk["Reliability and risk<br/>[tables]"]
end

subgraph group_reporting["Dashboard and guidance"]
  node_visuals["Interactive visuals<br/>[visuals]"]
  node_recommendations["Maintenance guidance"]
end

node_dataset(("AI4I operations"))
node_engineer(("Maintenance team"))

node_dataset -->|"provides data"| node_python
node_python -->|"cleaned data"| node_sql
node_sql -->|"engineered data"| node_semantic
node_semantic -->|"supports KPIs"| node_measures
node_measures -->|"calculates indicators"| node_risk
node_risk -->|"informs analysis"| node_visuals
node_visuals -->|"supports decisions"| node_recommendations
node_engineer -->|"explores dashboard"| node_visuals
node_recommendations -->|"guides maintenance"| node_engineer

click node_sql "https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/SQL/predictive_maintenance_analytics.sql"
click node_semantic "https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/model.tmdl"
click node_measures "https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/tables/mesure.tmdl"
click node_risk "https://github.com/shivamlahoty/predictive-maintenance-analytics/tree/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/tables"
click node_visuals "https://github.com/shivamlahoty/predictive-maintenance-analytics/tree/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.Report/definition/pages/14681adcba483a747765/visuals"
click node_recommendations "https://github.com/shivamlahoty/predictive-maintenance-analytics/tree/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.Report/definition/pages/14681adcba483a747765"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_python,node_sql toneBlue
class node_semantic,node_measures,node_risk toneAmber
class node_visuals,node_recommendations toneMint
class node_dataset,node_engineer toneIndigo
```

## Components

### Data preparation

- **Python cleaning**
- [SQL engineering](https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/SQL/predictive_maintenance_analytics.sql): `SQL/predictive_maintenance_analytics.sql`

### Analytics model

- [Power BI model](https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/model.tmdl): `Dashboard/Predictive Maintenance Analytics Dashboard.SemanticModel/definition/model.tmdl`
- [DAX measures](https://github.com/shivamlahoty/predictive-maintenance-analytics/blob/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/tables/mesure.tmdl): `Dashboard/Predictive Maintenance Analytics Dashboard.SemanticModel/definition/tables/mesure.tmdl`
- [Reliability and risk](https://github.com/shivamlahoty/predictive-maintenance-analytics/tree/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.SemanticModel/definition/tables): `Dashboard/Predictive Maintenance Analytics Dashboard.SemanticModel/definition/tables`

### Dashboard and guidance

- [Interactive visuals](https://github.com/shivamlahoty/predictive-maintenance-analytics/tree/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.Report/definition/pages/14681adcba483a747765/visuals): `Dashboard/Predictive Maintenance Analytics Dashboard.Report/definition/pages/14681adcba483a747765/visuals`
- [Maintenance guidance](https://github.com/shivamlahoty/predictive-maintenance-analytics/tree/main/Dashboard/Predictive%20Maintenance%20Analytics%20Dashboard.Report/definition/pages/14681adcba483a747765): `Dashboard/Predictive Maintenance Analytics Dashboard.Report/definition/pages/14681adcba483a747765`

### Other components

- **AI4I operations**
- **Maintenance team**

## Connections

- AI4I operations → Python cleaning: provides data (evidence: `README.md`)
- Python cleaning → SQL engineering: cleaned data (evidence: `README.md`)
- SQL engineering → Power BI model: engineered data (evidence: `README.md`)
- Power BI model → DAX measures: supports KPIs (evidence: `README.md`)
- DAX measures → Reliability and risk: calculates indicators (evidence: `README.md`)
- Reliability and risk → Interactive visuals: informs analysis (evidence: `README.md`)
- Interactive visuals → Maintenance guidance: supports decisions (evidence: `README.md`)
- Maintenance team → Interactive visuals: explores dashboard (evidence: `README.md`)
- Maintenance guidance → Maintenance team: guides maintenance (evidence: `README.md`)
