Abstract
This chapter presents an overview of ordinary differential equations and their use in lumped parameter modelling of physical systems and physiological processes. Methods are described on how to solve some ODEs analytically, followed by a brief overview of numerical solution approaches using Matlab. Detailed examples are presented from models in cardiovascular dynamics and neural activation, followed by sample problems with fully-worked solutions given at the end of the text.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Named after Leonhard Euler (1707–1783) , influential Swiss mathematician, physicist and engineer who made important discoveries in mathematics, mechanics, fluid mechanics, optics and astronomy.
- 2.
- 3.
These parameters were modified from the original Hodgkin–Huxley formulation to yield a resting potential of −60 mV and outward currents positive in accordance with modern electrophysiological convention.
- 4.
Model VI in their paper.
- 5.
This is an example of a four-element windkessel model, translated from German as “air-chamber”. Early German fire engines incorporated an air-filled elastic reservoir between the water pump and outflow hose to dampen any intermittent interruptions to hand-pump water supply. Such damping can be modelled by an electric circuit comprised of resistive, capacitive and inductive elements.
References
Bergman RN, Ider YZ, Bowden CR, Cobelli C (1979) Quantitative estimation of insulin sensitivity. Am J Physiol 236:E667–E677
FitzHugh R (1961) Impulses and physiological states in theoretical models of nerve membrane. Biophys J 1:445–466
Frankenhaeuser B, Huxley AF (1964) The action potential in the myelinated nerve fibre of Xenopus laevis as computed on the basis of voltage clamp data. J Physiol 171:302–315
Fung YC (1970) Mathematical representation of the mechanical properties of the heart muscle. J Biomech 3:381–404
Hodgkin AL, Huxley AF (1952) A quantitative description of membrane current and its application to conduction and excitation in nerve. J Physiol (Lond) 117:500–544
Izhikevich EM (2007) Dynamical systems in neuroscience: the geometry of excitability and bursting. MIT Press, Cambridge
King MR, Mody NA (2011) Numerical and statistical methods for bioengineering: applications in Matlab. Cambridge University Press, Cambridge
McSharry PE, Clifford GD, Tarassenko L, Smith LA (2003) A dynamical model for generating synthetic electrocardiogram signals. IEEE Trans Biomed Eng 50:289–294
Ottesen JT, Olufsen MS, Larsen JK (2004) Applied mathematical models in human physiology. SIAM, Philadelphia
Rabenstein AL (1972) Introduction to ordinary differential equations. Academic Press, New York
van der Pol B, van der Mark J (1928) The heartbeat considered as a relaxation oscillation, and an electrical model of the heart. Philos Mag Ser 7(6):763–775
Author information
Authors and Affiliations
Corresponding author
Problems
Problems
2.1
In the Hodgkin–Huxley formulation of neural activation, three gating variables n , m, h are employed, satisfying the ODE:
where \(x \equiv n, m, h\) and \(\alpha _x(V)\) and \(\beta _x(V)\) are known functions of membrane voltage V. Assuming a voltage-clamp experiment is performed, whereby the membrane voltage is stepped suddenly from a value \(V_{hold}\) to a new value \(V_{clamp}\) and held at this value via a feedback mechanism. \(\alpha _x\) and \(\beta _x\) are now constant.
(a) Solve this equation analytically for x, with initial value \(x(0) = x_0\), stating the homogeneous, particular and general solutions.
(b) What is the steady-state value of x? Hence, what is a reasonable estimate for \(x_0\)?
2.2
The passive mechanical behaviour of skeletal muscle can be modelled using a simplified lumped parameter representation consisting of a linear spring \(k_1\) in series with a parallel linear spring-dashpot combination \(k_2\), b, as shown below:
One end of the muscle is fixed, and the displacement of the other end is x. If \(x_1\) denotes the change in length from rest in spring \(k_1\), then the forces in each element are given by:
where \(F_1\), \(F_2\) and \(F_b\) refer to elements \(k_1\), \(k_2\) and b respectively, and \(x_2~=~x-x_1\).
(a) If the length x of the muscle is suddenly stepped and held from 0 to \(X_m\) at \(t=0\), solve the system analytically for the applied force, F.
(b) If the applied force on the muscle F is suddenly stepped and held from 0 to \(F_m\) at \(t=0\), find the analytical solution for the change in length, x.
2.3
A simple model of neuronal excitation represents the cell membrane as a resistance R in parallel with a capacitance C. An applied stimulus current I depolarises the membrane to a potential of V, as shown below. If V exceeds a pre-defined threshold \(V_{th}\), the neuron will fire.
The currents \(i_R\) and \(i_C\) flowing through the R and C branches are given by
(a) Assuming the neuron is initially at rest with \(V=0\), and a constant stimulus current I is applied at \(t=0\), find the time taken T to depolarize the membrane to \(V_{th}\). Determine the corresponding stimulus strength-duration characteristic for neuronal activation, i.e. I as a function of T.
(b) Defining the rheobase as the minimum current necessary to activate the neuron, and the chronaxie as the required stimulus duration for an applied current of twice the rheobase, determine both quantities from the above strength-duration characteristic.
2.4
Consider the system below of two coupled masses M, connected to each other and to fixed supports via three linear springs with spring constants k:
(a) Determine the pair of ODEs describing the motion of this system.
(b) Solve this system analytically for the displacements \(x_1\) and \(x_2\), assuming the masses are initially at rest and displaced by amounts \(u_1\) and \(u_2\).
Hint: Use the variable substitutions \(y_1 = x_1+x_2\), \(y_2 = x_1-x_2\).
2.5
A simplified two-compartment model of glucose-insulin kinetics in a human subject proposed by Berman et al. [1]Footnote 4 is shown below. \(I_p(t)\) represents insulin injected intravenously into the blood, I is the concentration of insulin in a remote body compartment, and G is the glucose concentration in the blood plasma.
\(I_p\), I and G are all in units of mM, with model parameters given below:
Parameter | Value | Parameter | Value |
---|---|---|---|
\(k_1\) | 0.015 min\(^{-1}\) | \(k_5\) | 0.035 min\(^{-1}\) |
\(k_2\) | 1 min\(^{-1}\) | \(k_6\) | 0.02 mM\(^{-1}\) min\(^{-1}\) |
\(k_3\) | 0.09 min\(^{-1}\) | \(B_0\) | 0.5 mM min\(^{-1}\) |
\(k_4\) | 0.01 mM\(^{-1}\) min\(^{-1}\) |
An intravenous dose of insulin is administered as a square-pulse waveform according to:
The initial values of I and G at \(t=0\) are 0 and 10 mM respectively.
Solve for I and G using Matlab over the time interval \(0 \le t \le 60~\mathrm {min}\).
2.6
A simplified lumped parameter electric-analogue model of the heart and systemic circulationFootnote 5 is shown below:
where \(P_s\) is the systemic pressure and \(L_o\) represents the blood inertance within the aortic root such that the pressure drop across this element is given \(L_o\frac{\mathrm{d}Q_L}{\mathrm{d}t}\), where \(Q_L\) is the flow (in cm3 s\(^{-1}\)) through it. \(P_v(t)\) represents the developed ventricular pressure as a function of time, given by the following simplified periodic square-wave profile:
All other elements are similar to those given earlier in the example of Sect. 2.3.1. Remaining model parameters and descriptions are given below:
Parameter | Description | Value |
---|---|---|
\(R_o\) | Aortic root resistance | 0.06 mmHg s cm\(^{-3}\) |
\(L_o\) | Aortic root blood inertance | 0.2 mmHg s2 cm\(^{-3}\) |
\(C_s\) | Systemic compliance | 1 cm\(^{3}\) mmHg\(^{-1}\) |
\(R_s\) | Systemic resistance | 1.4 mmHg s \(^{-3}\) |
P | Peak ventricular pressure | 120 mmHg |
T | Heart period | 1 s |
\(t_c\) | Active contraction interval (systole) | 0.35 s |
(a) Determine the ODEs describing this system.
(b) Using an appropriate choice of initial values, solve this system using Matlab for the steady-state oscillations in systemic pressure \(P_s\).
2.7
The following set of ODEs modified from McSharry et al. [8] reproduce a synthetic electrocardiogram (ECG) waveform in variable z:
where \(\alpha = 1 -\sqrt{x^2 + y^2}\), \(\omega = 2\pi \) rad s\(^{-1}\), \(z_0 = 0\) and \(\theta = \mathrm {atan2}(y,x)\), where atan2 represents the four-quadrant inverse tangent implemented by the Matlab function atan2. Remaining model parameters are given below:
Index i | 1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|---|
\(\theta _i\) (rad) | \(-\frac{1}{3}\pi \) | \(-\frac{1}{12}\pi \) | 0 | \(\frac{1}{12}\pi \) | \(\frac{1}{2}\pi \) |
\(a_i\) (mV s\(^{-1}\) rad \(^{-1}\)) | 1.2 | −5 | 30 | −7.5 | 0.75 |
\(b_i\) (rad) | 0.25 | 0.1 | 0.1 | 0.1 | 0.4 |
Given the initial values, \(x(0) = -1\), \(y(0) = 0\), \(z(0) = 0\), numerically solve this ECG model in Matlab from \(t=0\) to 1 s, plotting z against t, where z, t are in units of mV and s respectively.
2.8
The Frankenhaeuser-Huxley neural action potential model [3] consists of the following ODE system:
with membrane ionic currents given by
where E is the transmembrane potential, V is the membrane potential displacement from its resting value \(E_r\) (\(V = E-E_r\)), F is Faraday’s constant, R is the gas constant, and T is the absolute temperature. [Na]\(_\text {o}\), [Na]\(_\text {i}\), [K]\(_\text {o}\) and [K]\(_\text {i}\) represent outside (extracellular) and intracellular Na\(^{+}\) and K\(^{+}\) concentrations, whilst \(i_{Na}\), \(i_K\), \(i_P\) and \(i_L\) represent the membrane Na\(^{+}\), K\(^{+}\), non-specific (mainly Na\(^{+}\)), and leakage currents respectively. The membrane permeabilities of \(i_{Na}\), \(i_K\) and \(i_P\) are \(\bar{P}_{Na}\), \(\bar{P}_K\) and \(\bar{P}_P\) respectively, with the kinetics of these currents determined from the m, h, n and p gating variables. \(i_{stim}\) is an applied intracellular stimulus current given by
where \(I_s\), \(t_{on}\) and \(t_{dur}\) represent the stimulus current amplitude, onset time and duration respectively. The voltage-dependent forward (\(\alpha \)) and reverse (\(\beta \)) rates (in ms\(^{-1}\)) are given by:
where V is in units of mV. Initial values are \(V=0\,\mathrm {mV}\), \(m=0.0005\), \(h = 0.8249\), \(n=0.0268\) and \(p=0.0049\).
The drug tetrodotoxin (TTX) is known to selectively block the membrane \(i_{Na}\) current. Assuming that at one given dosage, TTX reduces parameter \(\bar{P}_{Na}\) to 20% of its original value. Solve this model using Matlab over the time interval \(t=0\) to 5 ms, plotting the transmembrane potentials E (in mV) on the same graph for the following two cases:
(1) control (i.e. no TTX) and
(2) TTX applied.
All model parameters are given in the following table:
Parameter | Value | Parameter | Value |
---|---|---|---|
\(C_m\) | 2 µF cm\(^{-2}\) | \([\mathrm {K}]_\mathrm {o}\) | 2.5 mM |
\(\bar{P}_{Na}\) | 0.008 cm s\(^{-1}\) | \([\mathrm {K}]_\mathrm {i}\) | 120 mM |
\(\bar{P}_K\) | 0.0012 cm s\(^{-1}\) | \(I_s\) | 1 mA cm\(^{-2}\) |
\(\bar{P}_P\) | 0.00054 cm s\(^{-1}\) | \(t_{on}\) | 1 ms |
\(g_L\) | 30.3 ms cm\(^{-2}\) | \(t_{dur}\) | 0.12 ms |
\(V_L\) | 0.026 mV | F | 96.49 C mmol\(^{-1}\) |
\([\mathrm {Na}]_\mathrm {o}\) | 114.5 mM | R | 8.31 J mol\(^{-1}\) K\(^{-1}\) |
\([\mathrm {Na}]_\mathrm {i}\) | 13.74 mM | T | 310 K |
\(E_r\) | −70 mV |
2.9
A simple three-element model of active cardiac muscle contraction consists of a passive non-linear spring in parallel with a contractile and passive series element, as shown in the diagram. The model structure and equations have been modified from Fung [4].
The total tension T in the muscle is given by the sum of tensions in the parallel and series elements:
where \(T_p\) and \(T_s\), the tensions in the parallel and series elements respectively, are given by:
where \(\alpha \), \(\beta \) are parameters and \(L_0\) denotes the resting length of the muscle. For the contractile element, the velocity of its shortening is described by:
where a, \(\gamma \), \(S_0\) are muscle parameters and f(t) is the muscle activation function given by
with \(t_0\) and \(t_{ip}\) constants defining activation phase offset and the time to peak isometric contraction respectively.
Model parameters for a cardiac papillary muscle specimen are given in the table below:
Parameter | Value | Parameter | Value |
---|---|---|---|
\(L_0\) | 10 mm | \(S_0\) | 4 mN |
\(\alpha \) | 15 mm | \(\gamma \) | 0.45 |
\(\beta \) | 5 mN | \(t_0\) | 0.05 s |
a | 0.66 mm \(^{-1}\) | \(t_{ip}\) | 0.2 s |
Note that in the relaxed state, the length of the series element \(L_s\) is 0.
(a) Using Matlab, solve for and plot the total tension T against time during an isometric contraction in which the muscle is clamped at its resting length \(L_0\).
(b) Solve for and plot muscle length L against time during an isotonic contraction in which the muscle is allowed to freely contract with no imposed load (i.e. \(T = 0\)).
Rights and permissions
Copyright information
© 2017 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Dokos, S. (2017). Lumped Parameter Modelling with Ordinary Differential Equations. In: Modelling Organs, Tissues, Cells and Devices. Lecture Notes in Bioengineering. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-54801-7_2
Download citation
DOI: https://doi.org/10.1007/978-3-642-54801-7_2
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-54800-0
Online ISBN: 978-3-642-54801-7
eBook Packages: EngineeringEngineering (R0)