Abstract
Additive Manufacturing (AM) enables unprecedented design flexibility and decentralized production; however, its high energy consumption remains a critical sustainability challenge. While recent digital twin and machine learning (ML)-based studies have focused primarily on quality monitoring, defect detection, or thermal modeling, limited research has developed integrated predictive–optimization pipelines specifically targeting real-time energy management across multiple AM platforms. This study proposes a hybrid machine learning framework that combines predictive modeling, clustering-based data compression, and swarm intelligence optimization to estimate and minimize energy consumption using real-time process parameters. Experimental data were collected from Selective Laser Sintering (SLS) and Fused Deposition Modeling (FDM) systems, incorporating layer-wise geometric descriptors, process variables (laser power, scan speed, build temperature, extrusion rate), and environmental conditions. Multiple supervised learning models—including Support Vector Regression (SVR), XGBoost, Deep Neural Networks (DNN), and a DBSCAN–XGBoost hybrid—were trained and evaluated under a controlled benchmarking protocol. The DNN with feature selection achieved the best predictive performance (RMSE = 0.72 kWh, R² = 0.96), outperforming conventional regression and ensemble models across identical datasets. Statistical comparisons confirmed a consistent improvement in prediction accuracy relative to baseline linear and non-deep learning models. The predicted energy profiles were integrated into a Particle Swarm Optimization (PSO) module to identify energy-efficient process parameter configurations under manufacturability constraints. The optimization stage achieved up to an 18% reduction in energy consumption for both SLS and FDM builds while maintaining tensile strength and dimensional accuracy within acceptable tolerances. By explicitly integrating clustering-based compression, deep learning prediction, and swarm-based optimization into a unified pipeline, this framework extends beyond existing standalone digital twin or energy estimation approaches. The results demonstrate the potential of hybrid ML–optimization architectures for scalable, real-time, energy-aware additive manufacturing and sustainable industrial deployment.
Keywords
Additive Manufacturing, Energy Consumption, Machine Learning, Process Optimization, Sustainable Manufacturing,Downloads
References
- A. Dass, A. Moridi, State of the Art in Directed Energy Deposition: From Additive Manufacturing to Materials Design. Coatings, 9(7), (2019) 418. https://doi.org/10.3390/coatings9070418
- T. DebRoy, H. Wei, J. Zuback, T. Mukherjee, J. Elmer, J. Milewski, A. Beese, A. Wilson-Heid, A. De, W. Zhang, Additive Manufacturing of Metallic Components – Process, Structure and Properties. Progress in Materials Science, 92, (2017) 112–224. https://doi.org/10.1016/j.pmatsci.2017.10.001
- C. Körner, M. Markl, J.A. Koepf, Modeling and Simulation of Microstructure Evolution for Additive Manufacturing of Metals: A critical review. Metallurgical and Materials Transactions A, 51(10), (2020) 4970–4983. https://doi.org/10.1007/s11661-020-05946-3
- Y. Li, Z. Feng, L. Hao, L. Huang, C. Xin, Y. Wang, E. Bilotti, K. Essa, H. Zhang, Z. Li, F. Yan, A Review on Functionally Graded Materials and Structures Via Additive Manufacturing: From Multi-Scale Design to Versatile Functional Properties. Advanced Materials Technologies, 5(6), (2020) 1900981. https://doi.org/10.1002/admt.201900981
- Z. Abdelhamid, H. Mohamed, S. Kelouwani, The Use of Machine Learning in Process–Structure–Property Modeling for Material Extrusion Additive Manufacturing: A state-of-the-Art Review. Journal of the Brazilian Society of Mechanical Sciences and Engineering, 46(2), (2024) 46-70. https://doi.org/10.1007/s40430-023-04637-5
- S.S. Razvi, S. Feng, A. Narayanan, Y.T.T. Lee, P. Witherell, A Review of Machine Learning Applications in Additive Manufacturing. Proceedings of the International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, Anaheim, California, USA, 59179, (2019) V001T02A040. https://doi.org/10.1115/DETC2019-98415
- W.L. Ng, G.L. Goh, G.D. Goh, J.S.J. Ten, W.Y. Yeong, Progress and Opportunities for Machine Learning in Materials and Processes of Additive Manufacturing. Advanced Materials, 36(34), (2024) e2310006. https://doi.org/10.1002/adma.202310006
- S.A. Shevchik, G. Masinelli, C. Kenel, C. Leinenbach, K. Wasmer, Deep learning for in Situ and Real-Time Quality Monitoring in Additive Manufacturing using Acoustic Emission. IEEE Transactions on Industrial Informatics, 15(9), (2019) 5194–5203. https://doi.org/10.1109/tii.2019.2910524
- S. Hochreiter, J. Schmidhuber, Long Short-Term Memory. Neural Computation, 9(8), (1997) 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
- A.Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, Ł. Kaiser, I. Polosukhin, Attention is all you need. Advances in Neural Information Processing Systems, 30, (2017).
- Y. Chen, V. Karkaria, Y. Tsai, F. Rolark, D. Quispe, R. X. Gao, J. Cao, W. Chen, Real-time Decision-Making for Digital Twin in Additive Manufacturing with Model Predictive Control using Time-Series Deep Neural Networks. Journal of Manufacturing Systems, 80, (2025) 412–424. https://doi.org/10.1016/j.jmsy.2025.03.009
- V. Karkaria, A. Goeckner, R. Zha, J. Chen, J. Zhang, Q. Zhu, J. Cao, R. X. Gao, W. Chen, Towards a Digital Twin Framework in Additive Manufacturing: Machine Learning and Bayesian Optimization for Time Series Process Optimization. Journal of Manufacturing Systems, 75, (2024) 322–332. https://doi.org/10.1016/j.jmsy.2024.04.023
- M. Mozaffar, S. Liao, H. Lin, K. Ehmann, J. Cao, Geometry-Agnostic Data-Driven Thermal Modeling of Additive Manufacturing Processes using Graph Neural Networks. Additive Manufacturing, 48(Part B), (2021) 102449. https://doi.org/10.1016/j.addma.2021.102449
- S. Greenhill, S. Rana, S. Gupta, P. Vellanki, S. Venkatesh, Bayesian Optimization for Adaptive Experimental Design: A review. IEEE Access, 8, (2020) 13937–13948. https://doi.org/10.1109/access.2020.2966228
- G. Han, J. Jeong, J. Kim, Adaptive Bayesian Optimization for Fast Exploration under Safety Constraints. IEEE Access, 11, (2023) 42949–42969. https://doi.org/10.1109/access.2023.3271134
- M. Shahin, F. F. Chen, H. Bouzary, K. Krishnaiyer, Integration of lean practices and Industry 4.0 Technologies: Smart Manufacturing for Next-Generation Enterprises. The International Journal of Advanced Manufacturing Technology, 107(5–6), (2020) 2927–2936. https://doi.org/10.1007/s00170-020-05124-0
- M. Mozaffar, A. Paul, R. Al-Bahrani, S. Wolff, A. Choudhary, A. Agrawal, K. Ehmann, J. Cao, Data-Driven Prediction of the High-Dimensional Thermal History in Directed Energy Deposition Processes via Recurrent Neural Networks. Manufacturing Letters, 18, (2018) 35–39. https://doi.org/10.1016/j.mfglet.2018.10.002
- M. Raissi, P. Perdikaris, G. Karniadakis, Physics-Informed Neural Networks: A Deep Learning Framework for Solving Forward and Inverse problems involving Nonlinear Partial Differential Equations. Journal of Computational Physics, 378, (2018) 686–707. https://doi.org/10.1016/j.jcp.2018.10.045
- J. Billa, (2018) Dropout Approaches for LSTM-based Speech Recognition Systems. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE, Calgary, AB, Canada. https://doi.org/10.1109/ICASSP.2018.8462544
- M. A. M. Sadr, Y. Zhu, P. Hu, An anomaly detection method for satellites using Monte Carlo dropout. IEEE Transactions on Aerospace and Electronic Systems, IEEE, 59(2), (2022) 2044–2052. https://doi.org/10.1109/TAES.2022.3206257
- Á. Bárkányi, T. Chován, S. Németh, J. Abonyi, Modelling for digital twins—Potential role of surrogate models. Processes, 9(3), (2021) 476. https://doi.org/10.3390/pr9030476
- S. Ding, L. Zhu, X. Xu, (2022) A novel LSTM-1DCNN-based deep network for fault diagnosis in chemical process. Proceedings of the China Automation Congress (CAC), IEEE, Xiamen, China. https://doi.org/10.1109/CAC57257.2022.10055667
- X. He, T. DebRoy, P. W. Fuerschbach, Alloying element vaporization during laser spot welding of stainless steel. Journal of Physics D: Applied Physics, 36(23), (2003) 3079–3088. https://doi.org/10.1088/0022-3727/36/23/033
- K. Irie, Z. Tüske, T. Alkhouli, R. Schlüter, H. Ney, (2016) LSTM, GRU, highway and a bit of attention: An empirical overview for language modeling in speech recognition. In Interspeech, San Francisco, USA. http://dx.doi.org/10.21437/Interspeech.2016-491
- D.P. Kingma, M. Welling, (2013) Auto-encoding variational Bayes. arXiv preprint, arXiv:1312.6114. https://doi.org/10.48550/arXiv.1312.6114
- D. Krenczyk, Dynamic Simulation Models as Digital Twins of Logistics Systems driven by Data from Multiple Sources. Journal of Physics: Conference Series, 2198(1), (2022) 012059. https://doi.org/10.1088/1742-6596/2198/1/012059
- L. Langhammer, R. Sotner, R. Theumer, Various-Order Low-Pass Filter with the Electronic Change of its Approximation. Sensors, 23(19), (2023) 8057. https://doi.org/10.3390/s23198057
- S. Liao, J. Jeong, R. Zha, T. Xue, J. Cao, Simulation-Guided Feedforward-Feedback Control of Melt Pool Temperature in Directed Energy Deposition. CIRP Annals, 72(1), (2023) 157–160. https://doi.org/10.1016/j.cirp.2023.03.014
- S. Liao, S. Webster, D. Huang, K. Ehmann, J. Cao, Simulation-guided variable laser power design for melt pool depth control in directed energy deposition. Additive Manufacturing, 56, (2022) 102912. https://doi.org/10.1016/j.addma.2022.102912
- S. Liao, T. Xue, J. Jeong, S. Webster, K. Ehmann, J. Cao, Hybrid Thermal Modeling of Additive Manufacturing Processes using Physics-Informed Neural Networks for Temperature Prediction and parameter identification. Computational Mechanics, 72(3), (2023) 499–512. https://doi.org/10.1007/s00466-022-02257-9
- F. Liu, F. Lyu, F. Liu, X. Liu, Lin, C. Huang, Laves Phase Control of Inconel 718 Superalloy Fabricated by Laser Direct Energy Deposition via δ Aging and Solution Treatment. Journal of Materials Research and Technology, 9(5), (2020) 9753–9765. https://doi.org/10.1016/j.jmrt.2020.06.061
- M. Luo, R. Li, D. Zheng, J. Kang, H. Wu, S. Deng, P. Niu, Formation Mechanism of Inherent Spatial Heterogeneity of Microstructure and Mechanical Properties of NiTi SMA prepared by Laser directed Energy Deposition. International Journal of Extreme Manufacturing, 5(3), (2023) 035005. https://doi.org/10.1088/2631-7990/acd96f
- T. Matsuda, F. Komaki, Multivariate Time Series Decomposition into Oscillation Components. Neural Computation, 29(8), (2017) 2055–2075. https://doi.org/10.1162/neco_a_00981
- D. Milanés-Hermosilla, R.T. Codorniú, R. López-Baracaldo, R. Sagaró-Zamora, D. Delisle-Rodriguez, J.J. Villarejo-Mayor, J.R. Núñez-Álvarez, Monte Carlo dropout for uncertainty estimation and motor imagery classification. Sensors, 21(21), (2021) 7241. https://doi.org/10.3390/s21217241
- T. Mikolov, G. Zweig, (2012) Context Dependent Recurrent Neural Network Language Model. Proceedings of the IEEE Spoken Language Technology Workshop (SLT), IEEE, Miami, FL, USA. https://doi.org/10.1109/SLT.2012.6424228
- M. Mozaffar, S. Liao, J. Jeong, T. Xue, J. Cao, Differentiable Simulation for Material Thermal Response Design in Additive Manufacturing Processes. Additive Manufacturing, 61, (2022) 103337. https://doi.org/10.1016/j.addma.2022.103337
- C. Morariu, O. Morariu, S. Răileanu, T. Borangiu, Machine learning for Predictive Scheduling and Resource Allocation in Large-Scale Manufacturing Systems. Computers in Industry, 120, (2020) 103244. https://doi.org/10.1016/j.compind.2020.103244
- A. Paul, M. Mozaffar, Z. Yang, W. K. Liao, A. Choudhary, J. Cao, A. Agrawal, (2019) A Real-Time Iterative Machine Learning Approach for Temperature Profile Prediction in Additive Manufacturing processes. Proceedings of the IEEE International Conference on Data Science and Advanced Analytics (DSAA), IEEE, Washington, DC, USA. https://doi.org/10.1109/DSAA.2019.00069
- Schulz, M. Speekenbrink, A. Krause, A Tutorial on Gaussian Process Regression: Modelling, Exploring, and Exploiting Functions. Journal of Mathematical Psychology, 85, (2018) 1–16. https://doi.org/10.1016/j.jmp.2018.03.001
- S. Selvin, R. Vinayakumar, E.A. Gopalakrishnan, V.K. Menon, K.P. Soman, (2017) Stock Price Prediction using LSTM, RNN and CNN-Sliding Window Model. Proceedings of the International Conference on Advances in Computing, Communications and Informatics (ICACCI), IEEE, Udupi, India. https://doi.org/10.1109/ICACCI.2017.8126078
- S. Shih, F. Sun, H. Lee, Temporal Pattern Attention for Multivariate Time Series Forecasting. Machine Learning, 108(8–9), (2019) 1421–1441. https://doi.org/10.1007/s10994-019-05815-0
- Z. Smoqi, B.D. Bevans, A. Gaikwad, J. Craig, A. Abul-Haj, B. Roeder, B. Macy, J. E. Shield, P. Rao, Closed-Loop Control of Melt Pool Temperature in Directed Energy Deposition. Materials & Design, 215, (2022) 110508. https://doi.org/10.1016/j.matdes.2022.110508
- M. Stein, Large Sample Properties of Simulations using Latin Hypercube Sampling. Technometrics, 29(2), (1987) 143–151. https://doi.org/10.1080/00401706.1987.10488205
Articles

