Jump to content

Aggregate calculation - Start / Stop


Go to solution Solved by Thorsten Vogt,

Recommended Posts

Hi all

 

need help

image.png.3ef6c94807f9052471e4835d256fb6fc.png

I am doing a signal from condition (Average()) on quantifying the compliance of certain criteria.

but I want the calculation to ignore during stop process.

concern

1. I want the stamp not only /24 hr. example if we stop 3 hr, I want the average calculation is defined /21hr

is it doable?

 

Link to comment
Share on other sites

  • Solution

Hi zaky,

you can remove the parts of the signal that are inside the stop process and only keep the parts outside the stop process using the within() function.

$signal.within($condition)

image.png.d8bb589f78d5a7216b041fb86f134379.png

The resulting signal can be used in the Signal from Condition tool to calculate the average per day:
image.png.b93c65084fc2bdc194f67d7b2c4bb004.png

You can see the difference on the resuls for the calculation of averages using the original and the filtered signal:

image.png.64f3200ebf7763996c4cdf3f41190e75.png

Regards,

Thorsten

  • Thanks 1
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...