You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to switch on the T-current with something similar to the example in issue #62 [https://github.com/DynaSim/DynaSim/issues/62] but with mechanisms from the extended model. Does this need to be implemented differently in the extended model?
e.g.: adding iT to a model with {iNa, iK, ileak} works ok, but not if I try the same with {iNa_TC_AS17,iK_TC_AS17,iLeak_TC_AS17} (below)
% case a):
eqns='dV/dt= -5+ (@current+iT_TC_AS17(t)); {iNa,iK,ileak}; iT_TC_AS17(t)=0*(t<100)+1*(t>100)';
data=dsSimulate(eqns,'tspan',[0 200],'solver','rk1','verbose_flag',1);
dsPlot(data,'ylim',[-100 55]);
I'm trying to switch on the T-current with something similar to the example in issue #62 [https://github.com/DynaSim/DynaSim/issues/62] but with mechanisms from the extended model. Does this need to be implemented differently in the extended model?
e.g.: adding iT to a model with {iNa, iK, ileak} works ok, but not if I try the same with {iNa_TC_AS17,iK_TC_AS17,iLeak_TC_AS17} (below)
% case a):
eqns='dV/dt= -5+ (@current+iT_TC_AS17(t)); {iNa,iK,ileak}; iT_TC_AS17(t)=0*(t<100)+1*(t>100)';
data=dsSimulate(eqns,'tspan',[0 200],'solver','rk1','verbose_flag',1);
dsPlot(data,'ylim',[-100 55]);
% case b):
eqns='dV/dt= -5+ (@current+iT_TC_AS17(t)); {iNa_TC_AS17,iK_TC_AS17,iLeak_TC_AS17}; iT_TC_AS17(t)=0*(t<100)+1*(t>100)';
data=dsSimulate(eqns,'tspan',[0 200],'solver','rk1','verbose_flag',1);
dsPlot(data,'ylim',[-100 55]);
thanks a lot!
The text was updated successfully, but these errors were encountered: