Cargando…

Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling

Clinical and experimental studies involving human hearts can have certain limitations. Methods such as computer simulations can be an important alternative or supplemental tool. Physiological simulation at the tissue or organ level typically involves the handling of partial differential equations (P...

Descripción completa

Detalles Bibliográficos
Autores principales: Punzalan, Florencio Rusty, Kunieda, Yoshitoshi, Amano, Akira
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2015
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4565589/
https://www.ncbi.nlm.nih.gov/pubmed/26356082
http://dx.doi.org/10.1371/journal.pone.0136821
_version_ 1782389595913060352
author Punzalan, Florencio Rusty
Kunieda, Yoshitoshi
Amano, Akira
author_facet Punzalan, Florencio Rusty
Kunieda, Yoshitoshi
Amano, Akira
author_sort Punzalan, Florencio Rusty
collection PubMed
description Clinical and experimental studies involving human hearts can have certain limitations. Methods such as computer simulations can be an important alternative or supplemental tool. Physiological simulation at the tissue or organ level typically involves the handling of partial differential equations (PDEs). Boundary conditions and distributed parameters, such as those used in pharmacokinetics simulation, add to the complexity of the PDE solution. These factors can tailor PDE solutions and their corresponding program code to specific problems. Boundary condition and parameter changes in the customized code are usually prone to errors and time-consuming. We propose a general approach for handling PDEs and boundary conditions in computational models using a replacement scheme for discretization. This study is an extension of a program generator that we introduced in a previous publication. The program generator can generate code for multi-cell simulations of cardiac electrophysiology. Improvements to the system allow it to handle simultaneous equations in the biological function model as well as implicit PDE numerical schemes. The replacement scheme involves substituting all partial differential terms with numerical solution equations. Once the model and boundary equations are discretized with the numerical solution scheme, instances of the equations are generated to undergo dependency analysis. The result of the dependency analysis is then used to generate the program code. The resulting program code are in Java or C programming language. To validate the automatic handling of boundary conditions in the program code generator, we generated simulation code using the FHN, Luo-Rudy 1, and Hund-Rudy cell models and run cell-to-cell coupling and action potential propagation simulations. One of the simulations is based on a published experiment and simulation results are compared with the experimental data. We conclude that the proposed program code generator can be used to generate code for physiological simulations and provides a tool for studying cardiac electrophysiology.
format Online
Article
Text
id pubmed-4565589
institution National Center for Biotechnology Information
language English
publishDate 2015
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-45655892015-09-18 Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling Punzalan, Florencio Rusty Kunieda, Yoshitoshi Amano, Akira PLoS One Research Article Clinical and experimental studies involving human hearts can have certain limitations. Methods such as computer simulations can be an important alternative or supplemental tool. Physiological simulation at the tissue or organ level typically involves the handling of partial differential equations (PDEs). Boundary conditions and distributed parameters, such as those used in pharmacokinetics simulation, add to the complexity of the PDE solution. These factors can tailor PDE solutions and their corresponding program code to specific problems. Boundary condition and parameter changes in the customized code are usually prone to errors and time-consuming. We propose a general approach for handling PDEs and boundary conditions in computational models using a replacement scheme for discretization. This study is an extension of a program generator that we introduced in a previous publication. The program generator can generate code for multi-cell simulations of cardiac electrophysiology. Improvements to the system allow it to handle simultaneous equations in the biological function model as well as implicit PDE numerical schemes. The replacement scheme involves substituting all partial differential terms with numerical solution equations. Once the model and boundary equations are discretized with the numerical solution scheme, instances of the equations are generated to undergo dependency analysis. The result of the dependency analysis is then used to generate the program code. The resulting program code are in Java or C programming language. To validate the automatic handling of boundary conditions in the program code generator, we generated simulation code using the FHN, Luo-Rudy 1, and Hund-Rudy cell models and run cell-to-cell coupling and action potential propagation simulations. One of the simulations is based on a published experiment and simulation results are compared with the experimental data. We conclude that the proposed program code generator can be used to generate code for physiological simulations and provides a tool for studying cardiac electrophysiology. Public Library of Science 2015-09-10 /pmc/articles/PMC4565589/ /pubmed/26356082 http://dx.doi.org/10.1371/journal.pone.0136821 Text en © 2015 Punzalan et al http://creativecommons.org/licenses/by/4.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are properly credited.
spellingShingle Research Article
Punzalan, Florencio Rusty
Kunieda, Yoshitoshi
Amano, Akira
Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling
title Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling
title_full Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling
title_fullStr Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling
title_full_unstemmed Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling
title_short Program Code Generator for Cardiac Electrophysiology Simulation with Automatic PDE Boundary Condition Handling
title_sort program code generator for cardiac electrophysiology simulation with automatic pde boundary condition handling
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4565589/
https://www.ncbi.nlm.nih.gov/pubmed/26356082
http://dx.doi.org/10.1371/journal.pone.0136821
work_keys_str_mv AT punzalanflorenciorusty programcodegeneratorforcardiacelectrophysiologysimulationwithautomaticpdeboundaryconditionhandling
AT kuniedayoshitoshi programcodegeneratorforcardiacelectrophysiologysimulationwithautomaticpdeboundaryconditionhandling
AT amanoakira programcodegeneratorforcardiacelectrophysiologysimulationwithautomaticpdeboundaryconditionhandling