A discrete-event simulation algorithm for the optimization of multi-scenario maintenance policies. (July 2020)