Jump to content

Kelly Kolotka

Seeq Team
  • Posts

    4
  • Joined

  • Last visited

Community Answers

  1. Kelly Kolotka's post in Finding maximum value during the current time duration in a trend was marked as the answer   
    Hi Trevor,
    There are multiple formulas you can write to accomplish this, but it will depend on the time duration you would like to find the maximum for. In the photo, I have found the maximum of my signal Temperature over 2 different time ranges. In this case, the dashed line is due to uncertainty in the calculation, but both formulas result in Signals. 
    1. max of 6 hour periods: This formula will find the maximum point in every 6 hour window: $t.aggregate(maxValue(), periods(6hours), durationkey())
    2. max of the last 6 hours: This will use now() so that the maximum is calculated for the past 6 hours relative to current time: $t.aggregate(maxValue(), condition(6h, capsule(now()-6h, now())), durationkey())

  2. Kelly Kolotka's post in Missing signal condition was marked as the answer   
    Hi Claire,
    You can use the function .isNotValid() to create a condition to detect when data in a signal is missing. In this case, you could just do the formula of $signal.isNotValid() as shown in the screenshots below. This creates the green capsules that identify when there are gaps in my orange signal. 

  3. Kelly Kolotka's post in Creating conditions based on the slope of a Signal was marked as the answer   
    Solution: 
    This example shows how to use the derivative formula and then the Value Search Tool to create a condition when your derivative is above or below a particular value or in a specified range. 
    Content Verified DEC2023
×
×
  • Create New...