| Algorithm 1 The pseudocode of cumulative damage |
| 1: Begin 2: bridges with uncertain properties are generated 3: Realizations of seismic occurrences associated with each bridge model are generated 4: Time thresholds of interest, , associated with corrosion are estimated 5: Different time stages, , are selected 6: Initialize counters , and 7: while 8: while 9: 10: while 11: if 12: The and intensities are associated with the structural model 13: Two seismic records are associated with the and intensities 14: Each record is modified by a factor that relates the intensity and the value of spectral acceleration at the fundamental period of the system 15: of the system is calculated 16: A random ground motion, , is modified by a factor, , that matches 17: else 18: A random seismic record, , is associated with the simulated intensity and is scaled by the factor 19: The system is subjected to a seismic signal composed of the seismic record, , and the seismic record, 20: of the system is calculated 21: A ground motion, , is selected randomly, and it is modified by a factor, , that matches 22: A reduction of the cross-sectional area of the reinforcement steel is performed 23: The ground motion at the stage is scaled up until the structure fails 24: add one to the intensities counter 25: add one to the simulated bridges counter 26: end |