Skip to content

Commit 324c3f6

Browse files
author
Xing Han Lu
authored
Merge pull request #602 from plotly/add-turbine-maintenance
Add Wind turbine predictive maintenance app (#minor) Former-commit-id: fbb010e
2 parents 404bd9b + b45581e commit 324c3f6

15 files changed

Lines changed: 2923 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.idea/*
2+
__pycache__/
3+
*.ipynb_checkpoints/
4+
5+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn app:server
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Predictive Maintenance for Wind Turbines Dashboard
2+
3+
## Introduction
4+
5+
`dash-predictive-maintenance` is a dashboard designed to demonstrate the power of Machine Learning to predict failures (Remaining Useful Life (RUL)) in wind turbines. The data covers periods from May, 2014 to January, 2015. To predict the date when equipment will completely fail (RUL), XGBoost is used. The achieved RMSE error is `0.018534` days, which is highly accurate.
6+
7+
## Screenshots
8+
![initial](screenshots/screenshot1.png)
9+
10+
![initial](screenshots/screenshot2.png)
11+
12+
## Built With
13+
* [Dash](https://dash.plot.ly/) - Main server and interactive components.
14+
* [Dash DAQ](https://dash.plot.ly/dash-daq) - Styled technical components for industrial applications.
15+
* [XGBoost](https://xgboost.readthedocs.io/en/latest/) - Machine Learning model that was used to predict the RUL. The model was fine-tuned with RandomSearch.
16+
17+
18+
## Requirements
19+
Clone this repo and create a clean environment:
20+
```
21+
git clone https://github.com/iameminmammadov/dash-predictive-maintenance.git
22+
cd dash-predictive-maintenance
23+
python3 -m virtualenv venv
24+
```
25+
To activate the virtualenv in UNIX:
26+
```
27+
source venv/bin/activate
28+
```
29+
To activate the virtualenv in Windows:
30+
```
31+
venv\Scripts\activate
32+
```
33+
To install the libraries, needed to run this dashboard:
34+
```
35+
pip install -r requirements-predeploy.txt
36+
```
37+
To run this app:
38+
```
39+
python app.py
40+
```
41+
The app will be run on http://127.0.0.1:8050/.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"scripts": {
3+
"dokku": {
4+
"predeploy": "bash predeploy.sh"
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)