AnsweredAssumed Answered

PE for the time that multiple expressions are true

Question asked by aokert on Sep 25, 2015
Latest reply on Sep 28, 2015 by Eugene Lee

I'm trying to write a performance equation that outputs the total time in a year that multiple conditions are true.

 

The conditions are in the form:

 

A<'Tag1'<B

'Tag2'>C

'Tag3'="off"

 

I've tried using if/then statements mixed with the time function but i can't seem to get the syntax right. I was trying to output this as a PI calc, but getting it to output in Excel PI Datalink would also be an option.

 

Thanks.

Outcomes