5 CONCLUSIONS
Our use-case driven design process has yielded a mod-
ular framework which allows a family of cardiac elec-
trophysiological models to be extended both intuitively
and easily. This extensibility was achieved by utilis-
ing features such as generics and subtyping which
exploit the substitutability property of module hierar-
chies along with encapsulation for code structure and
aggregation for reuse. This is a common approach
used to structure large-scale software projects. New
cardiac models may utilise existing ion channel mod-
els, enabling the DSL to naturally capture the reuse
of models and experimental data. Thereby increasing
robustness which is important if these models are ever
used in a predictive pharmaceutical or clinical setting.
We can create hybrid models that include ion chan-
nel representations from several models. This can
be undertaken automatically simply by utilising ion
channel modules from different models when instanti-
ating a generic cell model. Generic modules may be
used to perform sensitivity analysis of the model to
parameter fluctuations. They can be used to alter equa-
tions, for example to model ion channel changes and
resulting effect on the AP caused by mutation or drug
block (O’Hara et al., 2011) in an abstracted manner.
Models created in the fashion that we have illus-
trated do not depend on each other explicitly. They do
not communicate with one another either. Parameteri-
sation only requires the type signature of the parameter
object to be known. Consequently they demonstrate
low coupling and high cohesion, an aspect of model
design that we feel is important for reusability and
extensibility (McKeever et al., 2013).
We are currently developing a repository to repro-
duce existing models. Our notation is textual but as
we have shown the modularity constructs trialled in
Ode have equivalent UML-style graphical representa-
tions. Therefore visual physiological modelling envi-
ronments could also be developed to support collabo-
rative efforts to construct future models.
REFERENCES
Barendregt, H. (1985). The lambda calculus: Its syntax and
semantics, volume 103. Access Online via Elsevier.
Beeler, G. and Reuter, H. (1977). Reconstruction of the
action potential of ventricular myocardial fibres. The
Journal of physiology, 268(1):177.
Booch, G. (2006). Object Oriented Analysis and Design
with Applications. Pearson.
Gill, M., McKeever, S., and Gavaghan, D. (2012a). Modular
Mathematical Modelling of Biological Systems. In
Symposium on Theory of Modeling and Simulation
(TMS’12).
Gill, M., McKeever, S., and Gavaghan, D. (2012b). Modules
for Reusable and Collaborative Modelling of Biologi-
cal Mathematical Systems. In 21ST IEEE International
WETICE Conference (WETICE-2012).
Hodgkin, A. and Huxley, A. (1952). A quantitative de-
scription of membrane current and its application to
conduction and excitation in nerve. The Journal of
physiology, 117(4):500.
Hucka, M., Finney, A., Bornstein, B., Keating, S., and
Shapiro, B. (2004). Evolving a lingua franca and as-
sociated software infrastructure for computational sys-
tems biology: the Systems Biology Markup Language
(SBML) project. Systems Biology.
Leroy, X. (2000). A modular module system. Journal of
Functional Programming, 10(3):269–303.
Lloyd, C., Halstead, M., and Nielsen, P. (2004). CellML: its
future, present and past. Progress in Biophysics and
Molecular Biology, 85:433–450.
Luo, C. and Rudy, Y. (1991). A model of the ventricular
cardiac action potential. Depolarization, repolarization,
and their interaction. Circulation research, 68(6):1501.
Luo, C. and Rudy, Y. (1994). A dynamic model of the
cardiac ventricular action potential. II. Afterdepolariza-
tions, triggered activity, and potentiation. Circulation
research, 74(6):1097–113.
McKeever, S., Gill, M., Connor, A., and Johnson, D. (2013).
Abstraction in physiological modelling languages. In
Symposium on Theory of Modeling & Simulation
(TMS’13).
Niederer, S., Fink, M., Noble, D., and Smith, N. (2009). A
meta-analysis of cardiac electrophysiology computa-
tional models. Experimental physiology, 94(5):486–95.
Noble, D. and Rudy, Y. (2001). Models of cardiac ven-
tricular action potentials: iterative interaction between
experiment and simulation. Philosophical Transac-
tions of the Royal Society A: Mathematical, Physical
and Engineering Sciences, 359(1783):1127–1142.
O’Hara, T., Vir
´
ag, L., Varr
´
o, A., and Rudy, Y. (2011). Simula-
tion of the undiseased human cardiac ventricular action
potential: model formulation and experimental valida-
tion. PLoS computational biology, 7(5):e1002061.
Sommerville, I. (2010). Software Engineering. Addison
Wesley.
MODELSWARD2014-InternationalConferenceonModel-DrivenEngineeringandSoftwareDevelopment
224