MODELING OF CIRCULATION DYNAMICS WITH ACAUSAL MODELING TOOLS
This paper presents an innovative approach to modeling and simulation using acausal modeling tools, which is representative of the modeling language Modelica. This language allows the description of the modeled relationships directly with the equations. Advantages of this approach are demonstrated on the model circulation dynamics by Guyton, Coleman and Grange of the 1972, which is one of the first models of integrated physiological systems of the organism and opened the domain, which is now engaged in the integrative physiology. The introduction of acausal approach and its comparison to previous methods is the scientific contribution of this paper.
Keywords:
Modelica, Guyton, modeling, biomedicine, Dymola
Authors:
Tomáš Kroček 1
Authors place of work:
First Faculty of Medicine, Charles University, Czech Republic
1
Published in the journal:
Lékař a technika - Clinician and Technology No. 2, 2012, 42, 104-107
Category:
Conference YBERC 2012
Summary
This paper presents an innovative approach to modeling and simulation using acausal modeling tools, which is representative of the modeling language Modelica. This language allows the description of the modeled relationships directly with the equations. Advantages of this approach are demonstrated on the model circulation dynamics by Guyton, Coleman and Grange of the 1972, which is one of the first models of integrated physiological systems of the organism and opened the domain, which is now engaged in the integrative physiology. The introduction of acausal approach and its comparison to previous methods is the scientific contribution of this paper.
Keywords:
Modelica, Guyton, modeling, biomedicine, Dymola
Introduction
This paper aims to introduce an innovative approach to modeling and simulations using the so called acausal modeling tools. These tools, which is representative of the modeling language Modelica, allow to describe the relationships of model directly in tool using equations (we describe the equation and not the solution). Modelica language is now increasingly used in industry. Use in biological applications is still infrequent. Advantages of this approach are demonstrated by the model of circulation dynamics from Guyton, Coleman and Granger of the 1972 [1]. The original article contained as attachment accompanying diagram (see Figure 1), which graphically represents the model equation.
The model describes the regulation of the circulatory system, including all its connection to other physiological systems of the organism, such as oxygen transport, the volume dynamics, body fluids osmolarity, lymph flow, plasma protein circulation, potassium and sodium homeostasis, kidney model, etc. The model considers the autonomic nervous regulation including the regulation of thirst and drinking, hormonal regulation of angiotensin, aldosterone and ADH. Model represents the broader context of the circulatory system and allows the body to simulate the behavior of normal, during physical activity and in a number of pathological conditions. He was one of the first models of integrated physiological systems of the organism and opened the domain, which is now engaged in the integrative physiology.
Methods
Guyton's chart that was part of the publication is a complex network of interconnected computing elements. The authors originally implemented the model in Fortran. Five years ago in our laboratory was the model implemented in block-oriented tool Simulink. Interconnection in this implementation accurately corresponds to the graphical diagram of the original publication (after correction of some errors in the original graphic diagram) [2]. An implementation where outputs of one block are connected to inputs of other blocks is called causal.
In Simulink, was published, another, more advanced version of Guyton's model (originally implemented in Fortran or C++) - Guyton's model of the 1986, including extensive descriptions can be found at http://physiome.cz/Guyton and Simulink version of Guyton's model 1992 published in 2011 Mangourova et al. [3]. The same model in causal language cellML [4] is not yet fully functional.
New language Modelica [5] allows the implementation of a causal model, where individual elements are connected and visually the same form as the original Guyton's model [6], and also such an implementation, where the behavior of the model expressed by equations. Approach where we focus exclusively on the model equations, are called acausal [7]. Comparison of causal and acausal approach is scientific contribution of this paper.
Let's bring these approaches to calculating the total lung resistance. Yellow highlighted in Figure 2 shows the sequence of individual computing blocks. This sequence graphically expresses the procedure to calculate of total lung resistance (RPT). It was therefore a causal approach. Now let us show an acausal approach. Figure 3 is an icon that represents the total lung resistance. Against the background of this image (Figure 4) are equations whose solution is left on your computer. Acausal modeling leaves the attention of equations and not the solution algorithm, as in causal modeling.
Results
According to Guyton's original diagram created three implementations - two causal (in the languages Simulink and Modelica) and an acausal (in the language Modelica - Figure 5). Causal implementation in Modelica was using our labs technology translated into code that is executable in the web browser. The model, which captures the Figure 6 is through a web browser freely available to all Internet users (http://patfbiokyb. lf1.cuni.cz/~tomkro/GuytonModel1972/) without the need to own development environment (Dymola). Causal and acausal model implementation show the same behavior and results.
Discussion
Modelica is a particularly useful tool for creating complex models [8, 9], where the clarity and readability of the most apparent. The current version of the model from Guyton's colleagues and students, under the name HumMod (http://hummod.org) is probably the largest comprehensive model of integrated physiological system of the body. Modelica version of HumMod, which in collaboration with American colleagues engaged in our laboratory (http://physiome.cz/hummod) allows a clear and understandable formalized the expression of complex relationships between the subsystems of the organism. Models of physiological systems, among other things, can serve as a basis for the production of teaching medical simulator. The aim of our work is just making these simulators and their use in teaching physicians [10, 11].
Conclusion
A causal approach focuses on the algorithm calculation and modeling of reality beneath it very often lost. An acausal approach is focused on the model equations and their solution (algorithm) leaves your computer. Figures 7 and 8 demonstrate that the causal structure of the model describes the implementation of the method of calculation rather than the structure of the modeled reality, while acausal approach represented better the modeled reality.
Acausal modeling is a way to create understandable physiological models, where it is very important interdisciplinary cooperation of physiologists, technicians and in case of educational applications as well as artists. Acausal modeling using object-oriented and component-based approach, and significantly shortens the development cycle of the model. Acausal implementations of Guyton model of the 1972 (Figure 5) represents an innovative approach to creating of complex models. Individual components of this model include equations and are represented by icons on the outside. This property is one of the benefits acausal modeling - tto express the semantic meaning of each component.
Acknowledgement
This paper describes the outcome of research that has been accomplished as part of research program funded by the grant PRVOUK-P24/LF1/3 and by the grant FR—TI3/869.
Ing. Tomáš Kroček
Department of Pathological Physiology
First Faculty of Medicine Charles University in Prague
U nemocnice 5, CZ-120 00 Praha
E-mail: tomas.krocek@lf1.cuni.cz
tel: +420 224 965 912
Zdroje
[1] Guyton, A. C., Coleman, T. G., & Grander, H. J. (1972). Circulation: Overall Regulation. Ann. Rev. Physiol. , 41, stránky 13-41.
[2] Jiří Kofránek, Jan Rusz, Marek Mateják: From Guyton's graphic diagram to multimedia simulators for teaching physiology. (Resurection of Guyton's Chart for educational purpose) Proceedings of the Jackson Cardiovascular-Renal Meeting 2008. (Stephanie Lucas Ed,), CD ROM, 11. pp.
[3] Mangourova, V., Ringwood, J., & Van Vliet, B. (2011). Graphical simulation on environments for modelling and simulation on of integrative physiology. Computer Methods and Programs in Biomedicine, volume 102 (3), pp. 295–304
[4] cellML. (2010). Description of Guyton 1992 Full cardiovascular circulation model. [Online] http://models.cellml.org/exposure/cd10322c000e- 6ff64441464f8773ed83/Guyton_Model_1-0.cellml/view
[5] Fritzon, P. (2003). Principles of object-oriented modeling and simulation with Modelica 2.1. Wiley-IEE Press.
[6] Kroček, Tomáš. Implementation of large-scale model of physiological functions in the environment of the language Modelica (in czech). Prague, 2011. Available from: https://cyber.felk.cvut.cz/research/theses/papers/181.pdf. Master thesis. CTU FEE. Supervisor: Doc. MUDr. Jiří Kofránek, CSc.
[7] Jiří Kofránek, Marek Mateják, Pavol Privitzer: Causal or acausal modeling: labour for humans or labour for machines. In Technical Conmputing Prague 2008, 16th Annual Conference Proceedings. (Cleve Moler, Aleš Procházka, Robert bartko, Martin Folin, Jan Houška, Petr Byron Eds). Humusoft s.r.o., Prague, 2008, ISBN 978-80-7080-692-0. CD ROM, str. 1-16, [Online] http://www2.humusoft.cz/kofranek/058_Kofranek.pdf
[8] Jiří Kofránek, Marek Mateják, Pavol Privitzer: HumMod - large scale physiological model in Modelica. Proceedings of 8th. International Modelica conference 2011, Dresden*, internetový sborník (12 stran): https://www.modelica.org/events/modelica2011/Proceedings/pa ges/papers/23_poster_ID_175_a_fv.pdf
[9] Hester R, Brown A, Husband L, Iliescu R, Pruett WA, Summers RL and Coleman T (2011). HumMod: A modeling environment for the simulation of integrative human physiology. Front. Physio. 2:12. doi: 10.3389/fphys.2011.00012
[10] Kofránek, Jiří Privitzer, Pavol, Mateják, Marek, Matoušek, Stanislav: Use of web multimedia simulation in biomedical teaching. In Proceedings of the 2011 International Conference on Frontiers in Education: Computer Science & Computer Engineering, Las Vegas, July 18-21, 2011, (H. R. Arabia, V. A. Cincy, L. Deligianidis, Eds.), ISBN 1-60132-180-5, CSREA Press, Las Vegas, Nevada, 2011, 282-288.
[11] Kofránek, Jiří, Matoušek, Stanislav, Rusz, Jan, Stodulka, Petr, Privitzer, Pavol, Mateják, Marek, Tribula Martin: The Atlas of physiology and pathophysiology: web-based multimedia enabled interactive simulations. Computer Methods and Programs in Biomedicine, 104(2), 143-153, 2011 IF 1.44
Štítky
BiomedicínaČlánek vyšel v časopise
Lékař a technika
2012 Číslo 2
Nejčtenější v tomto čísle
- MECHANICAL MODEL OF THE CARDIOVASCULAR SYSTEM: DETERMINATION OF CARDIAC OUTPUT BY DYE DILUTION
- MATLAB AND ITS USE FOR PROCESSING OF THERMOGRAMS
- VENTILATOR CIRCUIT MODEL FOR OPTIMIZATION OF HIGH-FREQUENCY OSCILLATORY VENTILATION
- The Fifth Biomedical Engineering Conference of Young Biomedical Engineers and Researchers