I am using PI system explorer Analses, and this is set to periodic evaluation at intervals of 1 hour.

CWOutlet temperature may only exceed 90'F for 96 hours each calendar year. am I right in thinking this phrase will create a count of hours that this is true?

I keep evaluating and I only get "0" for an output, when I know the answer should be 81.

StartTime = parsetime(concat("01-Jan-", year("*")))

TimeGE(CWOutlet,StartTime,'*',90)/3600

the equation is mapped to an attribute '96HourRule'

I have backfilled the expression starting on january 1st, i have checked it in, and I have refreshed. still 0. is the units of TimeGE seconds?

this is my third straight day trying to figure out how to use this function... please help me.

Hi Robert,

Yes, the TimeGE function returns a value in seconds. You could simplify your expression somewhat by removing the step to generate your StartTime variable, and just pass a relative time as your start time, as follows:

TimeGE(CWOutlet,'1-Jan','*',90)/3600

This will still give you a relative time of January 1st for the current year.