Hi, I want to create performance equation which gives the total time when any (at least one) of several tags has value greater than the given value.

I am aware of the existance of TimeGT function for one time series but I cannog figure out a way to accomplish the described task.

I'll be gratefull for any suggestions.

Thanks in advance!

If you want to use AF SDK, AFCalculation might suit the needs.

AFCalculation.PercentTrue Method

The expression argument would be similar to what Erica has above.

A bit off-topic but to avoid double counting, I suppose one way is to flip the logic. Find the time range when none of the predicates are true. Then subtract this from the total time range.