Skip to main content
. 2023 Jan 27;16(3):1100. doi: 10.3390/ma16031100
Algorithm 1 The pseudocode of cumulative damage
1:  Begin
2:  n bridges with uncertain properties are generated
3:  Realizations of seismic occurrences associated with each bridge model are generated
4:  Time thresholds of interest, m, associated with corrosion are estimated
5:  Different time stages, T, are selected
6:  Initialize counters i=1, k=1 and t0=0
7:  while kn
8:   while im
9:    t=t0+Δti+1
10:   while tT
11:      if i=1
12:      The i-th and i+1-th intensities are associated with the k-th structural model
13:       Two seismic records are associated with the i-th and i+1-th intensities
14:       Each record is modified by a factor ψe=isim/iT that relates the intensity and the value of spectral acceleration at the fundamental period of the k-th system
15:       Dicorry,t of the k-th system is calculated
16:       A random ground motion, Ski, is modified by a factor, βm, that matches Dicorry,t
17:       else
18:       A random seismic record, ri, is associated with the i+2-th simulated intensity and is scaled by the factor ψe
19:       The system is subjected to a seismic signal composed of the seismic record, Ski, and the seismic record, ri
20:       Dicorry,t of the k-th system is calculated
21:       A ground motion, Ski+1, is selected randomly, and it is modified by a factor, βm, that matches Dicorry,t
22:       A reduction of the cross-sectional area of the reinforcement steel is performed
23:       The ground motion Ski+1 at the stage t is scaled up until the structure fails
24:    add one to the intensities counter
25:   add one to the simulated bridges counter
26:  end