Skip to main content
. 2016 Dec 23;17(1):8. doi: 10.3390/s17010008
Algorithm 5 Jump detection algorithm.
  1:  procedure DetectJumps(WindSpeeds) ▹ Look for jumps in running std dev.
  2:   PrevStd = Std(WindSpeeds(k − 1)); ▹ Look for previous std. dev.
  3:   DiffStd = PrevStd-Std(WindSpeeds) ▹ Difference between std. deviations.
  4:   AcumDiffStd(count + 1) = DisffStd
  5:   if DiffStd ≥ thres then ▹ If error is bigger than threshold.
  6:      CommHandler.Alert = JumpDetected
  7:      JumpSize = Mean(AcumDiffStd) ▹ Estimate the size of the jump.
  8:   end if
  9:  end procedure