Introduction

Many studies have been continuously conducted with the focus on energy-saving on buildings, and more research is needed for using renewable energies instead of using fossil fuels. Specifically, the infinite solar energy, among other green energies without territorial restrictions (unlike fossil energies), forms a focal point and research on its use in construction is continuously underway.

Cellat et al. conducted comprehensive, experimental, and numerical studies on the use of phase change materials (PCM) to improve and reduce energy consumption in sustainable buildings. They have studied PCMs in various forms (using bio-based fatty acids such as PCM, microencapsulated PCM in concrete and butyl stearate) under different conditions and, in all cases have concluded that the use of PCM in buildings causes increased human thermal comfort and increased energy saving (Cellat et al. 2015, 2019; Beyhan et al. 2017). Mahdavi Adeli et al. after in-depth studies on optimizing energy consumption in the zero-energy buildings put forward various scenarios for using a zero-energy building for renewable energy and concluded that in hot climates, using a solar panel alone to achieve a zero-energy building is not enough, and wind turbines or other renewable energies should also be used (Mahdavi Adeli et al. 2017, 2019, 2020). They also conducted other extensive theoretical and experimental studies on the application of solar renewable energy in buildings (Sarhaddi et al. 2010; Mahdavi Adeli et al. 2011, 2012; Namjoo et al. 2011; Yazdanpanahi et al. 2015; Valizadeh et al. 2019).

For the effective use of this solar energy, the input radiation of buildings must be correctly controlled. As windows are the main outlet of a building for the entrance of solar radiations, they must be controlled for the increase of lighting, cooling, and heating energies while thermal comfort of occupants should also be provided (Feng et al. 2017; Syngros et al. 2017; Kwon et al. 2018; Petrichenko et al. 2019). Su et al. studied the proper WWR range for different building orientations and the material of windows in an office building in Shanghai, China. While studying the effects of building appearance, they reached the conclusion that by increasing the WWR, a small but significant (around 5–9%) decrease occurs in adverse environmental impacts (Su and Zhang 2010). Stavrakakis et al. studied a natural cross-ventilated building in hot climate experimentally and numerically. The computational fluid dynamics (CFD) model of their building was developed and then they conducted studies with two various thermal comfort models at high-temperature experimental conditions. They concluded that all the turbulence simulation models were used in good agreement with their experimental results (Stavrakakis et al. 2008). Azari et al. addressed the impacts of window type, window frame materials, thermal resistance of walls, ratio of windows to south-facing and north-facing walls, and insulation materials in an office building, reaching the conclusion that the most optimum case for reduction of energy consumption and environmental emissions is a south WWR 60% and a north WWR 10% (Azari et al. 2016). Lobaccaro et al. used the parametric analysis aiming for the minimization of greenhouse gas emissions as well as the energy consumption in a zero-emission building, and using form optimization, they selected ten forms to utilize the potentials of solar energy (Lobaccaro et al. 2018). Charles et al. adopted a parametric study to investigate the impact of wall and ceiling insulation, airtightness, and window replacement on an old office building in Vancouver, Canada, reaching the result that correcting them can reduce 45% of the total energy consumption and that reducing the use of natural gas helps save 70 tons of CO2 emissions (Charles et al. 2018). Moschetti et al. addressed the most influential factors of environmental and economic problems in zero-energy and zero-emission buildings, proposing a way to solving these problems in buildings. One of their suggestions was widespread use of wood in constructions which would lead to about 30% reduction in global warming potential (GWP) (Moschetti et al. 2019). Pathirana et al. examined the impact of form, orientation, window to wall ratio, and zones on the consumption of lighting energy in about 300 different two-story buildings, with 24 orientations in warm climates with natural ventilation. They concluded that WWR changes had the largest effect on the thermal comfort of occupants (20–55%) compared with the electrical energy for lighting (1.5–9.5%) (Pathirana et al. 2019). Harmati et al. performed a detailed analysis on the optimization of the operation of energy consumption in existing office buildings by determination of window to wall ratio and geometry. The result of their study was indicative of the impact of glass parameters on the annual energy demand of the building (Harmati and Magyar 2015). Alwetaishi focused on exploring the window to wall ratios of 5%, 10%, 20%, 30%, and 40% in a building. Having obtained that south and east are the worst orientations for heat collection, he proposed the WWR 10% for (both wet and dry) warm climate (Alwetaishi and Taki 2019). Zomorodian et al. studied a double skin façade (DSF) office building in which the maximum hours of thermal comfort and the minimum energy consumption for a warm and dry environment were observed, and they reached the result that energy consumption was reduced by 14.8%, and the operational carbon emission decreased up to17%, while embodied carbon increased up to 47% (Zomorodian and Tahsildoost 2018).

Based on what has been said so far, although numerous studies have been carried out on the impact of different building orientations on the amount of energy consumption, but no comprehensive research has been conducted comparing the concurrent impacts of these parameters on the reduction of CO2 emissions and embodied CO2 in a warm and dry climate. It is mentionable that proper parameters for the said variables in envelopes should largely depend on the climate of the zone. In other words, if a parameter leads to a decrease or increase in solar thermal collection, it will naturally result in a decrease or increase of the summer and winter load. Therefore, it is only possible to comment on the properness of the orientation and WWR of a building when the annual load for a certain climate is figured out. Unlike previous researches, in the present study, different techniques of reducing CO2 emissions of a zero-energy building with the objective of reaching greater sustainability are investigated.

Methodology

Figure 1 demonstrates the use of renewable energies in the modeled building of the present study as well as how electrical energy is exchanged with the grid and the electricity storage device (battery). As can be seen in Fig. 1, the solar energy and wind energy are the constant generators of electrical current for the building. It should be noted that unlike the thermal energy, electrical energy cannot be easily stored after it is generated. For this problem, a battery is used after electricity is generated and converted into a storable form. In this study, the energy generation devices are connected to a battery, storing the electricity generated by them (after the electrical energy of the building is supplied), and if the battery becomes full, the surplus electricity is transferred to the overall electrical grid. Moreover, when the energy load of the building is large, the electrical energy stored in the battery is used first, and after the battery is fully discharged, electricity is received from the overall grid.

Fig. 1
figure 1

Energy exchange of the modeled building with renewable resources and grid

As shown in Fig. 2, all processes begin with building modeling and performing energy analysis and then optimization analysis to design a high-performance building. In the next step, solar and wind energy are added to the existing energy resources of the building and the results of their impact on the building are examined. It is important to note that in order to solve the current problem, the building must first be minimized in terms of internal energy consumption with proper building orientation, WWR, insulation, choice of building materials, etc. (passive design) and then increased energy production by renewable energy resources (active design). Using active design alone is not a suitable solution for zero-energy building design, meaning that increasing electricity generation by renewable energy sources to high-energy buildings is not a good strategy for achieving a zero-energy building. Finally, the parameters of net-zero-energy building are obtained by reducing the production of CO2 emission.

Fig. 2
figure 2

The methodology and problem-solving strategy

Building model

A two-story building with office use in Zahedan City, Iran, with a total infrastructure of 149 m2 and an occupied volume of 513 m3 was selected for this study. The 3D design of this building is illustrated in Fig. 3. Moreover, the design details of the modeled building are shown in Table 1.

Fig. 3
figure 3

The modeled building for analysis

Table 1 Modeled building’s specification and site location

In Table 2, the material used in the wall construction is considered. Since the aim is the lowest energy loss in the zero-energy building, the walls must be made of suitable insulation. As can be seen, the outer wall is made of brick with a thickness of 10 cm, and the inner layer is made of gypsum polyester. A schematic diagram of the section cut of this wall can be seen in Fig. 4.

Table 2 Building’s construction material
Fig. 4
figure 4

The building wall cross-section

As explained in the previous section, energy should be generated to supply part or all of energy consumption in a net-zero-emissions building. This generated energy consists of two general types of electrical and thermal energies. However, previous studies have shown that these energies can be converted to one another by some coefficients for the purpose of energy analysis in a mechanical system (Mahdavi Adeli et al. 2011; Mahdavi Adeli et al. 2019). As seen in Fig. 1, two types of photovoltaic solar and wind energies are used in this study to suit the climate potentials of Zahedan City. The specifications of the photovoltaic panel and the wind turbine used in the present study are stated in Tables 3 and 4, respectively.

Table 3 Photovoltaic panel specifications
Table 4 Wind turbine specifications

Analysis of the total energy consumption

The most significant loads in a residential building are the cooling and heating loads. The total heat loss and heat gain in a building should be equal, as stated in Eq. 1 (EnergyPlus 2016):

$$ -{Q}_{HVAC}={Q}_{\mathrm{Total}\ \mathrm{Site}\ \mathrm{Energy}\ \mathrm{Consumption}}=\sum \limits_{i=1}^{Nsj}{\dot{Q}}_i+\sum \limits_{i=1}^{N\mathrm{surface}}{h}_i.{A}_i.\left({T}_{si}-{T}_z\right)+\sum \limits_{i=1}^{N\mathrm{zones}}{m}_i.{c}_p.\left({T}_{zi}-{T}_z\right)+{m}_{\mathrm{inf}}.{c}_p.\left({T}_{ext}-{T}_z\right) $$
(1)

In the above equation, \( \sum \limits_{i=1}^{Nsj}{\dot{Q}}_i \) is the total load resulted from the internal convective heat transfer, \( \sum \limits_{i=1}^{N\mathrm{surface}}{h}_i.{A}_i.\left({T}_{si}-{T}_z\right) \) represents the convective heat exchange from surfaces of different zones, \( \sum \limits_{i=1}^{N\mathrm{zones}}{m}_i.{c}_p.\left({T}_{zi}-{T}_z\right) \) is the heat transfer caused by air combination in different zones, and minf. cp. (Text − Tz) is caused by heat transfer due to infiltration.

Heat transfer caused by the building components will impact the temperature of internal surfaces (Tsi), and hence, Eq. 2 demonstrates the convective heat transfer between building surfaces and the internal air:

$$ -{q}_{conv}^{{\prime\prime} }={q}_{LWX}^{{\prime\prime} }+{q}_{SW}^{{\prime\prime} }+{q}_{LWS}^{{\prime\prime} }+{q}_{sol}^{{\prime\prime} }+{q}_{ki}^{{\prime\prime} } $$
(2)

where \( {q}_{LWX}^{{\prime\prime} } \) represents the flux of radiative heat transfer between surfaces with long wavelengths, \( {q}_{SW}^{{\prime\prime} } \) shows the flux of radiative heat transfer between lights and surfaces, and \( {q}_{LWS}^{{\prime\prime} } \) is the flux of radiative heat transfer between surfaces and radiants. Moreover, \( {q}_{sol}^{{\prime\prime} } \) and \( {q}_{ki}^{{\prime\prime} } \)represent the solar radiative flux and conductive heat transfer from the building surroundings, respectively. \( {q}_{ki}^{{\prime\prime} } \) can be figured out using Eq. 3:

$$ {q}_{ki}^{{\prime\prime} }(t)=-{Z}_o{T}_{i,t}-\sum \limits_{j=1}^{nz}{\dot{Z}}_j{T}_{i,t- j\delta}+{Y}_o{T}_{o,t}+\sum \limits_{j=1}^{nz}{Y}_j{T}_{o,t- j\delta}+\sum \limits_{j=1}^{nq}{\psi}_j{q}_{ki,t- j\delta}^{{\prime\prime} } $$
(3)

where T represents the temperature; i and o coefficients show the internal and external surfaces, respectively; t represents the time in one stage; and Z, Y, and Ψ show the internal, cross, and flux coefficients.

The amount of the energy required for consumption of 1 year to cool the interior space of the building in terms of kWh/m2.year is determined by Eq. 4:

$$ {CN}_{usf}=\frac{1-{\eta}_c}{A}\times {Q}_{gn,c} $$
(4)

where ηc, A, and Qgn, c represent the loss coefficient in the cooling system, the total net cooled area of the building, and the total flux of the internal and solar heat gain of the building.

As seen in the “building model” section, the cooling temperature should be set on a certain amount for some seasons of the year to be able to solve this equation. Qgn, c is figured out by Eq. 5:

$$ {Q}_{gn,c}={Q}_{opq}+{Q}_s+{Q}_i $$
(5)

where Qopq is the internal temperature caused by equipment, lights, and building occupants; Qs represents the solar heat gained from transparent environments (e.g., windows and other transparent surfaces); and Qi shows the solar heat gained from opaque environments.

Finally, heat loss through exterior walls is figured out by Eq. 6:

$$ {Q}_{\mathrm{loss}}=U\left({T}_t-{T}_{md}\right) $$
(6)

where U, Tt, and Tmd represent the overall temperature transfer coefficient, the fixed internal temperature, and the mean daily temperature, respectively, with Tmd being figured by Eq. 7:

$$ {T}_{md}=\frac{T_{\mathrm{rad}}+{T}_{\mathrm{air}}}{2} $$
(7)

where Trad and Tair represent the radiative temperature and air temperature, respectively.

Calculation of the amount of carbon emissions in a building

Total carbon emissions in construction of a building (Ec) is figured out by Eq. 8 (Patil and Kumthekar 2016):

$$ {E}_c=\sum {E}_{\mathrm{mat}}+\sum {E}_{\mathrm{trans}}+\sum {E}_{\mathrm{site}}+\sum {E}_{\mathrm{waste}} $$
(8)

where Emat is the carbon emitted from the building materials, Etrans resulted from the carbon emitted during transfer, Esite is caused by carbon emissions through the site, and Ewaste is the amount of carbon emitted through waste.

Equation 9 yields the carbon emitted through building materials:

$$ {E}_{\mathrm{mat}}={Q}_{\mathrm{mat}}\times {EF}_{\mathrm{mat}} $$
(9)

where Qmat represents the quantity of the materials and products made in the building, and EFmat represents the coefficient of materials and products.

Moreover, the overall annual carbon emissions, Eo − a, are caused by the function of the building at the time of operation with electricity consumption:

$$ {E}_{o-a}={E}_{ele-a} $$
(10)
$$ {E}_{ele-a}={C}_{ele-a}\times {EF}_{grid} $$
(11)

where Eele − a shows the carbon emissions due to the annual consumption of electrical energy, Cele − a represents the annual electrical energy consumption, and EFgrid shows the carbon emissions coefficient for generation and distribution of electricity.

Results

According to Eqs. 1 to 7, Fig. 5 illustrates the results of energy analysis on the administrative building in different months of a year. This figure allows comparing consumed energies, either thermal or electrical. As can be seen, some of the energies (lighting, electrical equipment, etc.) are relatively constant and others are variable according to the utilization of building in seasons. For example, lighting electrical systems (including computers and other electronic equipment) was constant throughout the year and cooling equipment was variable, which was active only during summer. Figure 6 illustrates the details of the monthly electrical energy consumption for a building which uses both a photovoltaic panel and a wind turbine, including solar lighting, the electrical energy used for lighting, the electrical energy consumed for cooling, and the electrical energy consumed for water heating, excluding the electrical energy used for occupants’ activities and all equipment. As stated earlier, and considering the climate in Zahedan City, most energy consumption is due to the energy used for cooling in hot seasons of the year, in a way that the largest cooling load for this building was in June, amounting 1227 kWh. The annual quantities of electrical energy used for the activities of the occupants of this building and all equipment, excluding lighting, electrical energy used for lighting, electrical energy used for cooling, and the electrical energy used for water heating, were 6457.8 kWh, 9345.8 kWh, 8869.2 kWh, and 586.5 kWh, respectively, while annual electrical energy generation was 27,318.4 kWh. Finally, Fig. 7 compares the load of the annual electrical consumption of the building and the annual electricity generated by renewable energies. In fact, this figure is indicative of the fact that the overall annual energy generation of the building (resulted from the photovoltaic panels mounted on the building roof as well as the wind turbine) was slightly larger than the annual energy consumption of this building. Therefore, regarding energy consumption, this building has become zero-energy.

Fig. 5
figure 5

Daily consumed energy of the building within a year

Fig. 6
figure 6

Monthly energy generation and energy consumption using renewable energies in the zero-energy building

Fig. 7
figure 7

Overall annual energy consumption and energy generation using renewable energies in the zero-energy building

Table 5 shows the figures for the occupied area, mass, embodied CO2, and emitted CO2 for each of the materials used in the modeled building. As it is observed, the overall carbon is 19,552.7 kg and the equivalent CO2 is 23,912.3 kg. The amount of carbon emitted through external glazing, window shading, etc. is also tabulated in Table 6.

Table 5 The building blocks and carbon dioxide produced
Table 6 The local shape of building and carbon dioxide produced

Eventually, the embodied CO2 of 25,582.3 kg and equivalent CO2 of 29,921.8 kg were yielded for the total building area of 529 m2.

Discussion

Reducing energy consumption in buildings is a major global goal as the world moves towards designing sustainable buildings. Building components, especially envelopes, are the first energy consumers, and buildings have a wide range of walls, and window openings on the wall represent the main energy consumption and sustainability factor.

In the present study, in order to ensure the accuracy of the simulation results, some results have been compared and validated with experimental data which were mentioned in the literature review (Stavrakakis et al. 2008). The physical model of the tested building of dimensions 6 m × 4 m × 5.5 m is seen in Fig. 8. In Fig. 8a, a photograph of the studied building is shown, and in Fig. 8b, a schematic diagram of the measurement points of one-dimensional velocity and temperature has been given. Points B2 and C3 are located inside the building and point A2 is located in the middle of the north door. In Fig. 9(a to d), for four different types of building orientation, the average surface temperature of each wall is obtained, and the results indicate a good agreement between the measured temperatures and the present simulation. Also in Fig. 10, the experimental data for one-dimensional velocity of three points (A2, B2, and C3) is compared with the present study. As can be seen, there is still a good agreement between the present simulation and experimental data.

Fig. 8
figure 8

Real building for numerical validation: a physical model and b measured point positions (Stavrakakis et al. 2008)

Fig. 9
figure 9

Comparison between simulation results and experimental data—average surface temperature of the wall in four orientations: a north orientation, b east orientation, c south orientation, and d west orientation

Fig. 10
figure 10

Comparison between simulation results and experimental data—velocity in three points

The current research method to evaluate energy performance in buildings and reduce environmental pollution is the use of architectural solutions for designing openings. The effect of building orientation changes (north, east, south, and west) and window to wall ratio (WWR 20, 30, and 40%) to achieve these goals has been investigated. Changing these parameters in hot and cold seasons of the year creates 96 different scenarios. The effect of changes in these scenarios on operative temperature, discomfort hours of occupants, and emission of carbon dioxide has been studied. Figure 11 illustrates the four main orientations of the building on August 23 at 10 A.M.

Fig. 11
figure 11

Different orientations of the modeled building on August 23 at 10 A.M.: a north orientation, b east orientation, c south orientation, and d west orientation

Impact on operative temperature

Operative temperatures in winter and summer are good indicators of the energy consumption of air conditioning systems and the index of thermal comfort (Table 7 in the Appendix) for building occupants. In this section, the effect of two parameters (WWR and different building orientations) in August and January on average operative temperature is shown in Figs. 12a and b, respectively. As can be seen in Fig. 12a, unlike the cooler months of the year, in August, there are many fluctuations in the operative temperature diagram of the building in different orientations, so that the lowest operative temperature in WWR 20% is in the west orientation of the building and the highest operative temperature is in WWR 40% for northeast orientation. However, in the southern direction of the building, the operating temperature is still high, and in any case, as the WWR increases in all directions, the operative temperature also increases in the warm seasons, due to the increase in the intensity of solar radiation received through windows. But in January (Fig. 12b), the trend of operative temperature diagram is more regular and it is observed that in the south orientation of the building, with WWR 40%, and the highest operative temperature (19.8 °C) and the lowest operative temperature are related to the north orientation (18.9 °C) with WWR 40% too. These results can be more important in passive buildings that are actually energy efficient.

Fig. 12
figure 12

Monthly operative temperature with various WWR and building orientation: a August and b January

Impact on discomfort hours

Figure 13(a and b) shows the effect of WWR and building orientation on discomfort hours that the air conditioning system needs to operate in August (summer) and January (winter), respectively. As can be seen in Fig. 13. the discomfort hours in summer are more than those in winter, generally, which is due to the warmer ambient air temperature in hot climates. In summer (Fig. 13a), the maximum discomfort hour for WWR 40% is in the northeast orientation and the maximum comfort hour for WWR 20% is in the west orientation. In winter (Fig. 13b), the south orientation has the minimum discomfort (35 h), because, in this season, the south orientation has the highest amount of incident solar radiation. For this reason, the northwest orientation has the longest discomfort hours (about 87 h) in winter compared with other orientations. Therefore, in winter, the amount of WWR 40% is better with the south orientation and in summer, WWR 20% is the best with the west orientation. In Fig. 14, it is shown that in the annual analysis, which can be a more important decision in the design and construction of an energy-efficient building, the south orientation is a priority. The building with WWR 40% in south orientation has a total of 160 h of discomfort. In other words, in the annual evaluation of the thermal comfort of the building occupants, the best window to wall ratio is 40% in the south orientation, and the northeast orientation has maximum discomfort hours with WWR 40%. Of course, it should be noted that if the building was designed in the east and northeast orientation, the best amount of WWR is 20%.

Fig. 13
figure 13

Monthly discomfort hours with various WWR and building orientation: a August and b January

Fig. 14
figure 14

Annual discomfort hours with various WWR and building orientation

Impact on CO2 emissions

With passive solar methods, up to 17% reduction in emitted gases that plays an important role in electricity generation is possible (Mahdavi Adeli et al. 2019). In Fig. 15a, in terms of CO2 production, in the warm months of the year, the best orientation is in the west with WWR 20%, followed by the east orientation, and the worst orientation is the southeast orientation with CO2 production of 1347 kg and with WWR 40%. In the cold months of the year (Fig. 15b), the lowest amount of carbon dioxide production is 988 kg and the southern direction has lower energy consumption due to the use of natural solar energy to heat the building in this direction. It should be noted that the amount of carbon dioxide emitted is related to the energy consumption of the building. As can be seen in Fig. 16, the effect of the window to wall ratio and building orientation is shown in the annual amount of CO2 emitted. In the annual analysis, the priority is on the east orientation with WWR 20% and then the west orientation with WWR 20%. The worst-case scenario occurs with the production of 12,891 kg of carbon dioxide, a WWR 40%, and a northwest orientation. Although in the cold seasons of the year the WWR 40% produces less carbon dioxide (Fig. 15b), in total, the annual analysis (Fig. 16) shows that WWR 20% compared with WWR 30% and 40% will produce less amount of CO2.

Fig. 15
figure 15

Monthly CO2 emissions with various WWR and building orientation: a August and b January

Fig. 16
figure 16

Annual CO2 emissions with various WWR and building orientation

Conclusion

As about 30–40% of energy demands in most developed countries or developing countries come from the construction sector, thus, buildings are regarded as the main key to shifting to sustainability in the energy sector. Considering the high electricity consumption in buildings, these figures often rise to over 40% in the primary energy and in energy related to CO2 emissions. In summary, energy generation depends on energy generation sources and the essential extraction methods for the exploitation of energy sources. Energy generation is directly dependent on human needs, and energy consumption can be related to the economic growth of a society and the society itself. Nowadays, energy demand is larger than ever. Unfortunately, more than 84% of our energy at present is generated from fossil resources which are finite and non-renewable. Therefore, the need for the development of energy generation sources, technologies, and new techniques becomes more vital day by day. Conservation of energy is the main concern in the efforts for energy sustainability. Thus, the exploitation of fossil fuels can be reduced by choosing the optimum building form.

The presence of windows in the façade of the buildings is essential for ventilation and lighting. While increasing the size of a window can lead to increased ventilation and lighting, it can also increase the heat received by the incoming solar energy and increasing heat absorption or loss, because the thermal resistance of window glass is lower than the walls of a building and it creates a thermal bridge. In this study, the parametric analysis showed northeast orientation of 80° and window to wall ratio of 40% were the best building orientations in the reduction of CO2 production approach, but in the same orientation of the building and in terms of thermal comfort, the building occupants had more than 400 h of discomfort experience, which is significant. The annual analysis shows that carbon dioxide production in the south orientation is almost constant (120 to 220°) and the rotation of the building at these degrees will have almost no effect on changing the annual CO2 production of the building. The results also demonstrate that the minimum annual production of carbon dioxide is about 12,633 kg, which can be reduced by about 258 kg, which is a significant amount.