Jump to content

poeu

Members
  • Posts

    2
  • Joined

  • Last visited

poeu's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I have a signal that grows and then decreases over a condition. I would like to calculate only the average rate of growth, that is from the start value to the maximum. The signal does not grow monotically, which means that the rate locally decreases before the maximum is attained. I tried to calculate the rate with this formula, but Seeq would not accept it: $signal_start = $signal.aggregate(startValue(), $condition, middleKey(), 0s) $signal_max = $signal.aggregate(maxValue(), $condition, middleKey(), 0s) $rate = ($signal_max - $signal_start)/($signal.maxKey($condition) - $signal.startKey($condition)) Would you have any suggestion how one could do this without using the derivative() function? Thank you very much in advance for your answer.
×
×
  • Create New...