« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Advanced Hybrid and Differential Algebraic Equations

Heart Model 

In[10]:=
Click for copyable input
X
In[11]:=
Click for copyable input
X
In[12]:=
Click for copyable input
X

Model a simplified beating heart with four state variables. The model and diagrams follow the paper:

M. E. Greene, J. W. Clark Jun., D. N. Mohr, and H. M. Bourland, "A Mathematical Model of Left-Ventricular Function," Medical and Biological Engineering, 11(2), 1973 pp. 126-134.

The left ventricle is a chamber of the heart that accepts oxygenated blood from the left atrium through the mitral valve. This oxygenated blood is then pumped through the aortic valve into the aorta. In the left ventricular model below, these components correspond to the atrial source pressure , the mitral valve resistance , the aortic valve pressure , the aortic valve resistance , and the aortic root pressure .

The state variables in this model are the following.

Out[43]=

The cardiac cycle (heartbeat) is broken up into four phases. A simplification of the preceding model is used in each phase, depending upon which valves are closed.

Out[44]=

In each phase, depending on which valves are closed, a different variation of the model is used.

Define the equations for during each phase of a heartbeat.

In[1]:=
Click for copyable input
X

Elastance measures the ability of a stretched volume to recoil without change in pressure. In this model, the ventricular elastance has two phases, active and passive. The passive phase corresponds to the filling phase. During the active phase, the elastance is a function of both end diastolic volume and time. In the passive phase, the elastance depends only on the ventricular volume .

In[2]:=
Click for copyable input
X

Define the initial conditions and various model parameters.

In[3]:=
Click for copyable input
X

Define parameters to be substituted into the equations for each phase. The elastances are generically named EV in the equations. For the filling phase, substitute passive elastance for EV. For all other phases, substitute active elastance.

In[4]:=
Click for copyable input
X

Substitute elastances and parameter values into the equations.

In[5]:=
Click for copyable input
X

The final system is piecewise defined across the four phases.

In[6]:=
Click for copyable input
X

The transitions between the four phases outlined above are conditioned upon the relationship of the aortic valve pressure , the atrial source pressure , and the aortic root pressure .

In[7]:=
Click for copyable input
X
In[8]:=
Click for copyable input
X

Simulate the system.

In[9]:=
Click for copyable input
X

The different phases are separated by vertical lines.

Out[12]=