Jump to content

Compare a signal before an event to after an event


Recommended Posts

  • Seeq Team

Objective: calculate the difference between the average temperature 10 min before an event and the average temperature 10 min after an event

  1. Create a condition for 10 min before an event.  This is done in Formula using the .beforeStart() operator.

Before start.png

2.  Create a condition for 10 min after the event.  This is done in Formula using the .afterEnd() operator.

after end.png

3. Calculate the average during the capsules in the conditions created in Steps 1 & 2.  This is done in the Signal from Condition tool. 

Average.png

4. Combine the 2 signals created in Step 3 into a single, combined signal.  This is done in Formula using the .combineWith() operator.

combined.png

5.  Create a condition that contains a capsule for each event, including the 10 min before and the 10 min after.  This can be done in Formula using the .move() operator

move.png

6.  Calculate the range of the combined signal using the Signal from Condition tool.

range.png

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...