CaDynamics_E2_NML2.nml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <neuroml xmlns="http://www.neuroml.org/schema/neuroml2"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2beta3.xsd"
  5. id="CaDynamics_E2_NML2">
  6. <notes>NeuroML 2 implementation of the Ca Pool mechanism</notes>
  7. <!--<decayingPoolConcentrationModel id="CaDynamics_E2_NML2" restingConc="1e-10mol_per_cm3" decayConstant="80ms" ion="ca" shellThickness="2.787e-4cm"/>-->
  8. <concentrationModel id="CaDynamics_E2_NML2_PV_somatic" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="531.0255920416845 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  9. <concentrationModel id="CaDynamics_E2_NML2_PV_axonal" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="163.03538024059918 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  10. <concentrationModel id="CaDynamics_E2_NML2_PYR_somatic" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="20 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  11. <concentrationModel id="CaDynamics_E2_NML2_PYR_axonal" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="226 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  12. <concentrationModel id="CaDynamics_E2_NML2_SST_somatic" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="465 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  13. <concentrationModel id="CaDynamics_E2_NML2_SST_axonal" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="469 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  14. <concentrationModel id="CaDynamics_E2_NML2_VIP_somatic" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="25.159166441555044 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  15. <concentrationModel id="CaDynamics_E2_NML2_VIP_axonal" type="concentrationModelHayEtAl" minCai="1e-4 mM" decay="75.78875619470153 ms" depth="0.1 um" gamma="5e-4" ion="ca"/>
  16. <!--
  17. This is a new, custom ComponentType to handle the calcium mechanism with parameters
  18. PARAMETER {
  19. gamma = 0.05 : percent of free calcium (not buffered)
  20. decay = 80 (ms) : rate of removal of calcium
  21. depth = 0.1 (um) : depth of shell
  22. minCai = 1e-4 (mM)
  23. }
  24. and derivative mechanism:
  25. DERIVATIVE states {
  26. cai' = -(10000)*(ica*gamma/(2*FARADAY*depth)) - (cai - minCai)/decay
  27. }
  28. See https://github.com/OpenSourceBrain/L5bPyrCellHayEtAl2011/blob/master/neuroConstruct/cellMechanisms/CaDynamics_E2_init_mod/CaDynamics_E2.mod
  29. -->
  30. <ComponentType name="concentrationModelHayEtAl" extends="concentrationModel" description="Model of buffering of concentration of specific to Hay Et Al 2011">
  31. <Parameter name="gamma" dimension="none"/>
  32. <Parameter name="minCai" dimension="concentration"/>
  33. <Parameter name="decay" dimension="time"/>
  34. <Parameter name="depth" dimension="length"/>
  35. <Constant name="Faraday" dimension="charge_per_mole" value="96485.3C_per_mol"/>
  36. <Requirement name="iCa" dimension="current"/>
  37. <Text name="species"/>
  38. <Dynamics>
  39. <StateVariable name="concentration" exposure="concentration" dimension="concentration"/>
  40. <StateVariable name="extConcentration" exposure="extConcentration" dimension="concentration"/>
  41. <DerivedVariable name="currDensCa" dimension="currentDensity" value="iCa / surfaceArea"/>
  42. <TimeDerivative variable="concentration" value="(currDensCa * gamma/(2 * Faraday * depth)) - ((concentration - minCai) / decay)"/>
  43. <OnStart>
  44. <StateAssignment variable="concentration" value="initialConcentration"/>
  45. <StateAssignment variable="extConcentration" value="initialExtConcentration"/>
  46. </OnStart>
  47. </Dynamics>
  48. </ComponentType>
  49. </neuroml>