XPP model

This model was converted from XPP ode format to SBML using sbmlutils-0.1.5a6.

# HH-ext.ode: an XppAut file for the Hodgkin-Huxley equations
# + strength of external electrical field
# time in msec, voltage in mV and frequency in Hz

# initial conditions
init V=0, m=0.052, h=0.596, n=0.317

# the parameters
param vext=8, iapp=1, freq=0.3
param VNa=115,VK=-12,VL=10.599, gNa=120
param gK=36, gL=0.3, cm=1

# time constants and steady state functions for gating variables
am(v)=0.1*(25-v)/(exp((25-v)/10)-1)
bm(v)=4*exp(-v/18)
ah(v)=0.07*exp(-v/20)
bh(v)=1/(exp((30-v)/10)+1)
an(v)=0.01*(10-v)/(exp((10-v)/10)-1)
bn(v)=0.125*exp(-v/80)

vex(t)=vext*(sin(2*pi*(freq/1000)*t))
ik=gK*n^4*(v+vex(t)-VK)
ina=gNa*m^3*h*(v+vex(t)-VNa)
il=gL*(v+vex(t)-VL)

# the equations
v'=(-ik-ina-il+iapp)/cm
m'=(am(v)*(1-m)-bm(v)*m)
n'=(an(v)*(1-n)-bn(v)*n)
h'=(ah(v)*(1-h)-bh(v)*h)

aux vexf=vex(t)

# set xpp parameters
@ total=25000, xp=t, yp=v, xlo=0, xhi=25000, ylo=-20, yhi=120, bounds=10000000, dt=0.01
@ maxstor=10000000
done
This file has been produced by sbmlutils.

Terms of use

Copyright © 2017 Matthias Koenig

Redistribution and use of any part of this model, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of this SBML file must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in a different form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
This model is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Model :

id
name
time
substance
extent
volume
area
length
Access SBML model  L3V1

FunctionDefinitions [11] name math sbo cvterm
max minimum x y x x y y
min maximum x y x x y y
heav heavyside x 0 x 0 0.5 x 0 1 x 0
mod modulo x y x y x y x 0 y 0 x y x y
am v 0.1 25 v 25 v 10 1
bm v 4 v 18
ah v 0.07 v 20
bh v 1 30 v 10 1
an v 0.01 10 v 10 v 10 1
bn v 0.125 v 80
vex t freq vext vext 2 freq 1000 t

Parameters [20] name constant value unit derived unit sbo cvterm
V 0.0 None
m 0.052 None
h 0.596 None
n 0.317 None
vext 8.0 None
iapp 1.0 None
freq 0.3 None
VNa 115.0 None
VK -12.0 None
VL 10.599 None
gNa 120.0 None
gK 36.0 None
gL 0.3 None
cm 1.0 None
v 0.0 dimensionless None
ik 0.0 dimensionless None
ina 0.0 dimensionless None
il 0.0 dimensionless None
vexf 0.0 dimensionless None
t model time 0.0 dimensionless None

Rules [9]   assignment name derived units sbo cvterm
d v/dt = ik ina il iapp cm None
d m/dt = am v 1 m bm v m None
d n/dt = an v 1 n bn v n None
d h/dt = ah v 1 h bh v h None
ik = gK n 4 v vex t freq vext VK None
ina = gNa m 3 h v vex t freq vext VNa None
il = gL v vex t freq vext VL None
vexf = vex t freq vext None
t = time None