Abstract
The growing penetration of distributed energy resources, smart building technologies, and advanced control systems is transforming residential buildings from passive electricity consumers into active participants in modern power systems. This study proposes an energy management framework for grid-interactive residential buildings that integrates smart controllable loads, rooftop photovoltaic (PV) systems, battery energy storage systems (BESS), and IoT-enabled adaptive building technologies within a network-constrained optimization model. The framework coordinates building-level flexibility resources while respecting distribution-network operational constraints to enhance both occupant-side and grid-side performance. An energy-based flexibility decomposition method is introduced to quantify the relative contributions of smart loads and combined PV and BESS resources. The proposed nonlinear optimization model is evaluated on the IEEE 33-bus distribution system across multiple flexibility configurations and penetration levels. Results show that coordinated flexibility reduces household electricity costs, increases renewable-energy utilization, and improves distribution-network load profiles. The integrated PV–BESS configuration reduces household electricity costs by up to 90.6% relative to conventional residential operation while decreasing substation power imports. At 20% smart-house penetration, combined PV and BESS resources account for approximately 85% of the average energy-based flexibility contribution, while smart loads provide the remaining 15% through demand adjustments. The results also reveal a trade-off between household savings and local distribution-company profitability, highlighting important implications for tariff and flexibility program design. Overall, the proposed framework demonstrates the potential of grid-interactive residential buildings to support coordinated energy management, renewable-energy integration, and reliable smart-grid operation.