|
Algorithm 2 Algorithm for main optimization for decision variables
|
-
1:
initialize as the optimal one found during pre-optimization
-
2:
for every KPI time series (each corresponding to a component—strategy type combination) and failure probability time series (each corresponding to a component—failure type combination) do
-
3:
compute the percentiles of its instant values observed during the computation of g for the optimal pre-optimization solution, with resolution r []
-
4:
end for
-
5:
while no termination criterion (maximum epochs reached or g not improved within 1 epoch) applies do
-
6:
for every decision variable do
-
7:
if the decision variable corresponds to KPI threshold or failure probability threshold then
-
8:
compute g for the closest lower and higher values for this threshold corresponding to respective percentiles if not computed with same arguments yet
-
9:
else(decision variable corresponds to corrective strategy “actuator”)
-
10:
compute g for the other value of this binary “actuator” if not computed with same arguments yet
-
11:
if the value of g is better than the optimal found so far then
-
12:
update optimal and optimal g value
-
13:
update KPI and probability percentiles based on new optimal solution, keeping also the initial thresholds as candidate values
-
14:
end if
-
15:
end if
-
16:
end for
-
17:
-
18:
end while
|