The digital revolution and the bit and data revolution have changed human behavior and lifestyle today.The construction sector has the highest energy consumption in the world. Global efforts to reduce pollution, reduced global energy sources, and the fact that buildings account for a large share of the world's primary energy consumption, have led studies to redefine buildings as zero-energy buildings (ZEB). In recent years, much attention has been paid to the zero-energy approach to the building. It is one of the most suitable approaches for sustainable architecture and is currently considered as the future goal of building design. Attempts are being made to develop construction plans and policies in such a way as to divert buildings to zero energy (ZE). In other words, the goal is to make the housing sector self-sufficient in energy. At its simplest, this approach is to increase energy efficiency and safety and reduce pollution emissions. What is known in the world today as energy is a type of energy that is costly to deliver to the consumer. Consider a community that can produce as much energy as it needs. This is the basic concept behind ZEBs.