Abstract. In this work, we consider the problem of predicting the Remaining Useful Life (RUL) of a piece of equipment, based on data collected from an heterogeneous fleet working under different operating conditions. When the equipment experiences variable operating conditions, individual datadriven prognostics models are not able to accurately predict the RUL during the entire equipment life. The objective of the present work is to develop an ensemble approach of different prognostics models for aggregating their RUL predictions in an adaptive way, for good performance throughout the degradation progression. Two data-driven prognostics models are considered, an Homogeneous Discrete-Time Finite-State Semi-Markov Model (HDTFSSMM) and a Fuzzy Similarity-Based (FSB) model. The ensemble approach is based on a locally weighted strategy that aggregates the outcomes of the two prognostic models of the ensemble by assigning to each model a weight and a bias related to its local performance, i.e., the accuracy in predicting the RUL of patterns of a validation set similar to the one under study. The proposed approach is applied to a case study regarding an heterogeneous fleet of aluminum electrolytic capacitors used in electric vehicles powertrains. The results have shown that the proposed ensemble approach is able to provide more accurate RUL predictions throughout the entire life of the equipment compared to an alternative ensemble approach, and to each individual HDTFSSMM and FSB models.