Skip to main content
. 2023 Feb 2;23(3):1665. doi: 10.3390/s23031665
Algorithm 1: Proposed Algorithm.
Inputs: Stabilization diagram (frequency, damping ratio, and mode shape), damping ratio limits (ζmin and ζmax), stabilization criteria (limf, limζ and limMAC), and similarity measure threshold (limD).
Output: Global modes
  1. Classify as stable all poles that satisfy the stabilization criteria and as not stable all remaining poles

  2. Classify as spurious all poles with damping ratio lower than ζmin or higher than ζmax (Hard Validation Criteria—HVC) or that do not appear with a complex conjugated pair

  3. Extract the number of stable poles (nme)

  4. Create a matrix of zeros Dnme×nme

  5. For m in [1,nme]:
    • 5.1.
      For n in [1,nme]: Compute the distance between the poles m and n (dm,n) using the relative distance between the natural frequencies of both poles and assign the result to the matrix D in the position (m,n)
  6. Apply agglomerative hierarchical clustering taking the distance matrix D as the method’s similarity measure and consider the informed threshold (limD)

  7. Extract the number of clusters obtained (nc)

  8. For c in [1,nc]:
    • 8.1.
      If cluster c has more than one pole of each order, remove all poles of each order but one, and keep the one with the damping ratio closest to the cluster’s damping ratio median
    • 8.2.
      Store the number of poles and each modal parameter (natural frequency, damping ratio, mode shapes and order) of the cluster c
  9. Create a histogram of the number of poles in each cluster

  10. Extract the mean size of the clusters

  11. Select the clusters whose size is bigger than the mean size

  12. Create a boxplot of the frequency and of the damping ratio

  13. Remove the outliers:
    • -
      If ωn<Q1freq1.5 IQRfreq or ωn>Q3freq+1.5 IQRfreq, remove the pole n because it is a frequency outlier
    • -
      If ζn<Q1ζ1.5 IQRζ or ωζ>Q3ζ+1.5 IQRζ, remove the pole n because it is a damping ratio outlier
    • Being Q1 is the first quartile, Q3 the third quartile, and IQR the difference between the upper and lower quartiles
  14. Extract the parameters that represent the clusters: mean frequency, mean damping ratio, and mean mode shape

  15. Extract the number of global modes (ngm)

  16. For i in [1,ngm]:
    • 16.1.
      Extract the number of poles (np)
    • 16.2.
      Create a matrix of zeros DMACinp×np
    • 16.3.
      For m in [1,np]:
      • 16.3.1.
        For n in [1,np]:
      • Compute the MAC value between the poles m and n and assign the result to the matrix DMACi in the position (m,n)
    • 16.4.
      Extract the minimum value of the matrix DMACi (mini)
    • 16.5.
      If mini<limMAC:
    • 16.6.
      Create a matrix of zeros Dinp×np
    • 16.7.
      For m in [1,np]:
    • 16.8.
      For n in [1,np]:
    • 16.9.
      Compute the distance between the poles m and n according to Equation (14) and assign the result to the matrix Di in the position (m,n)
    • 16.10.
      Apply agglomerative hierarchical clustering taking the distance matrix Di as the method’s similarity measure and considering the informed MAC limit (1/limMAC)
    • 16.11.
      Select the poles from the biggest cluster to represent the global mode i
    • 16.12.
      Extract the parameters that represent the modal globe: mean frequency, mean damping ratio, and mean mode shape