Gaining CO2 Reduction Insights with SHAP: Analyzing a Shower Heat Exchanger with Artificial Neural Networks
Abstract
:1. Introduction
- The determination of the potential CO2 emission reduction under various shower installation operating conditions and considering different carbon intensities corresponding to individual European Union countries.
- The assessment of the usefulness of ANNs for predicting the potential CO2 emission reduction achieved through the application of a horizontal shower heat exchanger.
- The assessment of the significance of parameters that influence the potential CO2 emission reduction during the SHE operation period.
2. Materials and Methods
2.1. Research Steps
2.2. Carbon Dioxide Emission Reduction
2.3. Artificial Neural Networks and SHAP Analysis
3. Results
3.1. CO2 Emission Reduction
3.2. MLP Artificial Neural Networks
3.3. Global and Local SHAP Analyses
3.4. Local SHAP Values for the Selected Observations
4. Discussion
5. Conclusions
- The analysis of 16,200 scenarios, differing in the conditions of use of shower installation and its location on the map of Europe, revealed substantial variation in CO2 emission reduction values. In the most favorable case, a 15-year emission reduction could reach 34,415.32 kg, whereas the minimum recorded value was 16.55 kg.
- This study confirmed that machine learning techniques serve as an effective tool for assessing the performance of shower heat exchangers, as evidenced by the obtained values of the model fitting metrics. Additionally, the application of model explainability methods ensures the identification of key areas influencing the process.
- One of the most critical variables affecting CO2 emission reduction during the operation of the horizontal shower heat exchanger is carbon intensity. Consequently, the greatest environmental benefits from using this technology can be achieved in countries where electricity is primarily generated from coal, such as Poland. In countries relying on clean energy sources, the effects will be less pronounced. However, the use of SHEs can still provide energy savings and reduce water heating costs.
- Another crucial parameter is total daily shower length. Therefore, the highest potential for CO2 emission reduction is observed in buildings with high shower water consumption, primarily due to a large number of users. This includes multi-family residential buildings, collective housing facilities, hotels, hospitals, etc. Environmental benefits can also be noticeable in individual apartments or detached houses if SHEs become widespread and their application becomes a standard.
- Other input variables have a significantly lower impact on CO2 emission reduction predictions, with their importance hierarchy depending on specific parameter values. On a global scale, mixed water flow rate ranks third in importance, followed by cold water temperature, graywater temperature, and linear bottom slope of the horizontal SHE. The least significant variable turned out to be the efficiency of the domestic hot water heater.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
ANN | artificial neural network |
DHW | domestic hot water |
EU | European Union |
LCA | life cycle assessment |
MAE | mean absolute error |
RES | renewable energy source |
RMSE | root mean square error |
SDG | Sustainable Development Goal |
SHAP | SHapley Additive Explanations |
SHE | shower heat exchanger |
Appendix A
References
- Fadnes, F.S.; Assadi, M. Utilizing Wastewater Tunnels as Thermal Reservoirs for Heat Pumps in Smart Cities. Energies 2024, 17, 4832. [Google Scholar] [CrossRef]
- Czajor, D.; Amanowicz, Ł. Methodology for Modernizing Local Gas-Fired District Heating Systems into a Central District Heating System Using Gas-Fired Cogeneration Engines—A Case Study. Sustainability 2024, 16, 1401. [Google Scholar] [CrossRef]
- Voznyak, O.; Dudkiewicz, E.; Laska, M.; Antypov, I.; Spodyniuk, N.; Sukholova, I.; Savchenko, O. A New Approach to the Economic Evaluation of Thermomodernization: Annual Assessment Based on the Example of Production Space. Energies 2024, 17, 2105. [Google Scholar] [CrossRef]
- Vranayova, Z.; Kaposztasova, D. Educational Transformation: The Influence of Green Building Technologies. In Proceedings of the EcoComfort 2024, Lviv, Ukraine, 11–13 September 2024; Blikharskyy, Z., Zhelykh, V., Eds.; Lecture Notes in Civil Engineering. Springer: Cham, Switzerland, 2024; Volume 604, pp. 589–601. [Google Scholar] [CrossRef]
- Yoo, M. Development of Energy Efficient Domestic Hot Water Loop System Integrated with a Chilled Water Plant in Commercial Building. Sustainability 2025, 17, 75. [Google Scholar] [CrossRef]
- Hall, R.; Kenway, S.; O’Brien, K.; Memon, F. Quantification of residential water-related energy needs cohesion, validation and global representation to unlock efficiency gains. Renew. Sustain. Energy Rev. 2025, 207, 114906. [Google Scholar] [CrossRef]
- Aleksić, N.; Šušteršič, V.; Jurišević, N.; Kowalik, R.; Ludynia, A. Reduction of wastewater pollution using the technologies for heat recovery from wastewater in buildings—A review of available cases. Desalin. Water Treat. 2023, 301, 242–255. [Google Scholar] [CrossRef]
- Rivera-Aquino, H.; Rodriguez, C.; Cesar-Minga, J.; Rodriguez, D. Electrochemical energy generation by reusing domestic gray water. Math. Model. Eng. Probl. 2024, 11, 2205–2218. [Google Scholar] [CrossRef]
- Jadwiszczak, P.; Niemierka, E. Thermal effectiveness and NTU of horizontal plate drain water heat recovery unit—Experimental study. Int. Commun. Heat Mass Transf. 2023, 147, 106938. [Google Scholar] [CrossRef]
- Pérez Guillemette, T.; Albrechtsen, H.J. Microbial indicators for water quality in recirculating shower technology. Sci. Total Environ. 2025, 965, 178610. [Google Scholar] [CrossRef]
- Stec, A.; Piotrowska, B.; Słyś, D. Greywater as an undervalued tool for energy efficiency enhancement and decarbonizing the construction sector: A case study of a dormitory in Poland. Energy Build. 2025, 330, 115337. [Google Scholar] [CrossRef]
- Zhang, X.; Rhee, K.N.; Jung, G.J.; Kim, C. Exploring energy efficiency and savings potential of a horizontal domestic drain water heat recovery system in high-rise apartment buildings. Energy Build. 2024, 325, 115038. [Google Scholar] [CrossRef]
- Purghel, D.; Teodosiu, C. Experimental and Numerical Study for a Horizontal Wastewater Heat Recovery System. WSEAS Trans. Heat Mass Transf. 2024, 19, 73–79. [Google Scholar] [CrossRef]
- Silva, E.; Ferreira, V.; Cunha, J.; Monteiro, E. CFD Analysis on the Performance of Twisted Tapes in Horizontal Heat Exchangers for Shower Water Heat Recovery. J. Heat Mass Transf. Res. 2025, 12, 137–150. [Google Scholar] [CrossRef]
- Maciorowski, D.; Spychala, M.J.; Miedzinska, D. An Experimental and Numerical Investigation of a Heat Exchanger for Showers. Energies 2024, 17, 3641. [Google Scholar] [CrossRef]
- Bouvenot, J.B.; Beaudet, C. In situ experimental and theoretical studies of the performance and the fouling impact of shower greywater heat recovery systems. Energy Build. 2025, 331, 115341. [Google Scholar] [CrossRef]
- Starzec, M.; Kordana-Obuch, S.; Piotrowska, B. Evaluation of the Suitability of Using Artificial Neural Networks in Assessing the Effectiveness of Greywater Heat Exchangers. Sustainability 2024, 16, 2790. [Google Scholar] [CrossRef]
- Stec, A.; Pochwat, K. Assessment of the efficiency of shower wastewater heat exchangers using machine learning-based methods. J. Build. Eng. 2025, 103, 112062. [Google Scholar] [CrossRef]
- Kordana-Obuch, S.; Piotrowska, B.; Starzec, M. Management of waste heat in residential buildings: Predictive modelling and sensitivity analysis of variables characterising shower heat exchanger conditions. Energy 2025, 318, 134743. [Google Scholar] [CrossRef]
- Carbon Intensity of the Power Sector in the European Union in 2023. Available online: https://www.statista.com/statistics/1291750/carbon-intensity-power-sector-eu-country/ (accessed on 19 February 2025).
- Carbon Intensity of Electricity Generation. 2023. Available online: https://ourworldindata.org/grapher/carbon-intensity-electricity#explore-the-data (accessed on 19 February 2025).
- Kaloop, M.R.; Ahmad, F.; Samui, P.; Elbeltagi, E.; Hu, J.W.; Wefki, H. Predicting energy consumption of residential buildings using metaheuristic-optimized artificial neural network technique in early design stage. Build. Environ. 2025, 274, 112749. [Google Scholar] [CrossRef]
- Vergés, R.; Gaspar, K.; Forcada, N. Predictive modelling of cooling consumption in nursing homes using artificial neural networks: Implications for energy efficiency and thermal comfort. Energy Rep. 2024, 12, 2356–2372. [Google Scholar] [CrossRef]
- Li, L.; Hassan, W.H.; Mohammed, A.A.; Montufar, P.; AL-maamori, Z.M.; Sultan, A.J.; Salahshour, S.; Esmaeili, S. Prediction of heat transfer characteristics and energy efficiency of a PVT solar collector with corrugated-tube absorber using artificial neural network and group method data handling models. Int. Commun. Heat Mass Transf. 2024, 157, 107829. [Google Scholar] [CrossRef]
- Antosz, K.; Kozłowski, E.; Sęp, J.; Prucnal, S. Application of Machine Learning to the Prediction of Surface Roughness in the Milling Process on the Basis of Sensor Signals. Materials 2025, 18, 148. [Google Scholar] [CrossRef]
- Boutahri, Y.; Tilioua, A. Machine learning-based predictive model for thermal comfort and energy optimization in smart buildings. Results Eng. 2024, 22, 102148. [Google Scholar] [CrossRef]
- Han, T.T.T.; Lin, C.Y. Exploring long-run CO2 emission patterns and the environmental kuznets curve with machine learning methods. Innovat. Green Develop. 2025, 4, 100195. [Google Scholar] [CrossRef]
- Qiao, Q.; Eskandari, H.; Saadatmand, H.; Sahraei, M.A. An interpretable multi-stage forecasting framework for energy consumption and CO2 emissions for the transportation sector. Energy 2024, 286, 129499. [Google Scholar] [CrossRef]
- Zhu, B.; Kaparias, I.; Zhu, Z.; Lee, D.H.; Chen, X.M.; Hu, S. Data-driven modelling for CO2 emission reduction in bike-sharing systems: Multi-scale estimation and key determinants. J. Clean. Prod. 2025, 495, 144974. [Google Scholar] [CrossRef]
- Kordana-Obuch, S.; Starzec, M.; Piotrowska, B. Harnessing Artificial Neural Networks for Financial Analysis of Investments in a Shower Heat Exchanger. Energies 2024, 17, 3584. [Google Scholar] [CrossRef]
- Sayegh, M.A.; Ludwińska, A.; Rajski, K.; Dudkiewicz, E. Environmental and energy saving potential from greywater in hotels. Sci. Total Environ. 2021, 761, 143220. [Google Scholar] [CrossRef]
- Amanowicz, Ł.; Turski, M. PCM-Filled Capsules (RT44HC) for Heat Storage—Laboratory Scale Pilot Study. Energies 2025, 18, 345. [Google Scholar] [CrossRef]
- Xiong, Z.J.; Wu, D.; Hu, S.J.; Zhang, M.Y.; Liu, H.; Liu, Y. Exploring the in-situ recovery of low-grade heat from urine via thermoelectrochemical cell. J. Water Process Eng. 2025, 71, 107315. [Google Scholar] [CrossRef]
- Deng, Z.; Mol, S.; van der Hoek, J.P. Shower heat exchanger: Reuse of energy from heated drinking water for CO2 reduction. Drink. Water Eng. Sci. 2016, 9, 1–8. [Google Scholar] [CrossRef]
- Stec, A.; Słyś, D.; Ogarek, P.; Bednarz, K.; Bartkowska, I.; Gwoździej-Mazur, J.; Iwanek, M.; Kowalska, B. Assessment of Possibilities of Using Local Renewable Resources in Road Infrastructure Facilities—A Case Study from Poland. Energies 2024, 17, 6351. [Google Scholar] [CrossRef]
- Dudkiewicz, E.; Ludwińska, A. Family Dwelling House Localization in Poland as a Factor Influencing the Economic Effect of Rainwater Harvesting System with Underground Tank. Sustainability 2023, 15, 10687. [Google Scholar] [CrossRef]
- Borowski, P.F. The circular economy concept and its application to SDG 6. In Circular Economy Applications for Water Security, 1st ed.; Bandala, E.R., Ed.; CRC Press: Boca Raton, FL, USA, 2024; pp. 21–37. [Google Scholar] [CrossRef]
- United Nations (UN). The Sustainable Development Goals Report 2024; United Nations: New York, NY, USA, 2024. [Google Scholar]
- Chesnokov, Y.N.; Lisienko, V.G.; Holod, S.I.; Anufriev, V.P.; Lapteva, A.V. Estimation of CO2-Equivalent Emission under the Copper Fire Refining Process. IOP Conf. Ser. Earth Environ. Sci. 2017, 72, 012013. [Google Scholar] [CrossRef]
- Mazur, A. The impact of using of a DWHR heat exchanger on operating costs for a hot water preparation system and the amount of carbon dioxide emissions entering the atmosphere. E3S Web Conf. 2018, 45, 00052. [Google Scholar] [CrossRef]
- Yánez, D.; Espinoza, L.C.; Vargas, I.; Romero, I.; Aguirre, M.J.; Arce, R.; Quijada-Maldonado, E.; Abejon, R. Treated greywater as a novel water resource: The perspective of greywater treatment for reuse from a bibliometric analysis. Water Sci. Technol. 2024, 90, 3076–3110. [Google Scholar] [CrossRef]
Input Variable | Unit | Values |
---|---|---|
Operational period of horizontal SHE (n) | years | 15 |
Hot water temperature (Thw) | °C | 55 |
Cold water temperature (Tcw) | °C | 8, 14, 20 |
Graywater temperature (Tdw) | °C | 30, 35, 40 |
Total daily shower length (ls) | min | 10, 50, 90 |
DHW heater efficiency (η) | % | 90, 95, 100 |
Carbon intensity (eCO2) | kg/kWh | 0.040; 0.195; 0.350; 0.505; 0.660 |
Mixed water flow rate from showerhead (q) | L/min | 3, 4.5, 6.5, 8.5, 10 |
Linear bottom slope of horizontal SHE (i) | % | 0, 0.33, 0.66, 1, 2, 2.5, 3.5, 4 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Kordana-Obuch, S.; Piotrowska, B.; Starzec, M. Gaining CO2 Reduction Insights with SHAP: Analyzing a Shower Heat Exchanger with Artificial Neural Networks. Energies 2025, 18, 1904. https://doi.org/10.3390/en18081904
Kordana-Obuch S, Piotrowska B, Starzec M. Gaining CO2 Reduction Insights with SHAP: Analyzing a Shower Heat Exchanger with Artificial Neural Networks. Energies. 2025; 18(8):1904. https://doi.org/10.3390/en18081904
Chicago/Turabian StyleKordana-Obuch, Sabina, Beata Piotrowska, and Mariusz Starzec. 2025. "Gaining CO2 Reduction Insights with SHAP: Analyzing a Shower Heat Exchanger with Artificial Neural Networks" Energies 18, no. 8: 1904. https://doi.org/10.3390/en18081904
APA StyleKordana-Obuch, S., Piotrowska, B., & Starzec, M. (2025). Gaining CO2 Reduction Insights with SHAP: Analyzing a Shower Heat Exchanger with Artificial Neural Networks. Energies, 18(8), 1904. https://doi.org/10.3390/en18081904