Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint...

50
Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka

Transcript of Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint...

Page 1: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Efficient Modeling of Excitable Cells Using Hybrid Automata

Radu GrosuSUNY at Stony Brook

Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka

Page 2: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Talk Outline

1. Biological Background

2. Motivation

3. Computational Background

4. Hybrid Automata

5. HA Models of Excitable Cells

6. Simulation Results

7. Conclusions & Future Work

Page 3: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Main Goal

• Computational Efficiency: – Making large-scale simulation practical

• Formal Analysis (in the future):– Reachability – Safety– Liveness

Page 4: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Background

• Excitable cells– Neurons – Cardiac myocytes– Skeletal muscle cells

• Different concentrations of ions inside and outside of cells form:– Trans-membrane potential– Ion currents cross the cell membrane through

channels

Page 5: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Squid Giant Axon (Animation from Marine Bilogical Laboratory, MA)

1. Squid at rest.

2. Mantle opens. Water enters the mantle cavity.

3. A signal from the brain is sent to the stellate ganglion which is connected to nerve cells (axons) distributed through the mantle.

4. Nerve impulses travel the length of these axons.

5. The muscles contract synchronously, rapidly closing the mantle.

6. Water is forced out through the siphon, producing a jet action.

Page 6: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Cardiac Myocytes(WorldWide Anaesthetist & Univ. of British Columbia)

Cardiac Myocytes

Gap Junctions

Action Potential Propagation

Page 7: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

2D Simulations of Atrial Fibrillation(Kneller et al., McGill)

Single Spiral Wave Fast Spiral Wave

Spiral Wave Breakup Atrial Fibrillation

Page 8: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Motivation(Hofstra University, NY)

• 1 million deaths annually caused by cardiovascular disease in US alone, or more than 40% of all deaths.

• Almost 25% of these are victims of ventricular fibrillation (VF).

• During VF, normal electrical activity of heart is masked by higher frequency activation waves, leading to small and out-of-phase localized contractions.

Page 9: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Mathematical Models

• Hodgkin-Huxley (HH) model – Membrane potential for squid giant axon – Developed in 1952– Framework for the following models

• Luo-Rudy (LRd) model– Model for cardiac cells of guinea pig– Developed in 1991

• Neo-Natal Rat (NNR) model– Being developed in Stony Brook University by Emilia

Entcheva et al.

Page 10: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Who?

Alan Lloyd Hodgkin*1914 +1998

Andrew Fielding Huxley*1917

Nobel Preis for Physiology or Medicine in 1963

"for their discoveries concerning the ionic mechanisms involved in excitation and inhibition in the peripheral and central portions of the nerve cell membrane"

Page 11: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

- Membrane acts like a capacitor- Discharge creates an AP- Channels control the potential

Ion channels Ion pumps

Active Membrane(BiologyMad.com)

Page 12: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Active Membrane

In an Active Membrane, some Conductances vary with respect to time and the membrane potential

Na K L

Inside

Outside

Na+ K+

Page 13: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Action Potential(HyperPhysics, Georgia State University)

Page 14: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Action Potential Propagation (BiologyMad.com)

Page 15: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Action Potential Propagation (BiologyMad.com)

Page 16: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

myelinstealth

Ranvier nodes(ion channels only)

axonnerve cell

Action Potential Propagation (BiologyMad.com)

Page 17: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Currents in an Active Membrane

.

( ) ( ) ( )Na Na K K L L stV g V V g V V g V V I

V

Inside

OutsideIst

INa

gNa gK gL C

IL ICIK

VNa VLVK

st Na K L CI I I I I

( - )Na Na NaI g V V

( - )K K KI g V V

( - )L L LI g V V

.

CI CV

Page 18: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

The Potasium Channel (Pictures from B. Babadi, Univ. of Teheran)

• A subunit can be either “open” or “closed”.

• Channel is open iff all 4 subunits are open.

• Has four similar slow subunits.

Page 19: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Kinetics of Potasium Subunits (Pictures from B. Babadi, Univ. of Teheran)

801 0 1

0 1 0 010 125

1.

( . . )( ) ( ) .

V

n nV

VV V e

e

1

.

.

( )

( )

n

n

n n

n

n n n

n n

n n

( )n V

( )n V

1 nn

1.

( ) n nn n n

01. .

rate of change nn

nn nn nn

Page 20: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

The Sodium Channel (Pictures from B. Babadi, Univ. of Teheran)

• Has three similar fast subunits and a single slow subunit.

m m

mh.

m mm m

2 5 0 1

18

2 5 0 1

1

4

. .

( . . )( )

( )

m

m

V

V

Ve

e

V

V

20

3 0 1

0 07

1

1.

( ) .

( )

V

V

h

h V

e

e

V

.

h hh h

Page 21: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

The Full Hodgkin-Huxley Model

3 4.

( ) ( ) ( )Na Na K K L L stCV g m h V V g n V V g V V I

1 0 1

80

0 1 0 01

1

0 125

.

( . . )( )

( ) .

n

V

n

V

V

V e

Ve

2 5 0 1

18

2 5 0 1

1

4

. .

( . . )( )

( )

m

m

V

V

Ve

e

V

V

20

3 0 1

0 07

1

1.

( ) .

( )

V

V

h

h V

e

e

V

1.

( ) ( )m m n n n n nmm m m

1.

( ) ( )h h hh hh hhh h h

1.

( ) ( )n nn nn n nnn nn

Page 22: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Hodgkin-Huxley Model in Action(Applet of A. Fodor, Stanford)

Page 23: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Hybrid Automata (HA)(Alur, Henzinger, Sifakis and others)

• Combine both– Continuous behavior (Differential Equations)– Discrete transitions

• Advantages– Simplicity– Rich descriptive ability

Page 24: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Hybrid Automata (HA)

HA consists of: Variables; Control graph having modes, switches; Predicates init, inv, flow for each mode; Jump conditions and Events for each switch.

Simple Thermostat example:

Onx = 5 - 0.1x

[x ≤ 22]

Offx = - 0.1x[x ≥ 18]

[x>21]

[x<19]

[x=20]

Page 25: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Stimulated

General HA Template

[ ]S TV v V

[ ]SV

[ ]Tv V

[ ]Ov V

[ ]Rv V

Page 26: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Assumptions for the Flows

1. Each mode corresponds to an open/closed configuration of the gates.

• Gate dependence on V is factored into the modes.

2. Sodium and potasium gates (conductances) are mutually independent of each other.

3. Gate (conductance) behavior within a mode is given by a linear differential equation

• A step function approximation is too crude.

Page 27: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Assumptions for the Flows

3.

( ) ( ) ( ) ) (

K LNa

Na Na K K L L stV g V V g V V g V V I

I II

1.

) ( Na Na Nag g

2.

( ) K K Kg g

Problem: Equation (3) is nonlinear.

Solution: Assume the inward (INa) and outward (IK+ IL) currents are linear!

Page 28: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Is this justified?(Applet of A. Fodor, Stanford)

Page 29: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Assumptions for the Flows

3.

( ) i o stV I I I

1.

( ) i i iI I 2.

( ) o o oI I

Hence: i o st i i o o stV I I I I I I

Now take: x i i y o ov I v I and Then:

3( ) x y stV v v I 1

.

( ) x i xv v 2.

( ) y o yv v

Page 30: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

HA for HH Model

Page 31: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Simulation of HH Model

Page 32: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Restitution Property (Frequency Response)

Page 33: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

New Features for HA Models

1. Capture dependence on the Ca2+ ion:– Add new flow variable vz

2. Capture restitution nonlinearity:

– Add new state variable vn remembering voltage value when stimulus occurs.

– Adjust AP slope with cycle constant f:

– Adjust AP height & duration with constants g, h:

/ n Rv V 6( ) 1 13 f

( ) 40 O Oh V V6( ) (1 1.45 ) T Tg V V

Page 34: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

HA for NNR Model

Page 35: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Simulation for LRd Model

Page 36: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Simulation for NNR Model

Single cell, single AP 3 APs on a 2*2 cell array

Page 37: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Large-scale Spatial Simulation for NNR Model

Re-entry on a 400*400 cell array

Page 38: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Performance Comparison

Run on a Pentium® 4 CPU 3.00GHz, 1G Memory machine

Page 39: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Conclusion

• Cell excitation used to be modeled by ODE systems– Hodgkin-Huxley– Luo-Rudy– Neo-Natal Rat

• Hybrid automata approach combines– Differential equations– Discrete mode switches

• Simulation by using Hybrid automata– Accurate– Efficient– Easily extended to other complex biological systems

Page 40: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Future Work

• Use optimization techniques to automatically derive HA model parameters.

• Develop simpler spatial model to further improve efficiency (FDM vs. FEM).

• Formal analysis: ventricular fibrillation as a reachability property.

• Long-term work: improved pacemaker/defibrillator technology, communicate with prosthesis robots.

Page 41: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Transmission of a nerve impulse

Page 42: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

channel

Ions and Channels of Excitable Cells

Na+

Na+

Na+

Na+

Na+

Na+

Na+

Cell

Cell

K+

K+K+

K+

Ca2+

Ca2+

Na+

Ca2+

K+K+

K+

Ca2+

Ca2+

Na+

K+K+

K+

Ca2+

Ca2+

Na+

Page 43: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

The Giant Axon of Squid

Page 44: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Action Potential (AP)

• Caused by ion fluxes - inward (Na+, Ca2+) and outward (K+)

• 5 stages– Resting– Upstroke– Early Repolarization– Plateau– Final Repolarization

Page 45: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Restitution Property

• Excitable cells respond differently to stimuli with different frequency.

• Each cycle is characterized by:

– Action Potential Duration (APD)

– Diastolic Interval (DI)

• Longer DI, longer APD

Page 46: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Hodgkin-Huxley Model

• C: Cell capacitance• V: Trans-membrane voltage

• gna, gk, gL: Maximum channel conductance

• Ena, Ek, EL: Reversal potential

• m, n, h: Ion channel gate variables

• Ist: Stimulation current

3 4( ) ( ) ( )Na Na K K L L stCV g m h V E g n V E g V E I

Page 47: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

Two Ways of Abstraction

• Rational method: derive the flow functions from the differential equations in the original model

• Empirical method: use curve-fitting techniques to get the flow functions with the form chosen (here we use the form ).

Page 48: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

General HA Template

• 4 control modes:– Resting and Final repolarization (FR)– Stimulated– Upstroke– Early repolarization (ER) and Plateau

• Threshold voltage monitoring mode switches– Vo, VT and VR

• Event VS represents the presence of stimulus

Page 49: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

HA for LRd Model

Page 50: Efficient Modeling of Excitable Cells Using Hybrid Automata Radu Grosu SUNY at Stony Brook Joint work with Pei Ye, Emilia Entcheva and Scott A. Smolka.

New Features of HA for LRd and NNR Model

• Add vz to capture dependence on the Ca2+ ion

• Use vn to remember the current voltage when the next stimulus occurs.

– determines the time cell

stays in mode ER and plateau

– Thus, APD will change with DI

• For NNR model, define and

thus the threshold voltages are also influenced by DI.

/ n Rv V 6( ) 1 13 f

6( ) (1 1.45 ) T Tg V V

( ) 40 O Oh V V