Example code used for the Predictive maintenace task of a Remote Terminal Unit (RTU). The main modules of this task are:
- Data gathering (via Mqtt in a MongoDB) / simple Python scripts to subscribe to MQTT broker, store data in MongoDB and publish measurements
- Data preprocessing
- Time-series forecasting / using the Walk Forward Validation (WFV) method with different models (XGBoost, ARIMA, LSTM)
- Anomaly Detection on the forecasted data (Isolation Forest, DBSCAN, Autoencoder)