Testing Homeostasis Using the Designed Matlab GUI of Cardiovascular-Respiratory System Mathematical Model
Abstract
Homeostasis is the body's mechanism for maintaining internal stability amidst external changes, particularly within the cardiovascular and respiratory systems. This study applied optimal control problem strategies to sustain homeostasis by regulating key physiological parameters such as blood pressure, oxygen, and carbon dioxide levels. A stability analysis was conducted on a mathematical model of the human cardiovascular-respiratory system using a GUI in MATLAB App Designer to test this homeostasis. The findings demonstrated that the model's variables consistently averaged within normal physiological ranges, affirming the successful maintenance of homeostasis. The GUI provided intuitive and interactive graphical outputs, effectively distinguishing between healthy and unhealthy individuals. Stable outputs were observed in healthy subjects, while instability was evident in unhealthy subjects, underscoring the system's sensitivity to pathological conditions. The user-friendly interface efficiently managed input data and delivered precise health status indicators. The model reliably simulated the impact of various disease parameters, with variables remaining within normal ranges in healthy scenarios and deviating in the presence of disease, thereby highlighting its potential as a valuable tool for clinical and research applications.
References
Spyer, K. M. (1995). Central nervous mechanisms responsible for cardio-respiratory homeostasis. Control of the Cardiovascular and Respiratory Systems in Health and Disease, 73-79.
Travers, G., Kippelen, P., Trangmar, S. J., González-Alonso, J. (2022). Physiological function during exercise and environmental stress in humans—An integrative view of body systems and homeostasis. Cells, 11(3), 383.
Ntaganda, J. M., and Mampassi, B. (2012). CARDIOGUI: An Interface Guide to Simulate Cardiovascular Respiratory System during Physical Activity, Applied Mathematics, vol. 3, no. 12.
Tu, J., Yeoh, G. H., Liu, C., Tao, Y. (2023). Computational fluid dynamics: a practical approach, Elsevier.
Müller-Putz, G. R., Breitwieser, C., Cincotti, F., Leeb, R., Schreuder, M., Leotta, F., Millán, J. D. R. (2011). Tools for brain-computer interaction: a general concept for a hybrid BCI. Frontiers in neuroinformatics, 5, 13415.
Priyam, A., Woodcroft, B. J., Rai, V., Moghul, I., Munagala, A., Ter, F., and Wurm, Y. (2019).Sequencerserver: a modern graphical user interface for custom BLAST databases. Molecular biology and evolution, 36(12), 2922-2924.
Sadeghi Milani, A., Cecil-Xavier, A., Gupta, A., Cecil, J., and Kennison, S. (2024). A systematic review of human-computer interaction (HCI) research in medical and other engineering fields. International Journal of Human-Computer Interaction, 40(3), 515-536.
Heldt, T., Mukkamala, R., Moody, G. B., and Mark, R. G. (2010).CVSim: an open-source cardiovascular simulator for teaching and research. The open pacing, electrophysiology and therapy journal, 3, 45.
Maestri, R., and Pinna, G. D. (1998). POLYAN: a computer program for polyparametric analysis of cardio-respiratory variability signals. Computer methods and programs in biomedicine, 56(1), 37-48.
Trenhago, P. R., Fernandes, L. G., Müller, L. O., Blanco, P. J., and Feijóo, R. A. (2016). An integrated mathematical model of the cardiovascular and respiratory systems. International journal for numerical methods in biomedical engineering, 32(1), e02736.
Cheng, L., Albanese, A., Ursino, M., and Chbat, N. W. (2016). An integrated mathematical model of the human cardiopulmonary system: model validation under hypercapnia and hypoxia. American Journal of Physiology-Heart and Circulatory Physiology, 310(7), H922-H937.
Timischl, S. (1998). A Global Model for the Cardiovascular and Respiratory System: diss. of the requirements for the degree Doktor Rerum Naturalium/Susanne Timischl. Karl-Franzens University of Graz.
Bizimungu, T., Harelimana, D., Marie Ntaganda, J. (2021).Client-Server and Web-Based Graphical User Interface Design for the Mathematical Model of Cardiovascular-Respiratory System. Applied Computational Intelligence and Soft Computing, 2021(1), 5581937.
Afolabi, A. S., Oyewale, A. A. (2025). On the Solutions of Optimal Control Problems Constrained by Ordinary Differential Equations with Vector-Matrix Coefficients Using FICO Xpress Mosel. International Journal of Mathematical Sciences and Optimization: Theory and Applications, 11(2), 111-132.
Grosselin, F., Navarro-Sune, X., Raux, M., Similowski, T., and Chavez, M. (2018). CARE-rCortex: A Matlab toolbox for the analysis of CArdio-REspiratory-related activity in the Cortex. Journal of Neuroscience Methods, 308, 309-316.
Schulz, S. M., Ayala, E., Dahme, B., and Ritz, T. (2009). A MATLAB toolbox for correcting within-individual effects of respiration rate and tidal volume on respiratory sinus arrhythmia during variable breathing. Behavior Research Methods, 41, 1121-1126.
Schroeder, M. J., Perreault, B., Ewert, D. L., and Koenig, S. C. (2004). HEART: an automated beat-to-beat cardiovascular analysis package using Matlab. Computers in Biology and Medicine, 34(5), 371-388.
Ntaganda, J. M., Niyobuhungiro, J., Banzi, W., Mpinganzima, L., Minani, F., Gahutu, J. B., . Kambutse, I. (2019). Mathematical modelling of human cardiovascular-respiratory system responses to exercise in Rwanda. International Journal of Mathematical Modelling and Numerical Optimisation, 9(3), 287-308.
Perko, L. Differential equations and dynamical systems. Springer Science and Business Media, 2013.
Lelong-Ferrand, J. (1977). JM Arnaudis es. Cours de math ematiques, Tome4, Equations differentielles, int egrales multiples, Dunod Universit e, Bordas, Paris.
Klabunde, R. (2011). Cardiovascular physiology concepts. Lippincott Williams and Wilkins.
Kappel, F., Peer, R. O. (1995). Implementation of a cardiovascular model and algorithms for parameter identification. Karl-Franzens-Univ. Graz and Techn. Univ. Graz.
Abramowitz, S., Leiner, G. C., Lewis, W. A., Small, M. J. (1965). Vital capacity in the Negro. American Review of Respiratory Disease, 92(2), 287-292.
Ntaganda, J. M., Mampassi, B., Seck, D. (2007). Modelling blood partial pressures of the human cardiovascular/respiratory system. Applied Mathematics and computation, 187(2), 1100-1108.
Ho, K. K. L. (2014). The long-term prognostic value of heart rate in health and disease. Journal of the American College of Cardiology, 63(12), 1111-1119.
Karimi, K. J. M., Rotich, T. (2025). Mathematical Model for Ions Transport Optimization in an Animal Cell Using MATLAB. International Journal of Mathematical Sciences and Optimization: Theory and Applications, 11(2), 62-73.
Hall, J. E. (2016). Guyton and Hall Textbook of Medical Physiology, Jordanian Edition E-Book. Elsevier Health Sciences.
Schultze, A. E. (2007). Book Review: Tietz Textbook of Clinical Chemistry and Molecular Diagnostics, 129-130
West, J. B. (2012). Respiratory physiology: the essentials. Lippincott Williams and Wilkins.
Copyright (c) 2025 Authors

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This is an Open Access article distributed under the terms of the Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, adaptation, and reproduction in any medium, provided that the original work is properly cited.
