There is an extra E_Na being defined which when copy-pasted into OpenCOR will result in an overconstrained model. Linked SED-ML/CellML works fine and correctly only has one E_Na definition.
It would be nice (might be nice?) if we can state at the outset that "this tutorial is based on version X.Y.Z" and then we try to keep the tutorial in sync with each new release. Given limited resources it might not be every release, but perhaps significant releases or times when the tutorial is presented.
We could then maintain a collection of versions of this tutorial?
Eventually OpenCOR might support a similar colour coding as used in the example code given in the original PDF version. It would be good if this could be implemented in a way that was easily configurable (i.e., in the template?). See opencor/opencor#651 and opencor/opencor#652.
Hi all
I'm trying to replicate the behaviour of the tutorials using libcellml and am struggling with some of them. For example, in the sodium channel tutorial:
The second equation is confusing:
... this isn't true, it equals 38.511?
There's only equation including g_Na is Na_conductance=g_Na*pow(m, 3{dimensionless})*h; which doesn't change its value from the initial condition of 120. Where does the behaviour in the figure come from?
The initial conditions don't seem to make sense to me? The initial h value is 0.6 but in the figures it looks closer to 0.8ish? See: var h: dimensionless {init: 0.6, pub: out};
In the PDF the equation for Na_conductance has mismatched parentheses: Na_conductance=g_Na*pow(m, 3{dimensionless})*h);
and defines E_Na twice? How come that's allowed?
If anyone can help me understand what I'm missing that would be great :) Thanks!