Substation Equipment Spare Parts’ Inventory Prediction Model Based on Remaining Useful Life
Algorithm 2
Prediction algorithm by RUL.
Input: RUL of the kth equipment
Output: the demand for spare parts Q in the next cycle T.
Step 7. Calculate the number of days remaining in the design life of the kth component :
Step 8. Set the correction function to
Step 9. Predicting the inventory level of a certain type of component spare parts, the algorithm pseudocode is as follows:(i)% Q is the demand for a class of components.(ii)% Sum is the number of components of this class being operated in the system(iii)% T is the forecast period(iv)Q= 0(v)for k = 1: sum(vi)If (vii)Q = Q + 1(viii)If and (ix)Q = Q + (x)Output Q % the demand for spare parts in the next cycle.