CHAPTER 6
Phase 3 of WIA-BEMS elevates building energy management from simple data access and control to sophisticated, coordinated workflows. While Phases 1 and 2 established what data looks like and how to access it, Phase 3 defines how systems communicate and coordinate to achieve complex energy management objectives.
This chapter explores the protocol specifications that enable real-time monitoring, automated control sequences, predictive maintenance, fault detection and diagnostics (FDD), and energy optimization algorithms. We'll see how these standardized protocols transform buildings from passive structures into intelligent, responsive systems.
Before diving into specific protocols, it's important to understand how Phase 3 builds upon Phase 2.
Phase 2 APIs enable individual transactions: "Get energy consumption for last hour," "Set temperature to 22°C," "Retrieve equipment status." Each API call is independent, stateless, and focused on a specific resource or action.
Phase 3 protocols define sequences of interactions that accomplish complex objectives: "Monitor building conditions, predict occupancy, adjust HVAC 30 minutes before arrival, verify comfort levels, log performance." Protocols orchestrate multiple API calls, maintain state across interactions, and implement business logic that spans devices and systems.
The real-time monitoring protocol enables continuous observation of building energy systems with automated alerting and response.
Instead of polling APIs repeatedly, monitoring systems subscribe to data streams and receive updates as they occur.
// MQTT subscription pattern
Topic: buildings/BLDG-001/energy/meters/METER-E-301/power
QoS: 1 (at least once delivery)
// Published messages
{
"timestamp": "2025-01-15T14:30:00.000Z",
"power_kw": 150.25,
"power_factor": 0.92,
"voltage_v": 480,
"quality": "verified"
}
// Alert generation based on thresholds
Topic: buildings/BLDG-001/alerts/high-demand
{
"alert_id": "alert-12345",
"severity": "warning",
"type": "demand_threshold_exceeded",
"triggered_at": "2025-01-15T14:30:00Z",
"meter_id": "METER-E-301",
"current_power_kw": 205.3,
"threshold_kw": 200.0,
"duration_seconds": 300,
"recommendations": [
"Consider load shedding non-critical equipment",
"Review HVAC setpoints for optimization"
]
}
| Parameter | Type | Description | Example |
|---|---|---|---|
| sample_interval | Duration | How often to sample/publish data | 1s, 30s, 5m |
| aggregation_method | Enum | How to aggregate samples | mean, max, min, sum |
| threshold | Numeric | Alert trigger level | 200.0 kW |
| threshold_duration | Duration | How long above threshold before alert | 5m (prevents transient alerts) |
| alert_recipients | Array | Who receives alerts | ["ops@example.com", "sms:+1555..."] |
Control sequences coordinate multiple devices to achieve specific energy management objectives. Phase 3 defines standard patterns for common scenarios.
{
"sequence_id": "seq-occ-control-001",
"sequence_type": "occupancy_based_hvac_control",
"building_id": "BLDG-001",
"zone": "Conference-Room-A",
"configuration": {
"occupancy_sensor": "OCC-301-A",
"controlled_equipment": ["AHU-301", "VAV-301-A"],
"delays": {
"occupied_to_vacant_minutes": 15,
"vacant_to_occupied_minutes": 0
},
"setpoints": {
"occupied": {
"temperature_c": 22.0,
"airflow_cfm": 1200,
"lighting_percent": 100
},
"vacant": {
"temperature_c": 26.0,
"airflow_cfm": 400,
"lighting_percent": 0
}
}
},
"performance_tracking": {
"energy_baseline_kwh_per_day": 45.0,
"target_savings_percent": 30,
"comfort_constraints": {
"max_recovery_time_minutes": 30,
"min_acceptable_temp_c": 21.0,
"max_acceptable_temp_c": 24.0
}
}
}
When grid demand response events occur, buildings must quickly reduce load while maintaining acceptable comfort levels.
{
"dr_event_id": "dr-event-67890",
"event_type": "peak_demand_reduction",
"notification_time": "2025-01-15T13:00:00Z",
"event_start": "2025-01-15T15:00:00Z",
"event_end": "2025-01-15T18:00:00Z",
"reduction_target_kw": 50,
"actions": [
{
"priority": 1,
"action": "adjust_hvac_setpoints",
"equipment": ["AHU-301", "AHU-302"],
"parameters": {
"cooling_setpoint_adjustment_c": +2.0,
"heating_setpoint_adjustment_c": -2.0
},
"projected_reduction_kw": 20,
"comfort_impact": "low"
},
{
"priority": 2,
"action": "reduce_lighting",
"zones": ["Open-Office-East", "Open-Office-West"],
"parameters": {
"brightness_reduction_percent": 25
},
"projected_reduction_kw": 15,
"comfort_impact": "low"
},
{
"priority": 3,
"action": "defer_equipment",
"equipment": ["DHW-PUMP-1"],
"parameters": {
"defer_until": "2025-01-15T18:30:00Z"
},
"projected_reduction_kw": 10,
"comfort_impact": "none"
},
{
"priority": 4,
"action": "battery_discharge",
"equipment": ["BESS-001"],
"parameters": {
"discharge_kw": 25
},
"projected_reduction_kw": 25,
"comfort_impact": "none"
}
]
}
Predictive maintenance protocols monitor equipment performance, detect degradation, and schedule maintenance before failures occur.
Continuous monitoring of equipment parameters enables early detection of performance degradation.
| Equipment Type | Monitored Parameters | Degradation Indicators | Typical Lead Time |
|---|---|---|---|
| Chillers | Efficiency, refrigerant pressure, vibration | Declining COP, pressure anomalies | 2-4 weeks |
| Air Handlers | Fan power, filter ΔP, airflow | Increasing power, rising ΔP | 1-2 weeks |
| Boilers | Combustion efficiency, stack temp | Declining efficiency, high stack temp | 2-6 weeks |
| Pumps | Power, flow, vibration | Increasing power for same flow | 2-4 weeks |
| Battery Storage | Capacity, internal resistance | Declining capacity, rising resistance | 4-12 weeks |
{
"maintenance_alert_id": "maint-alert-456",
"alert_type": "predictive_maintenance",
"severity": "medium",
"equipment_id": "AHU-301",
"equipment_type": "air_handling_unit",
"issue_detected": "filter_pressure_drop_high",
"detection_time": "2025-01-15T14:30:00Z",
"analysis": {
"current_filter_dp_pa": 225,
"normal_filter_dp_pa": 100,
"max_filter_dp_pa": 250,
"time_to_max_estimated_days": 7,
"trend": "increasing",
"confidence": 0.92
},
"recommendation": {
"action": "replace_air_filters",
"urgency": "schedule_within_week",
"parts_needed": ["FILTER-20x25x4-MERV13"],
"estimated_duration_hours": 2,
"projected_cost_usd": 450
},
"impact_if_deferred": {
"excess_energy_cost_per_day": 15.50,
"failure_probability_increase": 0.15,
"comfort_impact": "reduced_airflow"
}
}
FDD protocols automatically identify equipment faults, diagnose root causes, and recommend corrective actions.
{
"fdd_alert_id": "fdd-alert-789",
"fault_type": "simultaneous_heating_cooling",
"severity": "high",
"detection_time": "2025-01-15T14:30:00Z",
"location": {
"building_id": "BLDG-001",
"floor": 3,
"zone": "East-Wing"
},
"evidence": {
"heating_valve_position_percent": 45,
"cooling_valve_position_percent": 30,
"zone_temperature_c": 22.5,
"temperature_setpoint_c": 22.0,
"outdoor_temperature_c": 15.0
},
"diagnosis": {
"root_cause": "control_logic_error",
"probable_causes": [
{
"cause": "Misconfigured deadband",
"probability": 0.65,
"test": "Check deadband setting in controller"
},
{
"cause": "Faulty temperature sensor",
"probability": 0.25,
"test": "Verify sensor calibration"
},
{
"cause": "Stuck heating valve",
"probability": 0.10,
"test": "Manually cycle valve"
}
]
},
"impact": {
"energy_waste_kwh_per_day": 85,
"cost_waste_usd_per_day": 12.75,
"duration_days": 3,
"total_wasted_usd": 38.25
},
"recommendation": {
"immediate_action": "Set deadband to 1.0°C",
"verification": "Monitor valve positions for 24 hours",
"follow_up": "Sensor calibration if issue persists"
}
}
| Fault Type | Indicators | Typical Impact | Priority |
|---|---|---|---|
| Simultaneous Heating/Cooling | Both valves open simultaneously | 30-50% energy waste | High |
| Night/Weekend Operation | Equipment running when unoccupied | 20-40% energy waste | High |
| Stuck Damper/Valve | Position doesn't change despite commands | 10-30% energy waste | Medium |
| Sensor Drift | Readings inconsistent with other sensors | 5-15% energy waste | Medium |
| Excessive Runtime | Equipment runs longer than required | 15-25% energy waste | Medium |
| Short Cycling | Equipment cycles on/off too frequently | 10-20% energy waste, equipment wear | High |
Optimization protocols coordinate building systems to minimize energy consumption while maintaining comfort and operational requirements.
MPC uses building models and weather forecasts to proactively optimize energy use.
{
"optimization_id": "opt-mpc-123",
"optimization_type": "model_predictive_control",
"building_id": "BLDG-001",
"planning_horizon_hours": 24,
"optimization_interval_minutes": 15,
"objective": "minimize_cost",
"inputs": {
"weather_forecast": {
"source": "NOAA",
"resolution_hours": 1,
"parameters": ["temperature", "solar_radiation", "wind_speed"]
},
"occupancy_schedule": {
"monday_friday": [
{"time": "07:00", "occupancy": 0.1},
{"time": "09:00", "occupancy": 0.9},
{"time": "12:00", "occupancy": 0.6},
{"time": "17:00", "occupancy": 0.2},
{"time": "19:00", "occupancy": 0.0}
]
},
"energy_prices": {
"off_peak": 0.08,
"mid_peak": 0.15,
"on_peak": 0.25,
"currency": "USD_per_kWh"
}
},
"constraints": {
"temperature_bounds_c": {"min": 21.0, "max": 24.0},
"precool_allowed": true,
"equipment_limits": {
"max_startups_per_hour": 2,
"min_runtime_minutes": 15
}
},
"optimization_result": {
"predicted_cost_usd": 245.50,
"baseline_cost_usd": 325.75,
"savings_usd": 80.25,
"savings_percent": 24.6,
"peak_demand_reduction_kw": 35.5
}
}
Load shifting moves energy consumption from high-cost to low-cost periods.
| Strategy | Description | Typical Savings | Requirements |
|---|---|---|---|
| Thermal Precooling | Cool building before peak periods | 15-30% peak reduction | Good building thermal mass |
| Ice/Chilled Water Storage | Make ice off-peak, use for cooling on-peak | 40-60% peak reduction | Thermal storage tanks |
| Battery Arbitrage | Charge off-peak, discharge on-peak | 30-50% peak reduction | Battery storage system |
| Equipment Scheduling | Run non-critical loads off-peak | 10-20% cost reduction | Flexible operations |
Multiple protocols often operate simultaneously. Phase 3 defines how they coordinate without conflicting.
{
"conflict_id": "conflict-456",
"timestamp": "2025-01-15T14:30:00Z",
"conflicts": [
{
"protocol_1": "demand_response",
"action_1": "increase_temperature_setpoint",
"new_setpoint_c": 26.0
},
{
"protocol_2": "occupant_comfort",
"action_2": "maintain_temperature_setpoint",
"current_setpoint_c": 22.0
}
],
"resolution": {
"winning_protocol": "demand_response",
"rationale": "DR event has higher priority than optimization",
"compromise": {
"setpoint_c": 24.0,
"duration_minutes": 60,
"comfort_override_available": true
}
}
}
Successfully implementing Phase 3 protocols requires careful design and testing.
This chapter explored Phase 3 of WIA-BEMS, examining the protocols that enable sophisticated, coordinated building energy management. We've seen how standardized protocols orchestrate multiple systems and devices to achieve objectives that simple API calls cannot accomplish alone.
With data formats (Phase 1), APIs (Phase 2), and protocols (Phase 3) established, we're ready to explore Phase 4. Chapter 7 examines how buildings integrate with external systems: smart grids, renewable energy sources, building automation systems, and certification platforms. We'll see how Phase 4 transforms individual intelligent buildings into coordinated participants in the broader energy ecosystem.
Korea operates digital transformation through a comprehensive governance system. Digital Government: Digital Platform Government Committee (established September 2022, under the President)·Ministry of the Interior and Safety Digital Government Bureau·e-Government Support Center·Gov.kr·National Citizen Service·KDIS (Korea Digital Information Society)·NIA (National Information Society Agency)·MOIS (Ministry of the Interior and Safety). K-DNS Infrastructure: Korea Internet & Security Agency (KISA) Korea Internet Center·KISA DNS Root Server·KRNIC (Korea Network Information Center)·BGP Korea·National Cyber Security Center (NCSC)·KCC (Korea Communications Commission)·MSIT (Ministry of Science and ICT)·NIA·NIPA. Korean Cloud Infrastructure: KT Cloud·NAVER Cloud (NCloud)·Samsung SDS Cloud·LG U+ Cloud·NHN Cloud·Kakao Enterprise Cloud·SK Telecom Cloud·KISA Cloud Security Assurance Program (CSAP)·KCMVP-validated cloud·ISMS-P (Information Security & Personal Information Management System). Korean Security Certifications: KISA ISMS-P certification·KCMVP (Korean Cryptographic Module Validation Program)·NIS (National Intelligence Service) "National Cryptographic Technology Operation Standards"·NCSC "National Cyber Security Strategy 2024-2028"·CC (Common Criteria) Korean evaluation bodies·EAL4·EAL5·KS X ISO/IEC 15408·19790·24759 Korean Profile. Korean Data Standards: NIA AI Hub·National Data Standardization Committee·Statistics Korea (KOSTAT)·MyData 4 Designated Combination Specialists (Samsung SDS, KICI, KOSTAT, KFTC)·National Institute of Korean Language·National Law Information Center·National Spatial Information Platform·National Spatial Data Center·Korean Spatial Information Standards. Finance and Fintech Standards: FSC (Financial Services Commission)·FSS (Financial Supervisory Service)·FIU (Financial Intelligence Unit)·BOK (Bank of Korea)·FSEC (Financial Security Institute)·KFTC (Korea Financial Telecommunications)·KSD (Korea Securities Depository)·KRX (Korea Exchange) 8-agency cooperation. 5G/6G Communications Infrastructure: 5G subscribers 35 million (2024)·5G base stations 350,000·6G commercialization target 2028·5G dedicated networks 16 operators·6G Acceleration Council (MSIT, 2024). K-Content: KOCCA (Korea Creative Content Agency)·MCST (Ministry of Culture, Sports and Tourism)·KCA (Korea Communications Agency)·Korea Culture Information Service Agency·Korean Film Archive·Korea Publishing Industry Promotion Agency. Data 3 Acts (Personal Information Protection Act·Credit Information Act·Telecommunications Network Act, 2020 enforcement)·Data Industry Act (2021)·Public Data Act (2013)·AI Framework Act (2026)·Digital Platform Government Framework Act (2024 proposed) — Korea digital transformation core legislation.
Korea operates its industrial ecosystem and standardization system through the following core infrastructure. Korea Top 5 Groups: Samsung, Hyundai Motor, LG, SK, Lotte. Each group operates standardization committees and ISO/IEC TC Korean secretariats. Samsung Electronics (semiconductors, displays, home appliances, telecom)·Hyundai Motor (automobiles, mobility)·LG Electronics (home appliances, displays, OLED)·SK hynix (memory)·LG Energy Solution·Samsung SDI (batteries)·POSCO Future M (materials)·Hyundai Mobis (parts). Korean IT Big Tech: NAVER (search, cloud, AI HyperCLOVA)·Kakao (messenger, payment, mobility, banking)·Coupang (e-commerce, logistics)·Karrot Market·Toss·Woowa Brothers. Korea Telcos: SK Telecom·KT·LG U+. 5G·5G dedicated networks·B2B cloud·AI businesses operating. Korea Top 7 Research Universities: Seoul National University·KAIST·POSTECH·Yonsei University·Korea University·UNIST·DGIST·GIST. All serve as standardization R&D bases and ISO/IEC/IEEE Korean chairs. Korea Government-affiliated National Research Institutes (26): KIST, KAERI, KIMM, KIER, KFRI, KRICT, KRIBB, KARI, KASI, KIGAM, KICT, KISTI, KETI, ETRI, NIMS, KIMS, KISDI, KOTRA, STEPI, KOEN, KICCE, KIET, KIPF, KIHASA, KICJ, KLRI. Korea Industrial Complexes / Tech Valleys: Pangyo Techno Valley·Dongtan·Gwanggyo·Songdo IBD·Yeouido·Gangnam·Sihwa·Banwol·Gumi·Ulsan·Changwon·Geoje·Yeosu·Onsan·Cheongju·Iksan·Gwangyang·POSCO Gwangyang Steel Mill·Asan Bay·Seosan·Songdo·Incheon Airport·Sejong·Cheongna·Geomdan. Korea Trade and Finance Infrastructure: Korea International Trade Association (KITA)·Korea Trade-Investment Promotion Agency (KOTRA)·Export-Import Bank of Korea (KEXIM)·Bank of Korea·Kookmin Bank·Shinhan·Hana·Woori·NH Nonghyup·IBK Industrial Bank·SC First Bank·Citi Bank Korea·HSBC Korea·DBS Korea — 14 Korean major banks and foreign banks. Korea K-POP / K-Content: HYBE·SM·YG·JYP 4 major entertainment companies·CJ ENM·tvN·MBC·KBS·SBS·EBS·YTN·Yonhap News TV·JTBC Korean broadcasting·NETFLIX Korea·Disney Plus·TVING·Wavve·Watcha·Coupang Play. Korea Gaming Industry: Nexon·NCsoft·Krafton·Netmarble·Kakao Games·Pearl Abyss·Com2uS·Gamevil·NHN·Smilegate·Webzen. Korea Automotive / Battery: Hyundai Motor·Kia·Genesis·LG Energy Solution·Samsung SDI·SK On·POSCO Future M·EcoPro·L&F battery cathode material suppliers. Korea Semiconductor: Samsung Electronics (HBM3E·HBM4)·SK hynix (HBM3E 12-Hi)·DB HiTek·SK siltron·SK Enpulse·Dongjin Semichem·Seoul Semiconductor·Simmtech·Samsung Display·LG Display.
Korea operates a comprehensive industrial cluster system. Korea Top 12 National Strategic Technologies (5th Science and Technology Master Plan 2023-2027): (1) Semiconductors and Displays (2) Secondary Batteries (3) Advanced Mobility (autonomous driving, UAM) (4) Next-Generation Nuclear (SMR) (5) Advanced Bio (6) Aerospace and Marine (7) Hydrogen (8) Cybersecurity (9) Artificial Intelligence (10) Next-Generation Communications (11) Advanced Robotics and Manufacturing (12) Quantum. 12 fields receive direct investment of 5 trillion KRW annually, cumulative 30 trillion KRW by 2030. Korea Major Industrial Clusters: Pangyo IT Cluster (1,300+ companies, 100 trillion KRW revenue), Gangnam Fintech (200+ companies), Songdo BT Bio Cluster, Daegu Medical Cluster, Ulsan Industry (shipbuilding, petrochemicals, automotive), Changwon Machinery, Changwon National Industrial Complex, Siheung and Banwol (SME manufacturing), Yeosu Petrochemicals, Pyeongtaek Semiconductor (Samsung Electronics Pyeongtaek Campus), Icheon and Cheongju Semiconductor (SK hynix Icheon and Cheongju Campuses), Asan Display (Samsung Display Asan Campus), Gumi Mobile (Samsung Gumi Campus), Pohang Steel (POSCO Pohang Steel Mill), Gwangyang Steel (POSCO Gwangyang Steel Mill), Dangjin Steel (Hyundai Steel Dangjin), Ulsan Automotive (Hyundai Motor Ulsan Plant), Asan Automotive (Hyundai Asan Plant), Kia Gwangju and Sohari, POSCO Gwangyang and Pohang Steel Mills, SK hynix Icheon and Cheongju, Samsung Electronics Hwaseong, Giheung, Pyeongtaek, Onyang, Cheonan, Asan Semiconductor Facilities. Major Industrial Complexes and Techno Valleys: Pangyo Techno Valley (1st 800 companies, 2nd 600 companies, 3rd 1,200 companies), Dongtan Techno Valley, Gwanggyo Techno Valley, Songdo IBD, Yeouido Financial District, Gangnam Teheran-ro Valley, Sihwa, Banwol, Gumi, Ulsan, Changwon, Geoje, Yeosu, Ulsan Mipo, Onsan, Cheongju, Iksan, Gwangyang, Yeosu, POSCO Gwangyang Steel Mill, Asan Bay, Seosan, Songdo, Incheon Airport, Sejong, Cheongna, Geomdan, Pyeongtaek Automotive Industrial Complex, Giheung Semiconductor Complex, Icheon Semiconductor Complex, Asan Display Complex, Gumi Mobile Complex, Changwon National Industrial Complex, Ulsan Mipo National Industrial Complex, Yeosu National Industrial Complex, Onsan National Industrial Complex. Korea Workforce Statistics: STEM undergraduate students 700,000 (26% of all university students), STEM graduate students 170,000, PhD researchers 140,000, STEM doctorates conferred 8,000 annually (Seoul National University 1,200, KAIST 800, POSTECH 400, Yonsei University 700, Korea University 600, UNIST 250, DGIST 100, GIST 200, KISTI 50, KIST and ETRI postdoctoral programs 1,000), information security experts 300,000 (KISA-trained and private), AI experts 50,000 (NIA, IITP, NIPA, Samsung, LG, SK, NAVER, Kakao trained), semiconductor experts 260,000 (Samsung Electronics 60,000, SK hynix 30,000, DB HiTek, SK siltron). National R&D Project Operation: National R&D projects 100,000+ annually (MSIT 35,000, MOTIE 25,000, MSS 20,000, MOE 15,000, others 5,000), R&D participating institutions 25,000+, R&D participating researchers 530,000, National R&D output (papers, patents) 540,000 annually. Korea Corporate R&D Investment Top 10 (2024): Samsung Electronics 28 trillion KRW, LG Electronics 9 trillion KRW, SK hynix 8 trillion KRW, Hyundai Motor 6 trillion KRW, Kia 4 trillion KRW, LG Chem 3.5 trillion KRW, LG Display 3.2 trillion KRW, POSCO 3 trillion KRW, Samsung SDI 2.7 trillion KRW, SK Innovation 2.5 trillion KRW.