Energy-saving design is becoming a trending topic and top-priority over the past decades due to high energy costs, limited available resources and growing urban development. Buildings are alluded to as the major contributors of energy consumption and environmental emissions across the globe. This calls for the development of precise forecasting models of energy consumption and carbon emissions. Hence, this research paper harnesses the implementation of several contemporary metaheuristics to accurately project heating and cooling energy (HEN and CEN) in residential buildings. In this respect, black widow optimization, dandelion optimization, dingo optimization, sparrow search, and red-tailed hawk optimization are among the studied metaheuristics in this research study. The prediction accuracies of the developed models are assessed stepping on the measures of i) relative absolute error (RAE), ii) mean absolute error (MAE), iii) mean absolute percentage error (MAPE), iv) root mean squared error (RMSE) and v) Nash-Sutcliffe efficiency (NSE). It is shown that the developed red-tailed hawk optimization-based model succeeded in accomplishing the most precise results of HEN and CEN. In this context, it predicted HEN with RAE (0.201), MAE (1.838), MAPE (7.626%), RMSE (2.826), and NSE (0.921). Besides, it anticipated CEN with RAE (0.234), MAE (2.009), MAPE (7.519%), RMSE (3.246), and NSE (0.883). It can be argued that this research study could benefit architects and designers in creating more energy-efficient buildings at an early stage.
