Setting up CaConc
Created by: analkumar2
Moose requires the thickness, diameter, and length of the calcium shell instead of the drive value B. The ModleDB files give the value of the drive value B directly, and sometimes the value is higher than which can be attainable the shell thickness, diameter, and length.
Thickness = D-sqrt(D^2 - 2/(piLB*F)) where D = shell diameter which has the maximum value of the compartment's diameter; B = current drive; L = shell length which has the maximum value of the compartment's length; F = Faraday constant
For example, for compartment length = 100e-6m, compartment diameter = 100e-6, B has to be at least 6598098 SI units. In Combe et, al,. they have used B = 575792.7 https://senselab.med.yale.edu/ModelDB/showmodel.cshtml?model=244416&file=/CombeEtAl2018/cad.mod#tabs-2 which cannot be set up.
One workaround that I have been using is to change the B value after building the model using moose.element('/model/elec/soma/Ca_conc').B = 575792.7