An integrated methodological approach for optimising complex systems subjected to predictive maintenance. (December 2021)