Lowest function, Lowesttimestamp function – Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual
Page 125

5
•
Visualize Energy Usage
125
Report output:
Lowest Function
The Lowest function returns the minimum of the selected value logged between the report
start and end dates, and during the periods defined by the SeasonType, DayType, and
TimeOfUseType (or StartHour and EndHour) arguments. The Lowest function is
generally used for rate-of-change values such as demand real and reactive power (kW,
kVAR). It returns a Double value.
Usage
Quantity = Lowest(ValueType.enumValue)
Quantity = Lowest(ValueType.enumValue, SeasonType.enumValue)
Quantity = Lowest(ValueType.enumValue, SeasonType.enumValue,
DayType.enumValue)
Quantity = Lowest(ValueType.enumValue, DayType.enumValue)
Quantity = Lowest(ValueType.enumValue, startHour, endHour)
Quantity = Lowest(ValueType.enumValue, TimeOfUseType.enumValue)
Quantity = Lowest(ValueType.enumValue, SeasonType.enumValue,
DayType.enumValue, startHour, endHour)
Quantity = Lowest(ValueType.enumValue, SeasonType.enumValue,
DayType.enumValue, TimeOfUseType.enumValue)
Quantity = Lowest(ValueType.enumValue, DayType.enumValue,
TimeOfUseType.enumValue)
Comments
The startHour and endHour arguments are integers in the range of 1…24, where
24 = midnight.
Example
The following script calculates the minimum real demand power that occurred during the
Summer season, on working days, during the hours of 10:00 am to 4:00 pm:
Quantity = Lowest(ValueType.RealPowerDemand, SeasonType.Summer,
DayType.WorkingDay, 10, 16)
LowestTimestamp Function
The LowestTimestamp function returns the time and date that the minimum of the selected
value was logged between the report start and end dates, and during the periods defined by
the SeasonType, DayType, TimeOfUseType (or StartHour and EndHour) arguments. The
LowestTimestamp function is generally used for rate-of-change values such as demand
real and reactive power (kW, kVAR). It returns a DateTime value.