Predictive maintenance in industry 4.0: applications and advantages