Two-Stage Degradation Assessment and Prediction Method for Aircraft Engine Based on Data Fusion
Pseudocode 2
The pseudocode of degradation detection for new observations.
The degradation detection for new observations
Step1. Initialization, if K >100, L = L1 and w = w1; else L = w = w2. And score sequence S = [ ]
Step2. Based on the health stage datasets D1, calculating the ALWS(D1) sequence, and taking the maximum value max(ALWS(D1)) as the threshold e_upper.
Step3. Calculating ALWS(X) sequence A and adding w-1 zeros before it. Getting the new sequence A: [A1,A2,Aw-1,Aw,...,AK] with length K, and A1 = A2 = ... = Aw-1 =0.