Example: Capturing energy use during Downtime events
- Last UpdatedMar 05, 2025
- 1 minute read
This topic provides an example to capture energy waste with the Downtime module. In this example, the goal is to add and configure the kWh field, so that you can track energy usage during Downtime events.
Example: Capturing Energy use during Downtime events
One way that you can identify energy waste is to track the amount of energy being used during a Downtime event. A lot of energy use may occur even though production is interrupted, and no product is coming through.
Configure an additional field for Downtime reporting point
-
Add a custom field to a Downtime reporting point and rename the field to kWh.

-
Set the following properties for the field:
Property
Value
CaptureDataWhen
EventStateOffAndAutoSplit
DataType
Double
CalculationType
Integral
RefreshValueOnCapture
True
Units
kWh
Sum
SummaryType
-
Define the HistoricalFieldExpression property for the kWh field.
Project.[System Configuration].DataSources.OpcHda.HPRC.Inst_kW.Samples[time]/3600.0
Note: An integral calculation type expects the time units to be in seconds. Assuming that Inst_kW (in the example given) is in the units kW (per hour), you divide the sample by 3600 to convert the Inst_kW figure from a per hour value into a per second value. For example, kW / 3600.0.