On Using Complex Event Processing for Dynamic Demand Response Optimization in Microgrid

Qunzhi Zhou, Yogesh Simmhan, Viktor K. PrasannaarXiv 2013

Abstract

This paper proposes a shift from traditional, pre-scheduled Demand Response (DR) to Dynamic Demand Response (D2R) by leveraging Semantic Complex Event Processing (CEP). By treating real-time data from smart meters and building sensors as "event streams," the authors demonstrate how a campus microgrid can automatically detect and act upon energy-saving opportunities—such as resetting temperatures in unoccupied classrooms—with latencies of just a few seconds.

Introduction

Traditional Demand Response programs are often "blind" and slow. They typically rely on advanced planning (hours or days ahead) and operate on a broadcast principle, asking all customers to curtail power regardless of their actual real-time usage. The challenge is that energy usage is highly dynamic; a classroom might be empty due to a cancellation, or a specific building might hit a peak load while others are idle. Existing systems fail to leverage the "near-real-time" data available from Smart Grids and Building Area Networks (BANs) to make surgical, high-relevance curtailment decisions. The authors aim to bridge this gap by providing a framework that correlates diverse data streams—weather, schedules, occupancy, and meters—to identify specific "situations of interest" for energy optimization.

The SCEPter Framework

The researchers introduce a Semantic CEP framework (called SCEPter). Unlike traditional CEP, which processes raw relational data tuples, Semantic CEP uses ontologies to map raw sensor IDs to meaningful domain concepts (e.g., knowing that "Sensor_D391" is a temperature sensor located in "Room RTH105" belonging to the "EE Department").

System Architecture

The system follows a pipeline architecture that integrates microgrid infrastructure with utility requests. Event streams from participants are processed by a Semantic CEP engine against a library of DR patterns. The detected patterns are then passed to an Action Rule Engine for automated load control or customer notifications.

The proposed system architecture for dynamic demand response.

Semantic Event Processing

A key innovation is the mapping of raw data tuples to domain ontologies. This semantic abstraction allows the system to be portable; rules can be written for general categories like "all office rooms" rather than individual sensor IDs. The query model combines SPARQL-like semantic filtering (to identify the where and what) with syntactic CEP operators like SEQ (sequence) and WINDOW (to identify the when and how much).

Mapping raw data tuples to domain ontologies to provide semantic context for events.

Implementation and Results

The study utilized real-time data streams from the USC Campus Microgrid, including smart meter readings, HVAC status, class schedules, and room sensors. To guide implementation, the authors developed a DR Event Pattern Taxonomy categorizing patterns across six dimensions: End-use Purpose, Spatial Scale, Temporal Scale, Representation, Life Cycle, and Adaptivity.

Evaluation of four specific patterns over a 4-day period yielded significant insights:

  • Peak Detection: Successfully identified building-level peak threshold exceedances during teaching hours.
  • Energy Wastage: Detected unoccupied meeting rooms with low temperature setpoints, identifying immediate curtailment opportunities.
  • Quantitative Impact: Duty cycling fan coils based on these detected patterns was observed to flatten the demand curve by over 27% during peak periods.

Conclusion and Future Work

While the detection engine is robust, the Action Rule Engine for automated execution remains under development. Future work aims to incorporate Adaptivity through machine learning to automatically discover new, self-adapting patterns from historical data. Expanding the study across more campus buildings will provide more granular ROI estimates for large-scale microgrid deployment.

Summary updated

BibTeX
@misc{zhou2013using,
  author = {Qunzhi Zhou and Yogesh Simmhan and Viktor K. Prasanna},
  title = {{On Using Complex Event Processing for Dynamic Demand Response Optimization in Microgrid}},
  year = {2013},
  eprint = {1311.6146},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.6146},
}
Figure