The MD() function gets the maximum demand value for a period
Usage:
MD(variable, options) - see below for description.
MD('INC1_AE'), 5
Get the maximum demand value for the selected period
For device specific variables use a . to separate the device name:
MD('My Device.My Value',1)
Get the minimum value of the variable for the current day.
The second parameter, [options] is a number and can be any of the following
| 0 | latest value (Default) |
| 1 | DAY - Maximum demand for current day |
| 2 | WEEK - Maximum demand for current week |
| 3 | MONTH - Maximum demand for current month |
| 4 | YEAR - Maximum demand for current year |
| 5 | PERIOD - Maximum demand for the selected range |
| 6 | SLICE - Maximum demand value for the slice in the range (i.e. in a graph segment) |
Get the maximum demand value of a variable for a day:
MIN('delta0_kwh',1)