Skip to main content
. 2024 Feb 22;24(5):1423. doi: 10.3390/s24051423
Algorithm 3: SHM Analysis using MOHGPSO, deploying GRA and FDM
Input: structure information from the FEM analysis, number of sensors m.
Output: optimal locations of the sensors.
  • (1)

    Get the random binary matrix for the sensor’s placement Xiϵ[0,1]t, t=1,2maxiter

  • (2)

    Calculate the multi-objective functions Ft form the structural analysis

  • (3)

    Store the Xiϵ[0,1]t and Ft in the external archive when t=1

  • (4)
    Update the particle’s position using HGPSO
    • Input: epoch size, swarm size m, ω, a, a2, a3
    • Initialize: initial position of the swarm
    • (a)
      Calculate q, k, s, f(xi) for the initial positions
    • (b)
      do
      • (i)
        for each sequence x in the swarm do
      • (ii)
        Update the velocity using vi,t=Vi,t+1(x, q, k, s, ω, a1, a2, a3)
      • (iii)
        Calculate new position x¯i,t to update particle’s position
      • (iv)
        If f(x¯) Is better than f(x) then
        • (1)
          fx=f(x¯)
        • (2)
          x=x¯
      • (v)
        end_if
      • (vi)
        If f(x¯) Is better than f(k) then
        • (1)
          fk=f(x¯)
      • (vii)
        End_for
      • (viii)
        Calculate s¯ for current epoch and particle positions
      • (ix)
        If (s¯ Is better than s)
        • (1)
          s=s¯
      • (x)
        end_if
      • (xi)
        while (number of epochs are not satisfied)
  • (5)

    Repeat the steps 2 and 3 for t=2

  • (6)
    Use the Grey relation analysis (GRA) on the archived particles to select the non-dominated solution
    • (a)
      Input: Calculated Fitness value matrix f using Ft
    • (b)
      Normalize the matrix fusing Equation (15)
    • (c)
      For i = 1 : n
      • (i)
        For j = 1 : k
        • (1)
          Calculate the grey relational coefficient γij using Equation (16)
      • (ii)
        end for
    • (d)
      end for
    • (e)
      Generate a graph object from γij
    • (f)
      Calculate the betweenness gv for each element
    • (g)
      OSPindx=maxgv
  • (7)

    Update the archive with the obtained value, if needed

  • (8)

    If iterations are finished

    • (a)

      Stop

  • (9)
    Else
    • (a)
      Repeat steps 2 and 3
  • (10)

    End

  • (11)

    Select the single solution from the final archive using Fuzzy Decision modelling (FDM) as described through Equations (38) and (39)