Skip to main content
. 2022 Oct 19;22(20):7958. doi: 10.3390/s22207958
Algorithm 1 The proposed vector-ODIT procedure for PQD classification
  • 1:

    Input:k,s,α,{XN00,,XNQQ},{h1,,hQ}

  • 2:

    Initialize:Δ0Q×1,n0

  • 3:

    Training phase:

  • 4:

    Clean datasets according to (8).

  • 5:

    Test phase:

  • 6:

    whileΔnq<hq,qQdo

  • 7:

         nn+1

  • 8:

        Obtain new voltage observation zn, compute distortion value yn, and compute features xn of Table 1.

  • 9:

         For each qQ, compute Dnq and Δnq as in Equations (12) and (13).

  • 10:

    Declare PQD at time n and identify the type as q for which Δnqhq.