API-Based Integration Framework for Dual-LLM Prescriptive Maintenance Report Generation in PHM-Enabled Digital Twin Applications
##plugins.themes.bootstrap3.article.main##
##plugins.themes.bootstrap3.article.sidebar##
Abstract
Digital Twins (DTs) have emerged as key enablers of Prognostics and Health Management (PHM) for predicting asset failures and optimizing maintenance strategies. However, translating predictive insights into actionable prescriptive maintenance plans remains a significant implementation challenge. This paper proposes an API-based framework that extends PHM-enabled DTs by incorporating a prescriptive maintenance layer aligned with enterprise operational constraints, including workforce scheduling, inventory availability, cost considerations, and compliance requirements. The framework integrates a generator model to produce maintenance recommendations and a checker model to evaluate report quality against operational criteria using a sequential model loading approach. Prescriptive maintenance reports using enterprise data as context are generated for a hydraulic system undergoing MCD scenarios. The framework proposed in this paper provides a low-cost implementation for integrating LLMs for prescriptive maintenance reporting for DT applications. This study contributes to LLM implementation use cases for DT applications for fleet asset management.
How to Cite
##plugins.themes.bootstrap3.article.details##
Application Programming Interface, Digital Twin, Generative Adversarial Network, Large Language Models, Resource Availability Data, Prognostic and Health Management
Barimah, A., Niculita, O., McGlinchey, D., Cowell, A. and Milligan, B., 2024, June. Towards Physics-Informed PHM for Multi-component degradation (MCD) in complex systems. In PHM Society European Conference (Vol. 8, No. 1, pp. 14-14).
Barimah, A.K., Onu, O.P., Niculita, O., Cowell, A. and McGlinchey, D., 2025. Scalable Data Transformation Models for Physics-Informed Neural Networks (PINNs) in Digital Twin-Enabled Prognostics and Health Management (PHM) Applications. Computers, 14(4), p.121.
Barimah, A., Niculita, O., McGlinchey, D. & Cowell, A., 2023. Data-quality assessment for digital twins targeting multi-component degradation in industrial internet of things (IIoT)-enabled smart infrastructure systems. Applied Sciences, 13(24), p. 13076
Bousdekis, A., Lepenioti, K., Apostolou, D. and Mentzas, G. (2021) 'A review of data-driven decision-making methods for Industry 4.0 maintenance applications', Electronics, 10(7), p. 828.
Brown, T.B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D.M., Wu, J., Winter, C., Hesse, C., Chen, M., Sigler, E., Litwin, M., Gray, S., Chess, B., Clark, J., Berner, C., McCandlish, S., Radford, A., Sutskever, I. and Amodei, D. (2020) 'Language models are few-shot learners', arXiv [Preprint]. arXiv:2005.14165.
Cachada, A., Barbosa, J., Leitão, P., Geraldes, C.A.S., Deusdado, L., Costa, J., Teixeira, C., Teixeira, J., Moreira, A.H.J., Moreira, P.M. and Romero, L. (2018) 'Maintenance 4.0: Intelligent and Predictive Maintenance System Architecture', in 2018 IEEE 23rd International Conference on Emerging Technologies and Factory Automation (ETFA), Turin, Italy, pp. 139–146.
Carvalho, T.P., Soares, F.A.A.M.N., Vita, R., Francisco, R.d.P., Basto, J.P. and Alcalá, S.G.S. (2019) 'A systematic literature review of machine learning methods applied to predictive maintenance', Computers & Industrial Engineering, 137, p. 106024.
Duriez, T., Brunton, S.L. and Noack, B.R. (2017) Machine Learning Control: Taming Nonlinear Dynamics and Turbulence. Fluid Mechanics and Its Applications, vol. 116. Cham: Springer International Publishing.
Eker, O.F., Camci, F. and Jennions, I.K. (2016) 'Physics-based prognostic modelling of filter clogging phenomena', Mechanical Systems and Signal Processing, 75, pp. 395–412.
Fuller, A., Fan, Z., Day, C. and Barlow, C. (2020) 'Digital twin: Enabling technologies, challenges and open research', IEEE Access, 8, pp. 108952–108971.
Grieves, M. and Vickers, J. (2017) 'Digital twin: Mitigating unpredictable, undesirable emergent behavior in complex systems', in Kahlen, F.J., Flumerfelt, S. and Alves, A. (eds.) Transdisciplinary Perspectives on Complex Systems. Cham: Springer, pp. 85–113.
Kritzinger, W., Karner, M., Traar, G., Henjes, J. and Sihn, W. (2018) 'Digital twin in manufacturing: A categorical literature review and classification', IFAC PapersOnLine, 51(11), pp. 1016–1022.
Li, Y., Chan, D., Zaman, N., Apostolou, E. and Conroy, P., 2022, October. ML Detection and Isolation of Functional Failures using Syndrome Diagnostics. In Annual Conference of the PHM Society (Vol. 14, No. 1).
Rasheed, A., San, O. & Kvamsdal, T., 2020. Digital twin: Values, challenges and enablers from a modeling perspective. IEEE access, Volume 8, pp. 21980-22012.
Vogl, G.W., Weiss, B.A. and Helu, M. (2019) 'A review of diagnostic and prognostic capabilities and best practices for manufacturing', Journal of Intelligent Manufacturing, 30, pp. 79–95.
Wang, H. and Li, Y.F. (2023) 'Large language model empowered by domain-specific knowledge base for industrial equipment operation and maintenance', in Proceedings of the 5th International Conference on System Reliability and Safety Engineering (SRSE), Beijing, China, pp. 474–479.
Zhao, W.X., Zhou, K., Li, J., Tang, T., Wang, X., Hou, Y., Min, Y., Zhang, B., Zhang, J., Dong, Z., Du, Y., Yang, C., Chen, Y., Chen, Z., Jiang, J., Ren, R., Li, Y., Tang, X., Liu, Z., Liu, P. and Wen, J.R. (2023) 'A survey of large language models', arXiv [Preprint]. arXiv:2303.18223.
Zonta, T., da Costa, C.A., da Rosa Righi, R., de Lima, M.J., da Trindade, E.S. and Li, G.P. (2020) 'Predictive maintenance in the industry 4.0: A systematic literature review', Computers & Industrial Engineering, 150, p. 106889.

This work is licensed under a Creative Commons Attribution 3.0 Unported License.
The Prognostic and Health Management Society advocates open-access to scientific data and uses a Creative Commons license for publishing and distributing any papers. A Creative Commons license does not relinquish the author’s copyright; rather it allows them to share some of their rights with any member of the public under certain conditions whilst enjoying full legal protection. By submitting an article to the International Conference of the Prognostics and Health Management Society, the authors agree to be bound by the associated terms and conditions including the following:
As the author, you retain the copyright to your Work. By submitting your Work, you are granting anybody the right to copy, distribute and transmit your Work and to adapt your Work with proper attribution under the terms of the Creative Commons Attribution 3.0 United States license. You assign rights to the Prognostics and Health Management Society to publish and disseminate your Work through electronic and print media if it is accepted for publication. A license note citing the Creative Commons Attribution 3.0 United States License as shown below needs to be placed in the footnote on the first page of the article.
First Author et al. This is an open-access article distributed under the terms of the Creative Commons Attribution 3.0 United States License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.