Energy Management Systems and Building Automation: Control Architecture, Integration, and Optimization

Published: June 2026 Technical Level: Advanced Category: Power Systems Design


Abstract

Building energy management systems (EMS) and building automation systems (BAS) provide the control infrastructure through which a commercial or industrial facility's electrical and mechanical systems are monitored, scheduled, and optimized to reduce energy cost while maintaining operational requirements. The engineering basis for EMS design spans direct digital control (DDC) hardware and firmware, communication protocol architecture (BACnet, Modbus, LonWorks), sequence of operations programming for HVAC and lighting systems, demand response integration with utility programs, and the analytics layer — fault detection and diagnostics, benchmarking, continuous commissioning — that identifies performance degradation and improvement opportunities. This paper develops the control and integration engineering foundations of building EMS, the demand limiting strategy that reduces demand charges by managing peak demand at the metered boundary, and the integration requirements for distributed resources (solar PV, battery storage, EV charging) that are increasingly central to EMS function in modern commercial buildings. The performance expectations for a well-designed EMS are grounded in measured data from ASHRAE-documented case studies and the ENERGY STAR Portfolio Manager benchmarking database.


1. Introduction

The distinction between a building automation system and an energy management system is one of emphasis rather than fundamental technology. A BAS monitors and controls building systems for operational purposes — maintaining setpoint temperatures, scheduling equipment on/off, alarming on equipment failures — without necessarily optimizing for energy cost. An EMS incorporates all of the BAS functions and adds energy-specific analytics: tracking energy consumption by end use, comparing performance to benchmarks and baselines, identifying control optimization opportunities, and managing demand response events. In current practice, the two terms are often used interchangeably for integrated systems that perform both functions.

The economic case for EMS investment in commercial buildings is well-documented. ASHRAE research and DOE energy efficiency program data consistently show that automated demand limiting — reducing the facility's peak demand at the utility meter through coordinated load shedding or setpoint adjustment — produces demand charge reductions of 10 to 20 percent with minimal capital investment beyond the EMS control infrastructure. Analytics-driven fault detection and diagnostics, which identifies HVAC equipment operating in degraded states (failed economizer dampers, stuck valves, sensor drift), produces energy savings of 5 to 15 percent by correcting the performance deficiencies that would otherwise persist undetected for months or years.


The temporal mismatch that drives storage sizing and dispatch is shown in Figure 1, which overlays the PV generation profile on the building load profile for a representative summer weekday.

Representative summer-weekday PV generation and building load profiles over a 24-hour horizon, illustrating the temporal mismatch between solar output and demand.

Figure 1. Representative summer-weekday PV generation and building load profiles over a 24-hour horizon, illustrating the temporal mismatch between solar output and demand.

The figure exposes the central economic problem the controller must solve: PV output peaks near midday while the building load peaks in the morning and again in the early evening, so the surplus generated between roughly 10:00 and 16:00 has no coincident load to serve. This is the energy that storage captures for the evening peak, and the area between the two curves during the midday window sets the lower bound on usable battery capacity. An operator reading this figure understands immediately why a PV-only system cannot meet the evening demand peak and why dispatch optimization, not raw generation capacity, governs the economics.

2. Control Architecture

2.1 Direct Digital Control

The DDC layer consists of programmable controllers that read sensor inputs, execute control sequences, and produce actuator outputs at the field level. Each controller is responsible for a defined control domain — an air handling unit, a chilled water plant loop, a lighting zone — and executes its control sequence independently of the supervisory layer, ensuring that the building systems continue to operate safely even if the communication network or supervisory server fails. The DDC control sequence for a variable air volume air handling unit, for example, manages the supply air temperature setpoint, the supply fan speed (via variable frequency drive), the outside air damper position (for economizer control), and the heating and cooling coil valve positions, based on sensor readings for supply air temperature, duct static pressure, and outdoor temperature.

The supervisory layer collects data from all field controllers via the building communication network, provides the user interface for monitoring and setpoint adjustment, implements the building-level optimization logic (demand limiting, optimal start/stop, global chilled water reset), and communicates with external systems (utility demand response programs, weather forecast services, utility rates APIs). BACnet/IP is the dominant communication protocol for the supervisory layer in new construction and major renovations; legacy systems may use BACnet MS/TP, Modbus RTU, or proprietary protocols, which are integrated via protocol translators (gateways) at the DDC layer.

2.2 Demand Limiting

The demand limiting function monitors the facility's electrical demand at 15-minute intervals — matching the utility's demand measurement interval — and takes load reduction actions when the accumulated demand within the current interval is projected to exceed a user-set demand threshold. The projection is made by linear extrapolation: if 8 minutes have elapsed in the current 15-minute interval and the accumulated demand is 75 percent of the threshold, the projected final demand is 75 × (15/8) = 140 percent of the threshold, and the EMS would initiate load reduction actions.

Load reduction actions are prioritized by the facility operator based on operational importance and load magnitude. Typical priorities from lowest to highest impact on operations: cycling non-critical HVAC equipment (parking garage fans, warehouse lighting), raising cooling setpoints by 1 to 2°C in non-critical zones, reducing lighting levels in corridors and storage areas, and (as a last resort) shedding non-essential plug load circuits. The EMS executes these actions sequentially until the demand projection falls below the threshold, then restores loads in reverse priority order when the demand window closes.


3. Fault Detection and Diagnostics

Automated fault detection and diagnostics (FDD) applies pattern recognition to the building's sensor data stream to identify equipment malfunctions, control logic errors, and performance degradation that would not be apparent from visual inspection or alarm monitoring alone. The economic value of FDD in commercial buildings is well-documented: LBNL studies of Pacific Gas and Electric territory commercial buildings found that FDD-identified faults in HVAC systems produced average annual energy savings of $8,500 per building when corrected, with a median payback period of 9 months for the FDD software investment.

A rule-based FDD engine for an air handling unit implements tests such as: the supply air temperature should track the setpoint within a defined tolerance band (±1°C) during normal operation — persistent deviation indicates a stuck heating or cooling valve, a failed actuator, or a sensor error. The outdoor air damper position should be consistent with the economizer control mode — a damper reading minimum position when the outdoor air enthalpy should enable full economizer cooling indicates a mechanical failure. The supply fan VFD speed should correlate with the duct static pressure — low pressure at rated VFD speed indicates filter loading, duct leakage, or damper malfunction.


4. Integration with Distributed Resources

The integration of solar PV generation, battery energy storage, and EV charging infrastructure into the building EMS creates both an optimization opportunity and a coordination challenge. The optimization opportunity is to use the EMS's demand limiting function in combination with battery storage dispatch to achieve larger demand reductions than either system can provide independently: the EMS sheds deferrable loads while the battery discharges to cover non-deferrable loads during a peak demand event. The coordination challenge is that each distributed resource has its own control system — the PV inverter has its maximum power point tracker, the battery has its battery management system, the EV charger has its OCPP-compliant charge management controller — and these systems must communicate with the EMS without creating control conflicts.

The standard integration architecture uses the EMS as the supervisory coordinator: the EMS monitors the building's net demand, issues setpoint adjustments and dispatch commands to the distributed resources via their respective communication interfaces (Modbus, BACnet, OCPP), and adjusts the commands in real time to maintain the net demand below the target threshold while respecting each resource's operational constraints. The battery management system retains control over the battery's SOC limits and maximum charge/discharge rates, and can override the EMS dispatch command if the EMS requests an operation that would violate these limits.


Related Work

The analysis in this paper connects to several companion studies in this library. Readers concerned with the upstream and downstream engineering will find AI-Driven Energy Management and Predictive Load Forecasting in Commercial Buildings develops a closely related aspect of the same problem, while Commercial Building Electrical Systems extends the treatment into an adjacent domain. For the broader methodological context, Microgrid Economic Optimization provides complementary depth.


Conclusion

Building energy management and automation systems deliver their value through the integration of direct digital control, communication-protocol architecture, sequence-of-operations programming, and an analytics layer, and the central conclusion of this paper is that the largest and most durable savings come from the fault-detection-and-diagnostics and continuous-commissioning functions rather than from the initial control programming. The demand-limiting and DDC mechanisms developed here establish the real-time control foundation, but it is the analytics layer that identifies the drift, the failed sensors, and the degraded equipment performance that silently erode efficiency over a building's operating life. For the practicing engineer, the operative takeaway is that EMS and BAS design must treat the analytics and continuous-commissioning capability as a first-class requirement rather than an optional add-on, because a control system that is correctly programmed at commissioning but not monitored for fault and drift will lose much of its initial savings within a few years. Integration with distributed resources extends this control infrastructure into the demand-response and on-site-generation domains, multiplying the value of a well-architected system.

References

[1] ASHRAE Standard 135-2020, BACnet — A Data Communication Protocol for Building Automation and Control Networks, ASHRAE, 2020.

[2] ASHRAE Guideline 36-2021, High-Performance Sequences of Operation for HVAC Systems, ASHRAE, 2021.

[3] ASHRAE, Handbook of Fundamentals, Chapter on Energy Management, ASHRAE, 2021.

[4] Lawrence Berkeley National Laboratory, Automated Fault Detection and Diagnostics for Commercial Buildings, LBNL-6396E, 2013.

[5] U.S. DOE, Energy Efficiency and Renewable Energy: Building Technologies Program, DOE, 2023.

[6] ENERGY STAR, Portfolio Manager Technical Reference: Source Energy, EPA, 2023.

[7] Open Charge Point Protocol (OCPP) 2.0.1, Open Charge Alliance, 2022.

[8] NFPA 70, National Electrical Code, Articles 625, 706, 2023 edition, NFPA, 2023.