I. Introduction
Buildings consume a significant amount of energy and need to be managed effectively to optimize the energy consumption. There is an urge for the transition to a decarbonized energy system by 2050 by enabling high-performing, flexible, energy-efficient residential and commercial buildings. Residential dc microgrids and nanogrids are a new technology that aims to promote the shift to energy-efficient buildings. Higher efficiency at the same voltage levels, no requirement for reactive power correction or frequency synchronization, and simplicity in integrating renewable energy sources are the key advantages of dc microgrid systems. The dc systems can be interconnected with a variety of renewable energy sources and energy storage systems from the power supply side, and multiple dc loads including data centers, electric vehicle charging stations, railroads, residential loads, and industrial loads, also can be supplied simultaneously from the load side. Thanks to the dc systems for their improved reliability and reduced installation cost as it eliminates intermediate stage ac/dc converters at the load end [1]–[7].