At the moment it has a source description for nai - sodium coming into the cell through channels increases nai. I wonder how I would modify this mechanism to add a decay term such that the nai in this submembrane space has both a source and a sink term. Where source and sink are:
source = sodium coming into the cell
sink = sodium moving out of this submembrane space out out into the bulk cytoplasm where we can forget about it.
It would be great if the sink term could have some parameter that I could play with to set the rate of sink.
Code: Select all
TITLE Sodium ion accumulation
: Intracellular sodium ion accumulation
NEURON {
SUFFIX Na_acc
USEION na READ ina,nai WRITE nai
RANGE Vi, Naneutral : electroneutral sodium accumulation
}
UNITS {
(mV) = (millivolt)
(um) = (micron)
(mM) = (milli/liter)
(mA) = (milliamp)
F = (faraday) (coulombs)
}
PARAMETER {
Naneutral = 3e-5 (mA/cm2) <0,1e6>
Vi = 13668e-12 (cm3)
ina (mA/cm2)
}
STATE {
nai START 9.19 (mM)
}
LOCAL ViF
INITIAL {
VERBATIM
nai = _ion_nai;
ENDVERBATIM
ViF = F*Vi*2e4
}
BREAKPOINT {
SOLVE state METHOD derivimplicit
}
DERIVATIVE state {
nai' = -(ina-Naneutral)/(ViF)
}
This is an alternative sodium accumulation mechanism that we could perhaps adjust if this one is any easier:
Code: Select all
COMMENT
Longitudinal diffusion of sodium (no buffering)
(equivalent modified euler with standard method and
equivalent to diagonalized linear solver with CVODE )
ENDCOMMENT
NEURON {
SUFFIX nadifl
USEION na READ ina WRITE nai
RANGE D
}
UNITS {
(mM) = (milli/liter)
(um) = (micron)
FARADAY = (faraday) (coulomb)
PI = (pi) (1)
}
PARAMETER {
D = .6 (um2/ms)
}
ASSIGNED {
ina (milliamp/cm2)
diam (um)
}
STATE {
nai (mM)
}
BREAKPOINT {
SOLVE conc METHOD sparse
}
KINETIC conc {
COMPARTMENT PI*diam*diam/4 {nai}
LONGITUDINAL_DIFFUSION D {nai}
~ nai << (-ina/(FARADAY)*PI*diam*(1e4))
}