kitControl-SlidingWindowDemandCalc

This component simulates a demand meter and calculates the sliding window demand for 5, 15, and 30-minute demand intervals based on an accumulative pulse counter input. It also calculates the total kWh since last reset and the hourly and daily kWh values.

SlidingWindowDemandCalc is available in the Energy folder of the kitControl palette.

Once calculated, a standard history extension setup to execute on-trigger only can log the hourly and daily kWh values. The SlidingWindowDemandCalc object fires the hourly and daily triggers to align the kWh data correctly to actual clock values. The pulse input into the object is assumed to be accumulative (not delta pulses) that roll over after reaching the 16 bit limit (65535).

You can configure this component to reset all the calculated accumulative values on a preset interval such as at “noon on the first Sunday, every month.”

Figure 1. SlidingWindowDemandCalc properties


PropertyValueDescription
Consumption FacetsConfig Facets window (defaults to kW-hr for units, one decimal point for precision, negative infinity for minimum value, and positive infinity for the maximum value)Configures the consumption output property:

units configures units of measure (default to energy and kilowatt hour (kW-hr)).

precision defines the number of decimal places for the out values (defaults to 1).

min defines the smallest allowable value of the output property (defaults to -infinity)

max defines the largest allowable value of the output property (defaults to +infinity)

Demand FacetsConfig Facets window (defaults to kW for units, one decimal point for precision, negative infinity for minimum, positive infinity for maximum)Configures the demand output property:

units configures units of measure (default to power and kilowatt hour (kW-hr).

precision defines the number of decimal places for the out values (defaults to 1).

min defines the smallest allowable value of the output property (defaults to -infinity)

max defines the largest allowable value of the output property (defaults to +infinity)

Kwh Per Pulse FacetsConfig Facets window (defaults to kW-hr for units, three decimal places for precision, negative infinity for minimum, and positive infinity for maximum)Configures the kwh per pulse output property.

units configures units of measure (default to energy and kilowatt hour (kW-hr)).

precision defines the number of decimal places for the out values (defaults to 3).

min defines the smallest allowable value of the output property (defaults to -infinity)

max defines the largest allowable value of the output property (defaults to +infinity)

Current Pulse Countnumber (defaults to 0.00) and null definitionDisplays data from a link to a pulse counter input object indicating the running total of pulses.

When null is checked, the value displayed defaults to the incoming value from the device. If you remove the check mark you can configure theIn value.

Time of Resetread-onlyDisplays the date and time of the last reset
Demand5read-onlyDisplays the demand (kW) for a five minute window.
Demand15read-onlyDisplays the demand (kW) for a fifteen minute window.
Demand30read-onlyDisplays the demand for a 30 minute period.
Kwhread-onlyDisplays the running kWh (consumption) value since the last reset.
Kwh Hourlyread-onlyDisplays the running value since the last hourly reset.
Kwh Last Hourread-onlyDisplays the kWh (consumption) value for the last hour.
Kwh Dailyread-onlyDisplays the kWh (consumption) value since the last daily reset.
Kwh Last Dayread-onlyDisplays the kWh (consumption) value for the last day.
Kwh Per Pulsenumber of kilowatts per hour (defaults to 1 kW-hr)Sets the value per pulse, that is, how much energy each pulse represents. This value is usually noted on the meter or provided by the power company.
Enable Resettrue (default) or falsetrue configures recurring automatic resets to happen at a frequency based on the following properties.

false disables automatic resets.

Reset Day of Monthnumber from 1 to 31Sets the day of month when a recurring automatic reset (if enabled) occurs.
Reset Day of Weekdrop-down list (defaults to Sunday)Selects the day of the week when a recurring automatic reset (if enabled) occurs.
Reset Timehours:minutes (defaults to 12 AM)Sets the time of day for a recurring automatic reset (if enabled) to occur.
Meter RollovernumberSpecifies the maximum value the meter provides before it rolls over to zero (0). The default value is 65535, the data type is a long (up to a very large number, 9223372036854775807).