7.5 Generating Events
The Event section (section 4 of the analysis form) controls whether the analysis creates an event each time it fires. Event generation is disabled by default.
Enabling Event Generation
To enable event generation, check the Generate checkbox in the Event section header. When enabled, the event fields become active and an Event Attribute column appears in the Output Attributes table in section 3.
When event generation is disabled, the section displays "Event generation is not enabled" and no events are produced.
Event Fields
| Field | Description |
|---|---|
| Template (required) | The event template that defines the event's structure, including its name, attributes, and display settings. Select an existing template from the dropdown or click + New Event Template to create one inline. |
| Allow Ack | When checked (default), operators can acknowledge events generated by this analysis. |
| Severity Level (required) | The severity of the generated event. Options typically include Warning, Critical, and others defined in the system. Defaults to Warning. |
| Reason Code | An optional enumeration value that classifies the reason for the event. Reason code options are defined in Libraries → Enumeration Sets. |
| Reason Code Value | An optional sub-value within the selected Reason Code. Available after a Reason Code is selected. |
| Min Send Interval | The minimum time between consecutive events generated by this analysis. If the trigger fires again before this interval has elapsed, a new event is not generated. Defaults to 15 minutes. Prevents event flooding when a condition persists. |
Capturing Calculated Values in Events
When event generation is enabled, the Event Attribute column becomes available in the Output Attributes table (section 3). This allows you to capture the computed value from the analysis expression directly into an event attribute at the moment the event is created.
For example, if an analysis computes the maximum voltage during a window, you can write that value to both an element attribute (for time-series history) and to an event attribute (to record it with the event). Each output row can independently write to an element attribute, an event attribute, or both.
Relationship to Event Templates
The event template selected here determines:
- The event name and display label
- Which event attributes are available in the Event Attribute column
- How events generated by this analysis appear in the Events tab
Events generated by analyses appear in the element's Events tab alongside manually created events. They are visually labeled with the analysis name as the source.
