import nsrunit; unit conversion on; unit nanoS=1E-9 kilogram^(-1)*meter^(-2)*second^3*ampere^2; // unit millivolt predefined // unit millisecond predefined // unit millisecond predefined // unit millivolt predefined //Warning: unit picoA_ renamed from picoA, as the latter is predefined in JSim with different fundamental units. unit picoA_=1E-9 ampere^1; unit nanoS=1E-9 kilogram^(-1)*meter^(-2)*second^3*ampere^2; unit picoF=1E-12 kilogram^(-1)*meter^(-2)*second^4*ampere^2; math main { realDomain ModelInterfacing.time millisecond; ModelInterfacing.time.min=0; extern ModelInterfacing.time.max; extern ModelInterfacing.time.delta; realDomain single_neuron_model2.time millisecond; single_neuron_model2.time.min=0; extern single_neuron_model2.time.max; extern single_neuron_model2.time.delta; realDomain single_neuron_model3.time millisecond; single_neuron_model3.time.min=0; extern single_neuron_model3.time.max; extern single_neuron_model3.time.delta; realDomain single_neuron_model4.time millisecond; single_neuron_model4.time.min=0; extern single_neuron_model4.time.max; extern single_neuron_model4.time.delta; realDomain single_neuron_model5.time millisecond; single_neuron_model5.time.min=0; extern single_neuron_model5.time.max; extern single_neuron_model5.time.delta; realDomain single_neuron_model6.time millisecond; single_neuron_model6.time.min=0; extern single_neuron_model6.time.max; extern single_neuron_model6.time.delta; realDomain single_neuron_model7.time millisecond; single_neuron_model7.time.min=0; extern single_neuron_model7.time.max; extern single_neuron_model7.time.delta; realDomain single_neuron_model8.time millisecond; single_neuron_model8.time.min=0; extern single_neuron_model8.time.max; extern single_neuron_model8.time.delta; realDomain single_neuron_model9.time millisecond; single_neuron_model9.time.min=0; extern single_neuron_model9.time.max; extern single_neuron_model9.time.delta; realDomain single_neuron_model10.time millisecond; single_neuron_model10.time.min=0; extern single_neuron_model10.time.max; extern single_neuron_model10.time.delta; real sum_g_syn_e_s_1(single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time,ModelInterfacing.time) nanoS; real sum_g_syn_e_s_2(ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time,single_neuron_model2.time) nanoS; real sum_g_syn_e_s_3(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time,single_neuron_model3.time) nanoS; real sum_g_syn_e_s_4(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time,single_neuron_model4.time) nanoS; real sum_g_syn_e_s_5(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time,single_neuron_model5.time) nanoS; real sum_g_syn_e_s_6(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time,single_neuron_model6.time) nanoS; real sum_g_syn_e_s_7(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time,single_neuron_model7.time) nanoS; real sum_g_syn_e_s_8(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time,single_neuron_model8.time) nanoS; real sum_g_syn_e_s_9(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time,single_neuron_model9.time) nanoS; real sum_g_syn_e_s_10(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) nanoS; real g_syn_e_1_2 nanoS; g_syn_e_1_2=0.071570; real g_syn_e_1_3 nanoS; g_syn_e_1_3=0.086470; real g_syn_e_1_4 nanoS; g_syn_e_1_4=0.109365; real g_syn_e_1_5 nanoS; g_syn_e_1_5=0.081664; real g_syn_e_1_6 nanoS; g_syn_e_1_6=0.097906; real g_syn_e_1_7 nanoS; g_syn_e_1_7=0.089890; real g_syn_e_1_8 nanoS; g_syn_e_1_8=0.135650; real g_syn_e_1_9 nanoS; g_syn_e_1_9=0.103754; real g_syn_e_1_10 nanoS; g_syn_e_1_10=0.071959; real g_syn_e_2_1 nanoS; g_syn_e_2_1=0.082147; real g_syn_e_2_3 nanoS; g_syn_e_2_3=0.099094; real g_syn_e_2_4 nanoS; g_syn_e_2_4=0.095482; real g_syn_e_2_5 nanoS; g_syn_e_2_5=0.094385; real g_syn_e_2_6 nanoS; g_syn_e_2_6=0.066989; real g_syn_e_2_7 nanoS; g_syn_e_2_7=0.062195; real g_syn_e_2_8 nanoS; g_syn_e_2_8=0.069408; real g_syn_e_2_9 nanoS; g_syn_e_2_9=0.078109; real g_syn_e_2_10 nanoS; g_syn_e_2_10=0.096854; real g_syn_e_3_1 nanoS; g_syn_e_3_1=0.103457; real g_syn_e_3_2 nanoS; g_syn_e_3_2=0.120894; real g_syn_e_3_4 nanoS; g_syn_e_3_4=0.115212; real g_syn_e_3_5 nanoS; g_syn_e_3_5=0.117401; real g_syn_e_3_6 nanoS; g_syn_e_3_6=0.096746; real g_syn_e_3_7 nanoS; g_syn_e_3_7=0.104139; real g_syn_e_3_8 nanoS; g_syn_e_3_8=0.083024; real g_syn_e_3_9 nanoS; g_syn_e_3_9=0.091031; real g_syn_e_3_10 nanoS; g_syn_e_3_10=0.092133; real g_syn_e_4_1 nanoS; g_syn_e_4_1=0.085076; real g_syn_e_4_2 nanoS; g_syn_e_4_2=0.082159; real g_syn_e_4_3 nanoS; g_syn_e_4_3=0.086408; real g_syn_e_4_5 nanoS; g_syn_e_4_5=0.098623; real g_syn_e_4_6 nanoS; g_syn_e_4_6=0.081266; real g_syn_e_4_7 nanoS; g_syn_e_4_7=0.077327; real g_syn_e_4_8 nanoS; g_syn_e_4_8=0.074618; real g_syn_e_4_9 nanoS; g_syn_e_4_9=0.131525; real g_syn_e_4_10 nanoS; g_syn_e_4_10=0.155646; real g_syn_e_5_1 nanoS; g_syn_e_5_1=0.069647; real g_syn_e_5_2 nanoS; g_syn_e_5_2=0.076869; real g_syn_e_5_3 nanoS; g_syn_e_5_3=0.104963; real g_syn_e_5_4 nanoS; g_syn_e_5_4=0.082993; real g_syn_e_5_6 nanoS; g_syn_e_5_6=0.147318; real g_syn_e_5_7 nanoS; g_syn_e_5_7=0.077629; real g_syn_e_5_8 nanoS; g_syn_e_5_8=0.098833; real g_syn_e_5_9 nanoS; g_syn_e_5_9=0.130817; real g_syn_e_5_10 nanoS; g_syn_e_5_10=0.148160; real g_syn_e_6_1 nanoS; g_syn_e_6_1=0.104962; real g_syn_e_6_2 nanoS; g_syn_e_6_2=0.118758; real g_syn_e_6_3 nanoS; g_syn_e_6_3=0.123650; real g_syn_e_6_4 nanoS; g_syn_e_6_4=0.059538; real g_syn_e_6_5 nanoS; g_syn_e_6_5=0.116426; real g_syn_e_6_7 nanoS; g_syn_e_6_7=0.089794; real g_syn_e_6_8 nanoS; g_syn_e_6_8=0.110721; real g_syn_e_6_9 nanoS; g_syn_e_6_9=0.118662; real g_syn_e_6_10 nanoS; g_syn_e_6_10=0.073362; real g_syn_e_7_1 nanoS; g_syn_e_7_1=0.076640; real g_syn_e_7_2 nanoS; g_syn_e_7_2=0.067199; real g_syn_e_7_3 nanoS; g_syn_e_7_3=0.122547; real g_syn_e_7_4 nanoS; g_syn_e_7_4=0.115906; real g_syn_e_7_5 nanoS; g_syn_e_7_5=0.140625; real g_syn_e_7_6 nanoS; g_syn_e_7_6=0.078281; real g_syn_e_7_8 nanoS; g_syn_e_7_8=0.098112; real g_syn_e_7_9 nanoS; g_syn_e_7_9=0.062478; real g_syn_e_7_10 nanoS; g_syn_e_7_10=0.062332; real g_syn_e_8_1 nanoS; g_syn_e_8_1=0.073508; real g_syn_e_8_2 nanoS; g_syn_e_8_2=0.086639; real g_syn_e_8_3 nanoS; g_syn_e_8_3=0.095173; real g_syn_e_8_4 nanoS; g_syn_e_8_4=0.087553; real g_syn_e_8_5 nanoS; g_syn_e_8_5=0.120915; real g_syn_e_8_6 nanoS; g_syn_e_8_6=0.084482; real g_syn_e_8_7 nanoS; g_syn_e_8_7=0.103780; real g_syn_e_8_9 nanoS; g_syn_e_8_9=0.154443; real g_syn_e_8_10 nanoS; g_syn_e_8_10=0.073669; real g_syn_e_9_1 nanoS; g_syn_e_9_1=0.067518; real g_syn_e_9_2 nanoS; g_syn_e_9_2=0.072200; real g_syn_e_9_3 nanoS; g_syn_e_9_3=0.086218; real g_syn_e_9_4 nanoS; g_syn_e_9_4=0.087328; real g_syn_e_9_5 nanoS; g_syn_e_9_5=0.094374; real g_syn_e_9_6 nanoS; g_syn_e_9_6=0.112092; real g_syn_e_9_7 nanoS; g_syn_e_9_7=0.061781; real g_syn_e_9_8 nanoS; g_syn_e_9_8=0.122821; real g_syn_e_9_10 nanoS; g_syn_e_9_10=0.053459; real g_syn_e_10_1 nanoS; g_syn_e_10_1=0.119262; real g_syn_e_10_2 nanoS; g_syn_e_10_2=0.091661; real g_syn_e_10_3 nanoS; g_syn_e_10_3=0.102775; real g_syn_e_10_4 nanoS; g_syn_e_10_4=0.087011; real g_syn_e_10_5 nanoS; g_syn_e_10_5=0.144282; real g_syn_e_10_6 nanoS; g_syn_e_10_6=0.146688; real g_syn_e_10_7 nanoS; g_syn_e_10_7=0.073808; real g_syn_e_10_8 nanoS; g_syn_e_10_8=0.118904; real g_syn_e_10_9 nanoS; g_syn_e_10_9=0.138856; real s1(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(ModelInterfacing.time=ModelInterfacing.time.min) s1=1; real s2(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model2.time=single_neuron_model2.time.min) s2=1; real s3(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model3.time=single_neuron_model3.time.min) s3=1; real s4(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model4.time=single_neuron_model4.time.min) s4=1; real s5(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model5.time=single_neuron_model5.time.min) s5=1; real s6(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model6.time=single_neuron_model6.time.min) s6=1; real s7(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model7.time=single_neuron_model7.time.min) s7=1; real s8(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model8.time=single_neuron_model8.time.min) s8=1; real s9(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; when(single_neuron_model9.time=single_neuron_model9.time.min) s9=1; real s10(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; when(single_neuron_model10.time=single_neuron_model10.time.min) s10=1; real timeDuplicate(ModelInterfacing.time) millisecond; real V1(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V1Duplicate(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V2(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V2Duplicate(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V3(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V3Duplicate(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V4(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V4Duplicate(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V5(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V5Duplicate(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V6(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V6Duplicate(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V7(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V7Duplicate(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V8(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V8Duplicate(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; real V9(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) millivolt; real V9Duplicate(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) millivolt; real V10(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) millivolt; real V10Duplicate(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) millivolt; real membrane.V(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(ModelInterfacing.time=ModelInterfacing.time.min) membrane.V=-50.0; real membrane.C picoF; membrane.C=21.0; real membrane.i_app picoA_; membrane.i_app=0.0; real membrane.i_NaP(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane.i_Na(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane.i_K(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane.i_L(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane.i_tonic_e(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane.i_syn_e(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current.E_Na millivolt; fast_sodium_current.E_Na=50.0; real fast_sodium_current.g_Na nanoS; fast_sodium_current.g_Na=28.0; real fast_sodium_current.m_infinity(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current.n(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(ModelInterfacing.time=ModelInterfacing.time.min) fast_sodium_current.n=0.01; real fast_sodium_current_m_gate.theta_m millivolt; fast_sodium_current_m_gate.theta_m=-34.0; real fast_sodium_current_m_gate.sigma_m millivolt; fast_sodium_current_m_gate.sigma_m=-5.0; real fast_sodium_current_n_gate.n_infinity(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate.tau_n(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate.tau_n_max millisecond; fast_sodium_current_n_gate.tau_n_max=10.0; real fast_sodium_current_n_gate.theta_n millivolt; fast_sodium_current_n_gate.theta_n=-29.0; real fast_sodium_current_n_gate.sigma_n millivolt; fast_sodium_current_n_gate.sigma_n=-4.0; real potassium_current.g_K nanoS; potassium_current.g_K=11.2; real potassium_current.E_K millivolt; potassium_current.E_K=-85.0; real potassium_current.n(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(ModelInterfacing.time=ModelInterfacing.time.min) potassium_current.n=0.01; real potassium_current_n_gate.n_infinity(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate.tau_n(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate.tau_n_max millisecond; potassium_current_n_gate.tau_n_max=10.0; real potassium_current_n_gate.theta_n millivolt; potassium_current_n_gate.theta_n=-29.0; real potassium_current_n_gate.sigma_n millivolt; potassium_current_n_gate.sigma_n=-4.0; real persistent_sodium_current.g_NaP nanoS; persistent_sodium_current.g_NaP=2.8; real persistent_sodium_current.m_infinity(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current.h(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(ModelInterfacing.time=ModelInterfacing.time.min) persistent_sodium_current.h=0.46; real persistent_sodium_current_m_gate.theta_m millivolt; persistent_sodium_current_m_gate.theta_m=-40.0; real persistent_sodium_current_m_gate.sigma_m millivolt; persistent_sodium_current_m_gate.sigma_m=-6.0; real persistent_sodium_current_h_gate.h_infinity(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate.tau_h(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate.tau_h_max millisecond; persistent_sodium_current_h_gate.tau_h_max=10000.0; real persistent_sodium_current_h_gate.theta_h millivolt; persistent_sodium_current_h_gate.theta_h=-48.0; real persistent_sodium_current_h_gate.sigma_h millivolt; persistent_sodium_current_h_gate.sigma_h=6.0; real leakage_current.g_L nanoS; leakage_current.g_L=2.8; real leakage_current.E_L millivolt; leakage_current.E_L=-57.5; real tonic_current.E_syn_e millivolt; tonic_current.E_syn_e=0.0; real tonic_current.g_tonic_e nanoS; tonic_current.g_tonic_e=0.0; real synaptic_input.s_infinity(ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input.kr dimensionless; synaptic_input.kr=1.0; real synaptic_input.tau_s millisecond; synaptic_input.tau_s=5.0; real synaptic_input.sigma_s millivolt; synaptic_input.sigma_s=-5.0; real synaptic_input.theta_s millivolt; synaptic_input.theta_s=-10.0; real membrane_1.V(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(single_neuron_model2.time=single_neuron_model2.time.min) membrane_1.V=-50.0; real membrane_1.C picoF; membrane_1.C=21.0; real membrane_1.i_app picoA_; membrane_1.i_app=0.0; real membrane_1.i_NaP(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_1.i_Na(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_1.i_K(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_1.i_L(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_1.i_tonic_e(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_1.i_syn_e(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current_1.E_Na millivolt; fast_sodium_current_1.E_Na=50.0; real fast_sodium_current_1.g_Na nanoS; fast_sodium_current_1.g_Na=28.0; real fast_sodium_current_1.m_infinity(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_1.n(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model2.time=single_neuron_model2.time.min) fast_sodium_current_1.n=0.01; real fast_sodium_current_m_gate_1.theta_m millivolt; fast_sodium_current_m_gate_1.theta_m=-34.0; real fast_sodium_current_m_gate_1.sigma_m millivolt; fast_sodium_current_m_gate_1.sigma_m=-5.0; real fast_sodium_current_n_gate_1.n_infinity(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_1.tau_n(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_1.tau_n_max millisecond; fast_sodium_current_n_gate_1.tau_n_max=10.0; real fast_sodium_current_n_gate_1.theta_n millivolt; fast_sodium_current_n_gate_1.theta_n=-29.0; real fast_sodium_current_n_gate_1.sigma_n millivolt; fast_sodium_current_n_gate_1.sigma_n=-4.0; real potassium_current_1.g_K nanoS; potassium_current_1.g_K=11.2; real potassium_current_1.E_K millivolt; potassium_current_1.E_K=-85.0; real potassium_current_1.n(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model2.time=single_neuron_model2.time.min) potassium_current_1.n=0.01; real potassium_current_n_gate_1.n_infinity(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_1.tau_n(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_1.tau_n_max millisecond; potassium_current_n_gate_1.tau_n_max=10.0; real potassium_current_n_gate_1.theta_n millivolt; potassium_current_n_gate_1.theta_n=-29.0; real potassium_current_n_gate_1.sigma_n millivolt; potassium_current_n_gate_1.sigma_n=-4.0; real persistent_sodium_current_1.g_NaP nanoS; persistent_sodium_current_1.g_NaP=2.8; real persistent_sodium_current_1.m_infinity(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_1.h(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model2.time=single_neuron_model2.time.min) persistent_sodium_current_1.h=0.46; real persistent_sodium_current_m_gate_1.theta_m millivolt; persistent_sodium_current_m_gate_1.theta_m=-40.0; real persistent_sodium_current_m_gate_1.sigma_m millivolt; persistent_sodium_current_m_gate_1.sigma_m=-6.0; real persistent_sodium_current_h_gate_1.h_infinity(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_1.tau_h(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_1.tau_h_max millisecond; persistent_sodium_current_h_gate_1.tau_h_max=10000.0; real persistent_sodium_current_h_gate_1.theta_h millivolt; persistent_sodium_current_h_gate_1.theta_h=-48.0; real persistent_sodium_current_h_gate_1.sigma_h millivolt; persistent_sodium_current_h_gate_1.sigma_h=6.0; real leakage_current_1.g_L nanoS; leakage_current_1.g_L=2.8; real leakage_current_1.E_L millivolt; leakage_current_1.E_L=-57.5; real tonic_current_1.E_syn_e millivolt; tonic_current_1.E_syn_e=0.0; real tonic_current_1.g_tonic_e nanoS; tonic_current_1.g_tonic_e=0.0; real synaptic_input_1.s_infinity(single_neuron_model2.time,ModelInterfacing.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input_1.kr dimensionless; synaptic_input_1.kr=1.0; real synaptic_input_1.tau_s millisecond; synaptic_input_1.tau_s=5.0; real synaptic_input_1.sigma_s millivolt; synaptic_input_1.sigma_s=-5.0; real synaptic_input_1.theta_s millivolt; synaptic_input_1.theta_s=-10.0; real membrane_2.V(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(single_neuron_model3.time=single_neuron_model3.time.min) membrane_2.V=-50.0; real membrane_2.C picoF; membrane_2.C=21.0; real membrane_2.i_app picoA_; membrane_2.i_app=0.0; real membrane_2.i_NaP(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_2.i_Na(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_2.i_K(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_2.i_L(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_2.i_tonic_e(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_2.i_syn_e(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current_2.E_Na millivolt; fast_sodium_current_2.E_Na=50.0; real fast_sodium_current_2.g_Na nanoS; fast_sodium_current_2.g_Na=28.0; real fast_sodium_current_2.m_infinity(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_2.n(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model3.time=single_neuron_model3.time.min) fast_sodium_current_2.n=0.01; real fast_sodium_current_m_gate_2.theta_m millivolt; fast_sodium_current_m_gate_2.theta_m=-34.0; real fast_sodium_current_m_gate_2.sigma_m millivolt; fast_sodium_current_m_gate_2.sigma_m=-5.0; real fast_sodium_current_n_gate_2.n_infinity(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_2.tau_n(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_2.tau_n_max millisecond; fast_sodium_current_n_gate_2.tau_n_max=10.0; real fast_sodium_current_n_gate_2.theta_n millivolt; fast_sodium_current_n_gate_2.theta_n=-29.0; real fast_sodium_current_n_gate_2.sigma_n millivolt; fast_sodium_current_n_gate_2.sigma_n=-4.0; real potassium_current_2.g_K nanoS; potassium_current_2.g_K=11.2; real potassium_current_2.E_K millivolt; potassium_current_2.E_K=-85.0; real potassium_current_2.n(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model3.time=single_neuron_model3.time.min) potassium_current_2.n=0.01; real potassium_current_n_gate_2.n_infinity(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_2.tau_n(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_2.tau_n_max millisecond; potassium_current_n_gate_2.tau_n_max=10.0; real potassium_current_n_gate_2.theta_n millivolt; potassium_current_n_gate_2.theta_n=-29.0; real potassium_current_n_gate_2.sigma_n millivolt; potassium_current_n_gate_2.sigma_n=-4.0; real persistent_sodium_current_2.g_NaP nanoS; persistent_sodium_current_2.g_NaP=2.8; real persistent_sodium_current_2.m_infinity(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_2.h(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model3.time=single_neuron_model3.time.min) persistent_sodium_current_2.h=0.46; real persistent_sodium_current_m_gate_2.theta_m millivolt; persistent_sodium_current_m_gate_2.theta_m=-40.0; real persistent_sodium_current_m_gate_2.sigma_m millivolt; persistent_sodium_current_m_gate_2.sigma_m=-6.0; real persistent_sodium_current_h_gate_2.h_infinity(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_2.tau_h(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_2.tau_h_max millisecond; persistent_sodium_current_h_gate_2.tau_h_max=10000.0; real persistent_sodium_current_h_gate_2.theta_h millivolt; persistent_sodium_current_h_gate_2.theta_h=-48.0; real persistent_sodium_current_h_gate_2.sigma_h millivolt; persistent_sodium_current_h_gate_2.sigma_h=6.0; real leakage_current_2.g_L nanoS; leakage_current_2.g_L=2.8; real leakage_current_2.E_L millivolt; leakage_current_2.E_L=-57.5; real tonic_current_2.E_syn_e millivolt; tonic_current_2.E_syn_e=0.0; real tonic_current_2.g_tonic_e nanoS; tonic_current_2.g_tonic_e=0.0; real synaptic_input_2.s_infinity(single_neuron_model3.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input_2.kr dimensionless; synaptic_input_2.kr=1.0; real synaptic_input_2.tau_s millisecond; synaptic_input_2.tau_s=5.0; real synaptic_input_2.sigma_s millivolt; synaptic_input_2.sigma_s=-5.0; real synaptic_input_2.theta_s millivolt; synaptic_input_2.theta_s=-10.0; real membrane_3.V(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(single_neuron_model4.time=single_neuron_model4.time.min) membrane_3.V=-50.0; real membrane_3.C picoF; membrane_3.C=21.0; real membrane_3.i_app picoA_; membrane_3.i_app=0.0; real membrane_3.i_NaP(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_3.i_Na(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_3.i_K(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_3.i_L(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_3.i_tonic_e(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_3.i_syn_e(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current_3.E_Na millivolt; fast_sodium_current_3.E_Na=50.0; real fast_sodium_current_3.g_Na nanoS; fast_sodium_current_3.g_Na=28.0; real fast_sodium_current_3.m_infinity(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_3.n(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model4.time=single_neuron_model4.time.min) fast_sodium_current_3.n=0.01; real fast_sodium_current_m_gate_3.theta_m millivolt; fast_sodium_current_m_gate_3.theta_m=-34.0; real fast_sodium_current_m_gate_3.sigma_m millivolt; fast_sodium_current_m_gate_3.sigma_m=-5.0; real fast_sodium_current_n_gate_3.n_infinity(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_3.tau_n(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_3.tau_n_max millisecond; fast_sodium_current_n_gate_3.tau_n_max=10.0; real fast_sodium_current_n_gate_3.theta_n millivolt; fast_sodium_current_n_gate_3.theta_n=-29.0; real fast_sodium_current_n_gate_3.sigma_n millivolt; fast_sodium_current_n_gate_3.sigma_n=-4.0; real potassium_current_3.g_K nanoS; potassium_current_3.g_K=11.2; real potassium_current_3.E_K millivolt; potassium_current_3.E_K=-85.0; real potassium_current_3.n(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model4.time=single_neuron_model4.time.min) potassium_current_3.n=0.01; real potassium_current_n_gate_3.n_infinity(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_3.tau_n(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_3.tau_n_max millisecond; potassium_current_n_gate_3.tau_n_max=10.0; real potassium_current_n_gate_3.theta_n millivolt; potassium_current_n_gate_3.theta_n=-29.0; real potassium_current_n_gate_3.sigma_n millivolt; potassium_current_n_gate_3.sigma_n=-4.0; real persistent_sodium_current_3.g_NaP nanoS; persistent_sodium_current_3.g_NaP=2.8; real persistent_sodium_current_3.m_infinity(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_3.h(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model4.time=single_neuron_model4.time.min) persistent_sodium_current_3.h=0.46; real persistent_sodium_current_m_gate_3.theta_m millivolt; persistent_sodium_current_m_gate_3.theta_m=-40.0; real persistent_sodium_current_m_gate_3.sigma_m millivolt; persistent_sodium_current_m_gate_3.sigma_m=-6.0; real persistent_sodium_current_h_gate_3.h_infinity(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_3.tau_h(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_3.tau_h_max millisecond; persistent_sodium_current_h_gate_3.tau_h_max=10000.0; real persistent_sodium_current_h_gate_3.theta_h millivolt; persistent_sodium_current_h_gate_3.theta_h=-48.0; real persistent_sodium_current_h_gate_3.sigma_h millivolt; persistent_sodium_current_h_gate_3.sigma_h=6.0; real leakage_current_3.g_L nanoS; leakage_current_3.g_L=2.8; real leakage_current_3.E_L millivolt; leakage_current_3.E_L=-57.5; real tonic_current_3.E_syn_e millivolt; tonic_current_3.E_syn_e=0.0; real tonic_current_3.g_tonic_e nanoS; tonic_current_3.g_tonic_e=0.0; real synaptic_input_3.s_infinity(single_neuron_model4.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input_3.kr dimensionless; synaptic_input_3.kr=1.0; real synaptic_input_3.tau_s millisecond; synaptic_input_3.tau_s=5.0; real synaptic_input_3.sigma_s millivolt; synaptic_input_3.sigma_s=-5.0; real synaptic_input_3.theta_s millivolt; synaptic_input_3.theta_s=-10.0; real membrane_4.V(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(single_neuron_model5.time=single_neuron_model5.time.min) membrane_4.V=-50.0; real membrane_4.C picoF; membrane_4.C=21.0; real membrane_4.i_app picoA_; membrane_4.i_app=0.0; real membrane_4.i_NaP(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_4.i_Na(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_4.i_K(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_4.i_L(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_4.i_tonic_e(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_4.i_syn_e(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current_4.E_Na millivolt; fast_sodium_current_4.E_Na=50.0; real fast_sodium_current_4.g_Na nanoS; fast_sodium_current_4.g_Na=28.0; real fast_sodium_current_4.m_infinity(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_4.n(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model5.time=single_neuron_model5.time.min) fast_sodium_current_4.n=0.01; real fast_sodium_current_m_gate_4.theta_m millivolt; fast_sodium_current_m_gate_4.theta_m=-34.0; real fast_sodium_current_m_gate_4.sigma_m millivolt; fast_sodium_current_m_gate_4.sigma_m=-5.0; real fast_sodium_current_n_gate_4.n_infinity(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_4.tau_n(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_4.tau_n_max millisecond; fast_sodium_current_n_gate_4.tau_n_max=10.0; real fast_sodium_current_n_gate_4.theta_n millivolt; fast_sodium_current_n_gate_4.theta_n=-29.0; real fast_sodium_current_n_gate_4.sigma_n millivolt; fast_sodium_current_n_gate_4.sigma_n=-4.0; real potassium_current_4.g_K nanoS; potassium_current_4.g_K=11.2; real potassium_current_4.E_K millivolt; potassium_current_4.E_K=-85.0; real potassium_current_4.n(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model5.time=single_neuron_model5.time.min) potassium_current_4.n=0.01; real potassium_current_n_gate_4.n_infinity(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_4.tau_n(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_4.tau_n_max millisecond; potassium_current_n_gate_4.tau_n_max=10.0; real potassium_current_n_gate_4.theta_n millivolt; potassium_current_n_gate_4.theta_n=-29.0; real potassium_current_n_gate_4.sigma_n millivolt; potassium_current_n_gate_4.sigma_n=-4.0; real persistent_sodium_current_4.g_NaP nanoS; persistent_sodium_current_4.g_NaP=2.8; real persistent_sodium_current_4.m_infinity(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_4.h(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model5.time=single_neuron_model5.time.min) persistent_sodium_current_4.h=0.46; real persistent_sodium_current_m_gate_4.theta_m millivolt; persistent_sodium_current_m_gate_4.theta_m=-40.0; real persistent_sodium_current_m_gate_4.sigma_m millivolt; persistent_sodium_current_m_gate_4.sigma_m=-6.0; real persistent_sodium_current_h_gate_4.h_infinity(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_4.tau_h(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_4.tau_h_max millisecond; persistent_sodium_current_h_gate_4.tau_h_max=10000.0; real persistent_sodium_current_h_gate_4.theta_h millivolt; persistent_sodium_current_h_gate_4.theta_h=-48.0; real persistent_sodium_current_h_gate_4.sigma_h millivolt; persistent_sodium_current_h_gate_4.sigma_h=6.0; real leakage_current_4.g_L nanoS; leakage_current_4.g_L=2.8; real leakage_current_4.E_L millivolt; leakage_current_4.E_L=-57.5; real tonic_current_4.E_syn_e millivolt; tonic_current_4.E_syn_e=0.0; real tonic_current_4.g_tonic_e nanoS; tonic_current_4.g_tonic_e=0.0; real synaptic_input_4.s_infinity(single_neuron_model5.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input_4.kr dimensionless; synaptic_input_4.kr=1.0; real synaptic_input_4.tau_s millisecond; synaptic_input_4.tau_s=5.0; real synaptic_input_4.sigma_s millivolt; synaptic_input_4.sigma_s=-5.0; real synaptic_input_4.theta_s millivolt; synaptic_input_4.theta_s=-10.0; real membrane_5.V(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(single_neuron_model6.time=single_neuron_model6.time.min) membrane_5.V=-50.0; real membrane_5.C picoF; membrane_5.C=21.0; real membrane_5.i_app picoA_; membrane_5.i_app=0.0; real membrane_5.i_NaP(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_5.i_Na(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_5.i_K(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_5.i_L(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_5.i_tonic_e(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_5.i_syn_e(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current_5.E_Na millivolt; fast_sodium_current_5.E_Na=50.0; real fast_sodium_current_5.g_Na nanoS; fast_sodium_current_5.g_Na=28.0; real fast_sodium_current_5.m_infinity(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_5.n(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model6.time=single_neuron_model6.time.min) fast_sodium_current_5.n=0.01; real fast_sodium_current_m_gate_5.theta_m millivolt; fast_sodium_current_m_gate_5.theta_m=-34.0; real fast_sodium_current_m_gate_5.sigma_m millivolt; fast_sodium_current_m_gate_5.sigma_m=-5.0; real fast_sodium_current_n_gate_5.n_infinity(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_5.tau_n(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_5.tau_n_max millisecond; fast_sodium_current_n_gate_5.tau_n_max=10.0; real fast_sodium_current_n_gate_5.theta_n millivolt; fast_sodium_current_n_gate_5.theta_n=-29.0; real fast_sodium_current_n_gate_5.sigma_n millivolt; fast_sodium_current_n_gate_5.sigma_n=-4.0; real potassium_current_5.g_K nanoS; potassium_current_5.g_K=11.2; real potassium_current_5.E_K millivolt; potassium_current_5.E_K=-85.0; real potassium_current_5.n(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model6.time=single_neuron_model6.time.min) potassium_current_5.n=0.01; real potassium_current_n_gate_5.n_infinity(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_5.tau_n(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_5.tau_n_max millisecond; potassium_current_n_gate_5.tau_n_max=10.0; real potassium_current_n_gate_5.theta_n millivolt; potassium_current_n_gate_5.theta_n=-29.0; real potassium_current_n_gate_5.sigma_n millivolt; potassium_current_n_gate_5.sigma_n=-4.0; real persistent_sodium_current_5.g_NaP nanoS; persistent_sodium_current_5.g_NaP=2.8; real persistent_sodium_current_5.m_infinity(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_5.h(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model6.time=single_neuron_model6.time.min) persistent_sodium_current_5.h=0.46; real persistent_sodium_current_m_gate_5.theta_m millivolt; persistent_sodium_current_m_gate_5.theta_m=-40.0; real persistent_sodium_current_m_gate_5.sigma_m millivolt; persistent_sodium_current_m_gate_5.sigma_m=-6.0; real persistent_sodium_current_h_gate_5.h_infinity(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_5.tau_h(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_5.tau_h_max millisecond; persistent_sodium_current_h_gate_5.tau_h_max=10000.0; real persistent_sodium_current_h_gate_5.theta_h millivolt; persistent_sodium_current_h_gate_5.theta_h=-48.0; real persistent_sodium_current_h_gate_5.sigma_h millivolt; persistent_sodium_current_h_gate_5.sigma_h=6.0; real leakage_current_5.g_L nanoS; leakage_current_5.g_L=2.8; real leakage_current_5.E_L millivolt; leakage_current_5.E_L=-57.5; real tonic_current_5.E_syn_e millivolt; tonic_current_5.E_syn_e=0.0; real tonic_current_5.g_tonic_e nanoS; tonic_current_5.g_tonic_e=0.0; real synaptic_input_5.s_infinity(single_neuron_model6.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input_5.kr dimensionless; synaptic_input_5.kr=1.0; real synaptic_input_5.tau_s millisecond; synaptic_input_5.tau_s=5.0; real synaptic_input_5.sigma_s millivolt; synaptic_input_5.sigma_s=-5.0; real synaptic_input_5.theta_s millivolt; synaptic_input_5.theta_s=-10.0; real membrane_6.V(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(single_neuron_model7.time=single_neuron_model7.time.min) membrane_6.V=-50.0; real membrane_6.C picoF; membrane_6.C=21.0; real membrane_6.i_app picoA_; membrane_6.i_app=0.0; real membrane_6.i_NaP(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_6.i_Na(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_6.i_K(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_6.i_L(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_6.i_tonic_e(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_6.i_syn_e(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current_6.E_Na millivolt; fast_sodium_current_6.E_Na=50.0; real fast_sodium_current_6.g_Na nanoS; fast_sodium_current_6.g_Na=28.0; real fast_sodium_current_6.m_infinity(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_6.n(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model7.time=single_neuron_model7.time.min) fast_sodium_current_6.n=0.01; real fast_sodium_current_m_gate_6.theta_m millivolt; fast_sodium_current_m_gate_6.theta_m=-34.0; real fast_sodium_current_m_gate_6.sigma_m millivolt; fast_sodium_current_m_gate_6.sigma_m=-5.0; real fast_sodium_current_n_gate_6.n_infinity(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_6.tau_n(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_6.tau_n_max millisecond; fast_sodium_current_n_gate_6.tau_n_max=10.0; real fast_sodium_current_n_gate_6.theta_n millivolt; fast_sodium_current_n_gate_6.theta_n=-29.0; real fast_sodium_current_n_gate_6.sigma_n millivolt; fast_sodium_current_n_gate_6.sigma_n=-4.0; real potassium_current_6.g_K nanoS; potassium_current_6.g_K=11.2; real potassium_current_6.E_K millivolt; potassium_current_6.E_K=-85.0; real potassium_current_6.n(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model7.time=single_neuron_model7.time.min) potassium_current_6.n=0.01; real potassium_current_n_gate_6.n_infinity(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_6.tau_n(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_6.tau_n_max millisecond; potassium_current_n_gate_6.tau_n_max=10.0; real potassium_current_n_gate_6.theta_n millivolt; potassium_current_n_gate_6.theta_n=-29.0; real potassium_current_n_gate_6.sigma_n millivolt; potassium_current_n_gate_6.sigma_n=-4.0; real persistent_sodium_current_6.g_NaP nanoS; persistent_sodium_current_6.g_NaP=2.8; real persistent_sodium_current_6.m_infinity(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_6.h(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model7.time=single_neuron_model7.time.min) persistent_sodium_current_6.h=0.46; real persistent_sodium_current_m_gate_6.theta_m millivolt; persistent_sodium_current_m_gate_6.theta_m=-40.0; real persistent_sodium_current_m_gate_6.sigma_m millivolt; persistent_sodium_current_m_gate_6.sigma_m=-6.0; real persistent_sodium_current_h_gate_6.h_infinity(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_6.tau_h(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_6.tau_h_max millisecond; persistent_sodium_current_h_gate_6.tau_h_max=10000.0; real persistent_sodium_current_h_gate_6.theta_h millivolt; persistent_sodium_current_h_gate_6.theta_h=-48.0; real persistent_sodium_current_h_gate_6.sigma_h millivolt; persistent_sodium_current_h_gate_6.sigma_h=6.0; real leakage_current_6.g_L nanoS; leakage_current_6.g_L=2.8; real leakage_current_6.E_L millivolt; leakage_current_6.E_L=-57.5; real tonic_current_6.E_syn_e millivolt; tonic_current_6.E_syn_e=0.0; real tonic_current_6.g_tonic_e nanoS; tonic_current_6.g_tonic_e=0.0; real synaptic_input_6.s_infinity(single_neuron_model7.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model8.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input_6.kr dimensionless; synaptic_input_6.kr=1.0; real synaptic_input_6.tau_s millisecond; synaptic_input_6.tau_s=5.0; real synaptic_input_6.sigma_s millivolt; synaptic_input_6.sigma_s=-5.0; real synaptic_input_6.theta_s millivolt; synaptic_input_6.theta_s=-10.0; real membrane_7.V(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) millivolt; when(single_neuron_model8.time=single_neuron_model8.time.min) membrane_7.V=-50.0; real membrane_7.C picoF; membrane_7.C=21.0; real membrane_7.i_app picoA_; membrane_7.i_app=0.0; real membrane_7.i_NaP(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_7.i_Na(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_7.i_K(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_7.i_L(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_7.i_tonic_e(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real membrane_7.i_syn_e(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) picoA_; real fast_sodium_current_7.E_Na millivolt; fast_sodium_current_7.E_Na=50.0; real fast_sodium_current_7.g_Na nanoS; fast_sodium_current_7.g_Na=28.0; real fast_sodium_current_7.m_infinity(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_7.n(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model8.time=single_neuron_model8.time.min) fast_sodium_current_7.n=0.01; real fast_sodium_current_m_gate_7.theta_m millivolt; fast_sodium_current_m_gate_7.theta_m=-34.0; real fast_sodium_current_m_gate_7.sigma_m millivolt; fast_sodium_current_m_gate_7.sigma_m=-5.0; real fast_sodium_current_n_gate_7.n_infinity(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_7.tau_n(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_7.tau_n_max millisecond; fast_sodium_current_n_gate_7.tau_n_max=10.0; real fast_sodium_current_n_gate_7.theta_n millivolt; fast_sodium_current_n_gate_7.theta_n=-29.0; real fast_sodium_current_n_gate_7.sigma_n millivolt; fast_sodium_current_n_gate_7.sigma_n=-4.0; real potassium_current_7.g_K nanoS; potassium_current_7.g_K=11.2; real potassium_current_7.E_K millivolt; potassium_current_7.E_K=-85.0; real potassium_current_7.n(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model8.time=single_neuron_model8.time.min) potassium_current_7.n=0.01; real potassium_current_n_gate_7.n_infinity(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_7.tau_n(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_7.tau_n_max millisecond; potassium_current_n_gate_7.tau_n_max=10.0; real potassium_current_n_gate_7.theta_n millivolt; potassium_current_n_gate_7.theta_n=-29.0; real potassium_current_n_gate_7.sigma_n millivolt; potassium_current_n_gate_7.sigma_n=-4.0; real persistent_sodium_current_7.g_NaP nanoS; persistent_sodium_current_7.g_NaP=2.8; real persistent_sodium_current_7.m_infinity(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_7.h(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; when(single_neuron_model8.time=single_neuron_model8.time.min) persistent_sodium_current_7.h=0.46; real persistent_sodium_current_m_gate_7.theta_m millivolt; persistent_sodium_current_m_gate_7.theta_m=-40.0; real persistent_sodium_current_m_gate_7.sigma_m millivolt; persistent_sodium_current_m_gate_7.sigma_m=-6.0; real persistent_sodium_current_h_gate_7.h_infinity(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_7.tau_h(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_7.tau_h_max millisecond; persistent_sodium_current_h_gate_7.tau_h_max=10000.0; real persistent_sodium_current_h_gate_7.theta_h millivolt; persistent_sodium_current_h_gate_7.theta_h=-48.0; real persistent_sodium_current_h_gate_7.sigma_h millivolt; persistent_sodium_current_h_gate_7.sigma_h=6.0; real leakage_current_7.g_L nanoS; leakage_current_7.g_L=2.8; real leakage_current_7.E_L millivolt; leakage_current_7.E_L=-57.5; real tonic_current_7.E_syn_e millivolt; tonic_current_7.E_syn_e=0.0; real tonic_current_7.g_tonic_e nanoS; tonic_current_7.g_tonic_e=0.0; real synaptic_input_7.s_infinity(single_neuron_model8.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model9.time,single_neuron_model10.time) dimensionless; real synaptic_input_7.kr dimensionless; synaptic_input_7.kr=1.0; real synaptic_input_7.tau_s millisecond; synaptic_input_7.tau_s=5.0; real synaptic_input_7.sigma_s millivolt; synaptic_input_7.sigma_s=-5.0; real synaptic_input_7.theta_s millivolt; synaptic_input_7.theta_s=-10.0; real membrane_8.V(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) millivolt; when(single_neuron_model9.time=single_neuron_model9.time.min) membrane_8.V=-50.0; real membrane_8.C picoF; membrane_8.C=21.0; real membrane_8.i_app picoA_; membrane_8.i_app=0.0; real membrane_8.i_NaP(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) picoA_; real membrane_8.i_Na(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) picoA_; real membrane_8.i_K(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) picoA_; real membrane_8.i_L(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) picoA_; real membrane_8.i_tonic_e(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) picoA_; real membrane_8.i_syn_e(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) picoA_; real fast_sodium_current_8.E_Na millivolt; fast_sodium_current_8.E_Na=50.0; real fast_sodium_current_8.g_Na nanoS; fast_sodium_current_8.g_Na=28.0; real fast_sodium_current_8.m_infinity(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_8.n(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; when(single_neuron_model9.time=single_neuron_model9.time.min) fast_sodium_current_8.n=0.01; real fast_sodium_current_m_gate_8.theta_m millivolt; fast_sodium_current_m_gate_8.theta_m=-34.0; real fast_sodium_current_m_gate_8.sigma_m millivolt; fast_sodium_current_m_gate_8.sigma_m=-5.0; real fast_sodium_current_n_gate_8.n_infinity(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; real fast_sodium_current_n_gate_8.tau_n(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) millisecond; real fast_sodium_current_n_gate_8.tau_n_max millisecond; fast_sodium_current_n_gate_8.tau_n_max=10.0; real fast_sodium_current_n_gate_8.theta_n millivolt; fast_sodium_current_n_gate_8.theta_n=-29.0; real fast_sodium_current_n_gate_8.sigma_n millivolt; fast_sodium_current_n_gate_8.sigma_n=-4.0; real potassium_current_8.g_K nanoS; potassium_current_8.g_K=11.2; real potassium_current_8.E_K millivolt; potassium_current_8.E_K=-85.0; real potassium_current_8.n(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; when(single_neuron_model9.time=single_neuron_model9.time.min) potassium_current_8.n=0.01; real potassium_current_n_gate_8.n_infinity(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; real potassium_current_n_gate_8.tau_n(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) millisecond; real potassium_current_n_gate_8.tau_n_max millisecond; potassium_current_n_gate_8.tau_n_max=10.0; real potassium_current_n_gate_8.theta_n millivolt; potassium_current_n_gate_8.theta_n=-29.0; real potassium_current_n_gate_8.sigma_n millivolt; potassium_current_n_gate_8.sigma_n=-4.0; real persistent_sodium_current_8.g_NaP nanoS; persistent_sodium_current_8.g_NaP=2.8; real persistent_sodium_current_8.m_infinity(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_8.h(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; when(single_neuron_model9.time=single_neuron_model9.time.min) persistent_sodium_current_8.h=0.46; real persistent_sodium_current_m_gate_8.theta_m millivolt; persistent_sodium_current_m_gate_8.theta_m=-40.0; real persistent_sodium_current_m_gate_8.sigma_m millivolt; persistent_sodium_current_m_gate_8.sigma_m=-6.0; real persistent_sodium_current_h_gate_8.h_infinity(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; real persistent_sodium_current_h_gate_8.tau_h(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) millisecond; real persistent_sodium_current_h_gate_8.tau_h_max millisecond; persistent_sodium_current_h_gate_8.tau_h_max=10000.0; real persistent_sodium_current_h_gate_8.theta_h millivolt; persistent_sodium_current_h_gate_8.theta_h=-48.0; real persistent_sodium_current_h_gate_8.sigma_h millivolt; persistent_sodium_current_h_gate_8.sigma_h=6.0; real leakage_current_8.g_L nanoS; leakage_current_8.g_L=2.8; real leakage_current_8.E_L millivolt; leakage_current_8.E_L=-57.5; real tonic_current_8.E_syn_e millivolt; tonic_current_8.E_syn_e=0.0; real tonic_current_8.g_tonic_e nanoS; tonic_current_8.g_tonic_e=0.0; real synaptic_input_8.s_infinity(single_neuron_model9.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model10.time) dimensionless; real synaptic_input_8.kr dimensionless; synaptic_input_8.kr=1.0; real synaptic_input_8.tau_s millisecond; synaptic_input_8.tau_s=5.0; real synaptic_input_8.sigma_s millivolt; synaptic_input_8.sigma_s=-5.0; real synaptic_input_8.theta_s millivolt; synaptic_input_8.theta_s=-10.0; real membrane_9.V(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) millivolt; when(single_neuron_model10.time=single_neuron_model10.time.min) membrane_9.V=-50.0; real membrane_9.C picoF; membrane_9.C=21.0; real membrane_9.i_app picoA_; membrane_9.i_app=0.0; real membrane_9.i_NaP(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) picoA_; real membrane_9.i_Na(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) picoA_; real membrane_9.i_K(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) picoA_; real membrane_9.i_L(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) picoA_; real membrane_9.i_tonic_e(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) picoA_; real membrane_9.i_syn_e(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) picoA_; real fast_sodium_current_9.E_Na millivolt; fast_sodium_current_9.E_Na=50.0; real fast_sodium_current_9.g_Na nanoS; fast_sodium_current_9.g_Na=28.0; real fast_sodium_current_9.m_infinity(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; real fast_sodium_current_9.n(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; when(single_neuron_model10.time=single_neuron_model10.time.min) fast_sodium_current_9.n=0.01; real fast_sodium_current_m_gate_9.theta_m millivolt; fast_sodium_current_m_gate_9.theta_m=-34.0; real fast_sodium_current_m_gate_9.sigma_m millivolt; fast_sodium_current_m_gate_9.sigma_m=-5.0; real fast_sodium_current_n_gate_9.n_infinity(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; real fast_sodium_current_n_gate_9.tau_n(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) millisecond; real fast_sodium_current_n_gate_9.tau_n_max millisecond; fast_sodium_current_n_gate_9.tau_n_max=10.0; real fast_sodium_current_n_gate_9.theta_n millivolt; fast_sodium_current_n_gate_9.theta_n=-29.0; real fast_sodium_current_n_gate_9.sigma_n millivolt; fast_sodium_current_n_gate_9.sigma_n=-4.0; real potassium_current_9.g_K nanoS; potassium_current_9.g_K=11.2; real potassium_current_9.E_K millivolt; potassium_current_9.E_K=-85.0; real potassium_current_9.n(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; when(single_neuron_model10.time=single_neuron_model10.time.min) potassium_current_9.n=0.01; real potassium_current_n_gate_9.n_infinity(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; real potassium_current_n_gate_9.tau_n(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) millisecond; real potassium_current_n_gate_9.tau_n_max millisecond; potassium_current_n_gate_9.tau_n_max=10.0; real potassium_current_n_gate_9.theta_n millivolt; potassium_current_n_gate_9.theta_n=-29.0; real potassium_current_n_gate_9.sigma_n millivolt; potassium_current_n_gate_9.sigma_n=-4.0; real persistent_sodium_current_9.g_NaP nanoS; persistent_sodium_current_9.g_NaP=2.8; real persistent_sodium_current_9.m_infinity(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; real persistent_sodium_current_9.h(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; when(single_neuron_model10.time=single_neuron_model10.time.min) persistent_sodium_current_9.h=0.46; real persistent_sodium_current_m_gate_9.theta_m millivolt; persistent_sodium_current_m_gate_9.theta_m=-40.0; real persistent_sodium_current_m_gate_9.sigma_m millivolt; persistent_sodium_current_m_gate_9.sigma_m=-6.0; real persistent_sodium_current_h_gate_9.h_infinity(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; real persistent_sodium_current_h_gate_9.tau_h(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) millisecond; real persistent_sodium_current_h_gate_9.tau_h_max millisecond; persistent_sodium_current_h_gate_9.tau_h_max=10000.0; real persistent_sodium_current_h_gate_9.theta_h millivolt; persistent_sodium_current_h_gate_9.theta_h=-48.0; real persistent_sodium_current_h_gate_9.sigma_h millivolt; persistent_sodium_current_h_gate_9.sigma_h=6.0; real leakage_current_9.g_L nanoS; leakage_current_9.g_L=2.8; real leakage_current_9.E_L millivolt; leakage_current_9.E_L=-57.5; real tonic_current_9.E_syn_e millivolt; tonic_current_9.E_syn_e=0.0; real tonic_current_9.g_tonic_e nanoS; tonic_current_9.g_tonic_e=0.0; real synaptic_input_9.s_infinity(single_neuron_model10.time,ModelInterfacing.time,single_neuron_model2.time,single_neuron_model3.time,single_neuron_model4.time,single_neuron_model5.time,single_neuron_model6.time,single_neuron_model7.time,single_neuron_model8.time,single_neuron_model9.time) dimensionless; real synaptic_input_9.kr dimensionless; synaptic_input_9.kr=1.0; real synaptic_input_9.tau_s millisecond; synaptic_input_9.tau_s=5.0; real synaptic_input_9.sigma_s millivolt; synaptic_input_9.sigma_s=-5.0; real synaptic_input_9.theta_s millivolt; synaptic_input_9.theta_s=-10.0; // sum_g_syn_e_s_1=(g_syn_e_2_1*s2+g_syn_e_3_1*s3+g_syn_e_4_1*s4+g_syn_e_5_1*s5+g_syn_e_6_1*s6+g_syn_e_7_1*s7+g_syn_e_8_1*s8+g_syn_e_9_1*s9+g_syn_e_10_1*s10); sum_g_syn_e_s_2=(g_syn_e_1_2*s1+g_syn_e_3_2*s3+g_syn_e_4_2*s4+g_syn_e_5_2*s5+g_syn_e_6_2*s6+g_syn_e_7_2*s7+g_syn_e_8_2*s8+g_syn_e_9_2*s9+g_syn_e_10_2*s10); sum_g_syn_e_s_3=(g_syn_e_1_3*s1+g_syn_e_2_3*s2+g_syn_e_4_3*s4+g_syn_e_5_3*s5+g_syn_e_6_3*s6+g_syn_e_7_3*s7+g_syn_e_8_3*s8+g_syn_e_9_3*s9+g_syn_e_10_3*s10); sum_g_syn_e_s_4=(g_syn_e_1_4*s1+g_syn_e_2_4*s2+g_syn_e_3_4*s3+g_syn_e_5_4*s5+g_syn_e_6_4*s6+g_syn_e_7_4*s7+g_syn_e_8_4*s8+g_syn_e_9_4*s9+g_syn_e_10_4*s10); sum_g_syn_e_s_5=(g_syn_e_1_5*s1+g_syn_e_2_5*s2+g_syn_e_3_5*s3+g_syn_e_4_5*s4+g_syn_e_6_5*s6+g_syn_e_7_5*s7+g_syn_e_8_5*s8+g_syn_e_9_5*s9+g_syn_e_10_5*s10); sum_g_syn_e_s_6=(g_syn_e_1_6*s1+g_syn_e_2_6*s2+g_syn_e_3_6*s3+g_syn_e_4_6*s4+g_syn_e_5_6*s5+g_syn_e_7_6*s7+g_syn_e_8_6*s8+g_syn_e_9_6*s9+g_syn_e_10_6*s10); sum_g_syn_e_s_7=(g_syn_e_1_7*s1+g_syn_e_2_7*s2+g_syn_e_3_7*s3+g_syn_e_4_7*s4+g_syn_e_5_7*s5+g_syn_e_6_7*s6+g_syn_e_8_7*s8+g_syn_e_9_7*s9+g_syn_e_10_7*s10); sum_g_syn_e_s_8=(g_syn_e_1_8*s1+g_syn_e_2_8*s2+g_syn_e_3_8*s3+g_syn_e_4_8*s4+g_syn_e_5_8*s5+g_syn_e_6_8*s6+g_syn_e_7_8*s7+g_syn_e_9_8*s9+g_syn_e_10_8*s10); sum_g_syn_e_s_9=(g_syn_e_1_9*s1+g_syn_e_2_9*s2+g_syn_e_3_9*s3+g_syn_e_4_9*s4+g_syn_e_5_9*s5+g_syn_e_6_9*s6+g_syn_e_7_9*s7+g_syn_e_8_9*s8+g_syn_e_10_9*s10); sum_g_syn_e_s_10=(g_syn_e_1_10*s1+g_syn_e_2_10*s2+g_syn_e_3_10*s3+g_syn_e_4_10*s4+g_syn_e_5_10*s5+g_syn_e_6_10*s6+g_syn_e_7_10*s7+g_syn_e_8_10*s8+g_syn_e_9_10*s9); // timeDuplicate=ModelInterfacing.time; V1Duplicate=V1; V2Duplicate=V2; V3Duplicate=V3; V4Duplicate=V4; V5Duplicate=V5; V6Duplicate=V6; V7Duplicate=V7; V8Duplicate=V8; V9Duplicate=V9; V10Duplicate=V10; // // // // // // // // // // // // membrane.V:ModelInterfacing.time=(((-1)*(membrane.i_NaP+membrane.i_Na+membrane.i_K+membrane.i_L+membrane.i_tonic_e+membrane.i_syn_e)+membrane.i_app)/membrane.C); // membrane.i_Na=(fast_sodium_current.g_Na*fast_sodium_current.m_infinity^3*(1-fast_sodium_current.n)*(membrane.V-fast_sodium_current.E_Na)); // fast_sodium_current.m_infinity=(1/(1+exp((membrane.V-fast_sodium_current_m_gate.theta_m)/fast_sodium_current_m_gate.sigma_m))); // fast_sodium_current.n:ModelInterfacing.time=((fast_sodium_current_n_gate.n_infinity-fast_sodium_current.n)/fast_sodium_current_n_gate.tau_n); fast_sodium_current_n_gate.n_infinity=(1/(1+exp((membrane.V-fast_sodium_current_n_gate.theta_n)/fast_sodium_current_n_gate.sigma_n))); fast_sodium_current_n_gate.tau_n=(fast_sodium_current_n_gate.tau_n_max/cosh((membrane.V-fast_sodium_current_n_gate.theta_n)/(2*fast_sodium_current_n_gate.sigma_n))); // membrane.i_K=(potassium_current.g_K*potassium_current.n^4*(membrane.V-potassium_current.E_K)); // potassium_current.n:ModelInterfacing.time=((potassium_current_n_gate.n_infinity-potassium_current.n)/potassium_current_n_gate.tau_n); potassium_current_n_gate.n_infinity=(1/(1+exp((membrane.V-potassium_current_n_gate.theta_n)/potassium_current_n_gate.sigma_n))); potassium_current_n_gate.tau_n=(potassium_current_n_gate.tau_n_max/cosh((membrane.V-potassium_current_n_gate.theta_n)/(2*potassium_current_n_gate.sigma_n))); // membrane.i_NaP=(persistent_sodium_current.g_NaP*persistent_sodium_current.m_infinity*persistent_sodium_current.h*(membrane.V-fast_sodium_current.E_Na)); // persistent_sodium_current.m_infinity=(1/(1+exp((membrane.V-persistent_sodium_current_m_gate.theta_m)/persistent_sodium_current_m_gate.sigma_m))); // persistent_sodium_current.h:ModelInterfacing.time=((persistent_sodium_current_h_gate.h_infinity-persistent_sodium_current.h)/persistent_sodium_current_h_gate.tau_h); persistent_sodium_current_h_gate.h_infinity=(1/(1+exp((membrane.V-persistent_sodium_current_h_gate.theta_h)/persistent_sodium_current_h_gate.sigma_h))); persistent_sodium_current_h_gate.tau_h=(persistent_sodium_current_h_gate.tau_h_max/cosh((membrane.V-persistent_sodium_current_h_gate.theta_h)/(2*persistent_sodium_current_h_gate.sigma_h))); // membrane.i_L=(leakage_current.g_L*(membrane.V-leakage_current.E_L)); // membrane.i_tonic_e=(tonic_current.g_tonic_e*(membrane.V-tonic_current.E_syn_e)); // membrane.i_syn_e=(sum_g_syn_e_s_1*(membrane.V-tonic_current.E_syn_e)); synaptic_input.s_infinity=(1/(1+exp((membrane.V-synaptic_input.theta_s)/synaptic_input.sigma_s))); s1:ModelInterfacing.time=(((1-s1)*synaptic_input.s_infinity-(-1)*(synaptic_input.kr*s1))/synaptic_input.tau_s); V1=membrane.V; // // membrane_1.V:single_neuron_model2.time=(((-1)*(membrane_1.i_NaP+membrane_1.i_Na+membrane_1.i_K+membrane_1.i_L+membrane_1.i_tonic_e+membrane_1.i_syn_e)+membrane_1.i_app)/membrane_1.C); // membrane_1.i_Na=(fast_sodium_current_1.g_Na*fast_sodium_current_1.m_infinity^3*(1-fast_sodium_current_1.n)*(membrane_1.V-fast_sodium_current_1.E_Na)); // fast_sodium_current_1.m_infinity=(1/(1+exp((membrane_1.V-fast_sodium_current_m_gate_1.theta_m)/fast_sodium_current_m_gate_1.sigma_m))); // fast_sodium_current_1.n:single_neuron_model2.time=((fast_sodium_current_n_gate_1.n_infinity-fast_sodium_current_1.n)/fast_sodium_current_n_gate_1.tau_n); fast_sodium_current_n_gate_1.n_infinity=(1/(1+exp((membrane_1.V-fast_sodium_current_n_gate_1.theta_n)/fast_sodium_current_n_gate_1.sigma_n))); fast_sodium_current_n_gate_1.tau_n=(fast_sodium_current_n_gate_1.tau_n_max/cosh((membrane_1.V-fast_sodium_current_n_gate_1.theta_n)/(2*fast_sodium_current_n_gate_1.sigma_n))); // membrane_1.i_K=(potassium_current_1.g_K*potassium_current_1.n^4*(membrane_1.V-potassium_current_1.E_K)); // potassium_current_1.n:single_neuron_model2.time=((potassium_current_n_gate_1.n_infinity-potassium_current_1.n)/potassium_current_n_gate_1.tau_n); potassium_current_n_gate_1.n_infinity=(1/(1+exp((membrane_1.V-potassium_current_n_gate_1.theta_n)/potassium_current_n_gate_1.sigma_n))); potassium_current_n_gate_1.tau_n=(potassium_current_n_gate_1.tau_n_max/cosh((membrane_1.V-potassium_current_n_gate_1.theta_n)/(2*potassium_current_n_gate_1.sigma_n))); // membrane_1.i_NaP=(persistent_sodium_current_1.g_NaP*persistent_sodium_current_1.m_infinity*persistent_sodium_current_1.h*(membrane_1.V-fast_sodium_current_1.E_Na)); // persistent_sodium_current_1.m_infinity=(1/(1+exp((membrane_1.V-persistent_sodium_current_m_gate_1.theta_m)/persistent_sodium_current_m_gate_1.sigma_m))); // persistent_sodium_current_1.h:single_neuron_model2.time=((persistent_sodium_current_h_gate_1.h_infinity-persistent_sodium_current_1.h)/persistent_sodium_current_h_gate_1.tau_h); persistent_sodium_current_h_gate_1.h_infinity=(1/(1+exp((membrane_1.V-persistent_sodium_current_h_gate_1.theta_h)/persistent_sodium_current_h_gate_1.sigma_h))); persistent_sodium_current_h_gate_1.tau_h=(persistent_sodium_current_h_gate_1.tau_h_max/cosh((membrane_1.V-persistent_sodium_current_h_gate_1.theta_h)/(2*persistent_sodium_current_h_gate_1.sigma_h))); // membrane_1.i_L=(leakage_current_1.g_L*(membrane_1.V-leakage_current_1.E_L)); // membrane_1.i_tonic_e=(tonic_current_1.g_tonic_e*(membrane_1.V-tonic_current_1.E_syn_e)); // membrane_1.i_syn_e=(sum_g_syn_e_s_2*(membrane_1.V-tonic_current_1.E_syn_e)); synaptic_input_1.s_infinity=(1/(1+exp((membrane_1.V-synaptic_input_1.theta_s)/synaptic_input_1.sigma_s))); s2:single_neuron_model2.time=(((1-s2)*synaptic_input_1.s_infinity-(-1)*(synaptic_input_1.kr*s2))/synaptic_input_1.tau_s); V2=membrane_1.V; // // membrane_2.V:single_neuron_model3.time=(((-1)*(membrane_2.i_NaP+membrane_2.i_Na+membrane_2.i_K+membrane_2.i_L+membrane_2.i_tonic_e+membrane_2.i_syn_e)+membrane_2.i_app)/membrane_2.C); // membrane_2.i_Na=(fast_sodium_current_2.g_Na*fast_sodium_current_2.m_infinity^3*(1-fast_sodium_current_2.n)*(membrane_2.V-fast_sodium_current_2.E_Na)); // fast_sodium_current_2.m_infinity=(1/(1+exp((membrane_2.V-fast_sodium_current_m_gate_2.theta_m)/fast_sodium_current_m_gate_2.sigma_m))); // fast_sodium_current_2.n:single_neuron_model3.time=((fast_sodium_current_n_gate_2.n_infinity-fast_sodium_current_2.n)/fast_sodium_current_n_gate_2.tau_n); fast_sodium_current_n_gate_2.n_infinity=(1/(1+exp((membrane_2.V-fast_sodium_current_n_gate_2.theta_n)/fast_sodium_current_n_gate_2.sigma_n))); fast_sodium_current_n_gate_2.tau_n=(fast_sodium_current_n_gate_2.tau_n_max/cosh((membrane_2.V-fast_sodium_current_n_gate_2.theta_n)/(2*fast_sodium_current_n_gate_2.sigma_n))); // membrane_2.i_K=(potassium_current_2.g_K*potassium_current_2.n^4*(membrane_2.V-potassium_current_2.E_K)); // potassium_current_2.n:single_neuron_model3.time=((potassium_current_n_gate_2.n_infinity-potassium_current_2.n)/potassium_current_n_gate_2.tau_n); potassium_current_n_gate_2.n_infinity=(1/(1+exp((membrane_2.V-potassium_current_n_gate_2.theta_n)/potassium_current_n_gate_2.sigma_n))); potassium_current_n_gate_2.tau_n=(potassium_current_n_gate_2.tau_n_max/cosh((membrane_2.V-potassium_current_n_gate_2.theta_n)/(2*potassium_current_n_gate_2.sigma_n))); // membrane_2.i_NaP=(persistent_sodium_current_2.g_NaP*persistent_sodium_current_2.m_infinity*persistent_sodium_current_2.h*(membrane_2.V-fast_sodium_current_2.E_Na)); // persistent_sodium_current_2.m_infinity=(1/(1+exp((membrane_2.V-persistent_sodium_current_m_gate_2.theta_m)/persistent_sodium_current_m_gate_2.sigma_m))); // persistent_sodium_current_2.h:single_neuron_model3.time=((persistent_sodium_current_h_gate_2.h_infinity-persistent_sodium_current_2.h)/persistent_sodium_current_h_gate_2.tau_h); persistent_sodium_current_h_gate_2.h_infinity=(1/(1+exp((membrane_2.V-persistent_sodium_current_h_gate_2.theta_h)/persistent_sodium_current_h_gate_2.sigma_h))); persistent_sodium_current_h_gate_2.tau_h=(persistent_sodium_current_h_gate_2.tau_h_max/cosh((membrane_2.V-persistent_sodium_current_h_gate_2.theta_h)/(2*persistent_sodium_current_h_gate_2.sigma_h))); // membrane_2.i_L=(leakage_current_2.g_L*(membrane_2.V-leakage_current_2.E_L)); // membrane_2.i_tonic_e=(tonic_current_2.g_tonic_e*(membrane_2.V-tonic_current_2.E_syn_e)); // membrane_2.i_syn_e=(sum_g_syn_e_s_3*(membrane_2.V-tonic_current_2.E_syn_e)); synaptic_input_2.s_infinity=(1/(1+exp((membrane_2.V-synaptic_input_2.theta_s)/synaptic_input_2.sigma_s))); s3:single_neuron_model3.time=(((1-s3)*synaptic_input_2.s_infinity-(-1)*(synaptic_input_2.kr*s3))/synaptic_input_2.tau_s); V3=membrane_2.V; // // membrane_3.V:single_neuron_model4.time=(((-1)*(membrane_3.i_NaP+membrane_3.i_Na+membrane_3.i_K+membrane_3.i_L+membrane_3.i_tonic_e+membrane_3.i_syn_e)+membrane_3.i_app)/membrane_3.C); // membrane_3.i_Na=(fast_sodium_current_3.g_Na*fast_sodium_current_3.m_infinity^3*(1-fast_sodium_current_3.n)*(membrane_3.V-fast_sodium_current_3.E_Na)); // fast_sodium_current_3.m_infinity=(1/(1+exp((membrane_3.V-fast_sodium_current_m_gate_3.theta_m)/fast_sodium_current_m_gate_3.sigma_m))); // fast_sodium_current_3.n:single_neuron_model4.time=((fast_sodium_current_n_gate_3.n_infinity-fast_sodium_current_3.n)/fast_sodium_current_n_gate_3.tau_n); fast_sodium_current_n_gate_3.n_infinity=(1/(1+exp((membrane_3.V-fast_sodium_current_n_gate_3.theta_n)/fast_sodium_current_n_gate_3.sigma_n))); fast_sodium_current_n_gate_3.tau_n=(fast_sodium_current_n_gate_3.tau_n_max/cosh((membrane_3.V-fast_sodium_current_n_gate_3.theta_n)/(2*fast_sodium_current_n_gate_3.sigma_n))); // membrane_3.i_K=(potassium_current_3.g_K*potassium_current_3.n^4*(membrane_3.V-potassium_current_3.E_K)); // potassium_current_3.n:single_neuron_model4.time=((potassium_current_n_gate_3.n_infinity-potassium_current_3.n)/potassium_current_n_gate_3.tau_n); potassium_current_n_gate_3.n_infinity=(1/(1+exp((membrane_3.V-potassium_current_n_gate_3.theta_n)/potassium_current_n_gate_3.sigma_n))); potassium_current_n_gate_3.tau_n=(potassium_current_n_gate_3.tau_n_max/cosh((membrane_3.V-potassium_current_n_gate_3.theta_n)/(2*potassium_current_n_gate_3.sigma_n))); // membrane_3.i_NaP=(persistent_sodium_current_3.g_NaP*persistent_sodium_current_3.m_infinity*persistent_sodium_current_3.h*(membrane_3.V-fast_sodium_current_3.E_Na)); // persistent_sodium_current_3.m_infinity=(1/(1+exp((membrane_3.V-persistent_sodium_current_m_gate_3.theta_m)/persistent_sodium_current_m_gate_3.sigma_m))); // persistent_sodium_current_3.h:single_neuron_model4.time=((persistent_sodium_current_h_gate_3.h_infinity-persistent_sodium_current_3.h)/persistent_sodium_current_h_gate_3.tau_h); persistent_sodium_current_h_gate_3.h_infinity=(1/(1+exp((membrane_3.V-persistent_sodium_current_h_gate_3.theta_h)/persistent_sodium_current_h_gate_3.sigma_h))); persistent_sodium_current_h_gate_3.tau_h=(persistent_sodium_current_h_gate_3.tau_h_max/cosh((membrane_3.V-persistent_sodium_current_h_gate_3.theta_h)/(2*persistent_sodium_current_h_gate_3.sigma_h))); // membrane_3.i_L=(leakage_current_3.g_L*(membrane_3.V-leakage_current_3.E_L)); // membrane_3.i_tonic_e=(tonic_current_3.g_tonic_e*(membrane_3.V-tonic_current_3.E_syn_e)); // membrane_3.i_syn_e=(sum_g_syn_e_s_4*(membrane_3.V-tonic_current_3.E_syn_e)); synaptic_input_3.s_infinity=(1/(1+exp((membrane_3.V-synaptic_input_3.theta_s)/synaptic_input_3.sigma_s))); s4:single_neuron_model4.time=(((1-s4)*synaptic_input_3.s_infinity-(-1)*(synaptic_input_3.kr*s4))/synaptic_input_3.tau_s); V4=membrane_3.V; // // membrane_4.V:single_neuron_model5.time=(((-1)*(membrane_4.i_NaP+membrane_4.i_Na+membrane_4.i_K+membrane_4.i_L+membrane_4.i_tonic_e+membrane_4.i_syn_e)+membrane_4.i_app)/membrane_4.C); // membrane_4.i_Na=(fast_sodium_current_4.g_Na*fast_sodium_current_4.m_infinity^3*(1-fast_sodium_current_4.n)*(membrane_4.V-fast_sodium_current_4.E_Na)); // fast_sodium_current_4.m_infinity=(1/(1+exp((membrane_4.V-fast_sodium_current_m_gate_4.theta_m)/fast_sodium_current_m_gate_4.sigma_m))); // fast_sodium_current_4.n:single_neuron_model5.time=((fast_sodium_current_n_gate_4.n_infinity-fast_sodium_current_4.n)/fast_sodium_current_n_gate_4.tau_n); fast_sodium_current_n_gate_4.n_infinity=(1/(1+exp((membrane_4.V-fast_sodium_current_n_gate_4.theta_n)/fast_sodium_current_n_gate_4.sigma_n))); fast_sodium_current_n_gate_4.tau_n=(fast_sodium_current_n_gate_4.tau_n_max/cosh((membrane_4.V-fast_sodium_current_n_gate_4.theta_n)/(2*fast_sodium_current_n_gate_4.sigma_n))); // membrane_4.i_K=(potassium_current_4.g_K*potassium_current_4.n^4*(membrane_4.V-potassium_current_4.E_K)); // potassium_current_4.n:single_neuron_model5.time=((potassium_current_n_gate_4.n_infinity-potassium_current_4.n)/potassium_current_n_gate_4.tau_n); potassium_current_n_gate_4.n_infinity=(1/(1+exp((membrane_4.V-potassium_current_n_gate_4.theta_n)/potassium_current_n_gate_4.sigma_n))); potassium_current_n_gate_4.tau_n=(potassium_current_n_gate_4.tau_n_max/cosh((membrane_4.V-potassium_current_n_gate_4.theta_n)/(2*potassium_current_n_gate_4.sigma_n))); // membrane_4.i_NaP=(persistent_sodium_current_4.g_NaP*persistent_sodium_current_4.m_infinity*persistent_sodium_current_4.h*(membrane_4.V-fast_sodium_current_4.E_Na)); // persistent_sodium_current_4.m_infinity=(1/(1+exp((membrane_4.V-persistent_sodium_current_m_gate_4.theta_m)/persistent_sodium_current_m_gate_4.sigma_m))); // persistent_sodium_current_4.h:single_neuron_model5.time=((persistent_sodium_current_h_gate_4.h_infinity-persistent_sodium_current_4.h)/persistent_sodium_current_h_gate_4.tau_h); persistent_sodium_current_h_gate_4.h_infinity=(1/(1+exp((membrane_4.V-persistent_sodium_current_h_gate_4.theta_h)/persistent_sodium_current_h_gate_4.sigma_h))); persistent_sodium_current_h_gate_4.tau_h=(persistent_sodium_current_h_gate_4.tau_h_max/cosh((membrane_4.V-persistent_sodium_current_h_gate_4.theta_h)/(2*persistent_sodium_current_h_gate_4.sigma_h))); // membrane_4.i_L=(leakage_current_4.g_L*(membrane_4.V-leakage_current_4.E_L)); // membrane_4.i_tonic_e=(tonic_current_4.g_tonic_e*(membrane_4.V-tonic_current_4.E_syn_e)); // membrane_4.i_syn_e=(sum_g_syn_e_s_5*(membrane_4.V-tonic_current_4.E_syn_e)); synaptic_input_4.s_infinity=(1/(1+exp((membrane_4.V-synaptic_input_4.theta_s)/synaptic_input_4.sigma_s))); s5:single_neuron_model5.time=(((1-s5)*synaptic_input_4.s_infinity-(-1)*(synaptic_input_4.kr*s5))/synaptic_input_4.tau_s); V5=membrane_4.V; // // membrane_5.V:single_neuron_model6.time=(((-1)*(membrane_5.i_NaP+membrane_5.i_Na+membrane_5.i_K+membrane_5.i_L+membrane_5.i_tonic_e+membrane_5.i_syn_e)+membrane_5.i_app)/membrane_5.C); // membrane_5.i_Na=(fast_sodium_current_5.g_Na*fast_sodium_current_5.m_infinity^3*(1-fast_sodium_current_5.n)*(membrane_5.V-fast_sodium_current_5.E_Na)); // fast_sodium_current_5.m_infinity=(1/(1+exp((membrane_5.V-fast_sodium_current_m_gate_5.theta_m)/fast_sodium_current_m_gate_5.sigma_m))); // fast_sodium_current_5.n:single_neuron_model6.time=((fast_sodium_current_n_gate_5.n_infinity-fast_sodium_current_5.n)/fast_sodium_current_n_gate_5.tau_n); fast_sodium_current_n_gate_5.n_infinity=(1/(1+exp((membrane_5.V-fast_sodium_current_n_gate_5.theta_n)/fast_sodium_current_n_gate_5.sigma_n))); fast_sodium_current_n_gate_5.tau_n=(fast_sodium_current_n_gate_5.tau_n_max/cosh((membrane_5.V-fast_sodium_current_n_gate_5.theta_n)/(2*fast_sodium_current_n_gate_5.sigma_n))); // membrane_5.i_K=(potassium_current_5.g_K*potassium_current_5.n^4*(membrane_5.V-potassium_current_5.E_K)); // potassium_current_5.n:single_neuron_model6.time=((potassium_current_n_gate_5.n_infinity-potassium_current_5.n)/potassium_current_n_gate_5.tau_n); potassium_current_n_gate_5.n_infinity=(1/(1+exp((membrane_5.V-potassium_current_n_gate_5.theta_n)/potassium_current_n_gate_5.sigma_n))); potassium_current_n_gate_5.tau_n=(potassium_current_n_gate_5.tau_n_max/cosh((membrane_5.V-potassium_current_n_gate_5.theta_n)/(2*potassium_current_n_gate_5.sigma_n))); // membrane_5.i_NaP=(persistent_sodium_current_5.g_NaP*persistent_sodium_current_5.m_infinity*persistent_sodium_current_5.h*(membrane_5.V-fast_sodium_current_5.E_Na)); // persistent_sodium_current_5.m_infinity=(1/(1+exp((membrane_5.V-persistent_sodium_current_m_gate_5.theta_m)/persistent_sodium_current_m_gate_5.sigma_m))); // persistent_sodium_current_5.h:single_neuron_model6.time=((persistent_sodium_current_h_gate_5.h_infinity-persistent_sodium_current_5.h)/persistent_sodium_current_h_gate_5.tau_h); persistent_sodium_current_h_gate_5.h_infinity=(1/(1+exp((membrane_5.V-persistent_sodium_current_h_gate_5.theta_h)/persistent_sodium_current_h_gate_5.sigma_h))); persistent_sodium_current_h_gate_5.tau_h=(persistent_sodium_current_h_gate_5.tau_h_max/cosh((membrane_5.V-persistent_sodium_current_h_gate_5.theta_h)/(2*persistent_sodium_current_h_gate_5.sigma_h))); // membrane_5.i_L=(leakage_current_5.g_L*(membrane_5.V-leakage_current_5.E_L)); // membrane_5.i_tonic_e=(tonic_current_5.g_tonic_e*(membrane_5.V-tonic_current_5.E_syn_e)); // membrane_5.i_syn_e=(sum_g_syn_e_s_6*(membrane_5.V-tonic_current_5.E_syn_e)); synaptic_input_5.s_infinity=(1/(1+exp((membrane_5.V-synaptic_input_5.theta_s)/synaptic_input_5.sigma_s))); s6:single_neuron_model6.time=(((1-s6)*synaptic_input_5.s_infinity-(-1)*(synaptic_input_5.kr*s6))/synaptic_input_5.tau_s); V6=membrane_5.V; // // membrane_6.V:single_neuron_model7.time=(((-1)*(membrane_6.i_NaP+membrane_6.i_Na+membrane_6.i_K+membrane_6.i_L+membrane_6.i_tonic_e+membrane_6.i_syn_e)+membrane_6.i_app)/membrane_6.C); // membrane_6.i_Na=(fast_sodium_current_6.g_Na*fast_sodium_current_6.m_infinity^3*(1-fast_sodium_current_6.n)*(membrane_6.V-fast_sodium_current_6.E_Na)); // fast_sodium_current_6.m_infinity=(1/(1+exp((membrane_6.V-fast_sodium_current_m_gate_6.theta_m)/fast_sodium_current_m_gate_6.sigma_m))); // fast_sodium_current_6.n:single_neuron_model7.time=((fast_sodium_current_n_gate_6.n_infinity-fast_sodium_current_6.n)/fast_sodium_current_n_gate_6.tau_n); fast_sodium_current_n_gate_6.n_infinity=(1/(1+exp((membrane_6.V-fast_sodium_current_n_gate_6.theta_n)/fast_sodium_current_n_gate_6.sigma_n))); fast_sodium_current_n_gate_6.tau_n=(fast_sodium_current_n_gate_6.tau_n_max/cosh((membrane_6.V-fast_sodium_current_n_gate_6.theta_n)/(2*fast_sodium_current_n_gate_6.sigma_n))); // membrane_6.i_K=(potassium_current_6.g_K*potassium_current_6.n^4*(membrane_6.V-potassium_current_6.E_K)); // potassium_current_6.n:single_neuron_model7.time=((potassium_current_n_gate_6.n_infinity-potassium_current_6.n)/potassium_current_n_gate_6.tau_n); potassium_current_n_gate_6.n_infinity=(1/(1+exp((membrane_6.V-potassium_current_n_gate_6.theta_n)/potassium_current_n_gate_6.sigma_n))); potassium_current_n_gate_6.tau_n=(potassium_current_n_gate_6.tau_n_max/cosh((membrane_6.V-potassium_current_n_gate_6.theta_n)/(2*potassium_current_n_gate_6.sigma_n))); // membrane_6.i_NaP=(persistent_sodium_current_6.g_NaP*persistent_sodium_current_6.m_infinity*persistent_sodium_current_6.h*(membrane_6.V-fast_sodium_current_6.E_Na)); // persistent_sodium_current_6.m_infinity=(1/(1+exp((membrane_6.V-persistent_sodium_current_m_gate_6.theta_m)/persistent_sodium_current_m_gate_6.sigma_m))); // persistent_sodium_current_6.h:single_neuron_model7.time=((persistent_sodium_current_h_gate_6.h_infinity-persistent_sodium_current_6.h)/persistent_sodium_current_h_gate_6.tau_h); persistent_sodium_current_h_gate_6.h_infinity=(1/(1+exp((membrane_6.V-persistent_sodium_current_h_gate_6.theta_h)/persistent_sodium_current_h_gate_6.sigma_h))); persistent_sodium_current_h_gate_6.tau_h=(persistent_sodium_current_h_gate_6.tau_h_max/cosh((membrane_6.V-persistent_sodium_current_h_gate_6.theta_h)/(2*persistent_sodium_current_h_gate_6.sigma_h))); // membrane_6.i_L=(leakage_current_6.g_L*(membrane_6.V-leakage_current_6.E_L)); // membrane_6.i_tonic_e=(tonic_current_6.g_tonic_e*(membrane_6.V-tonic_current_6.E_syn_e)); // membrane_6.i_syn_e=(sum_g_syn_e_s_7*(membrane_6.V-tonic_current_6.E_syn_e)); synaptic_input_6.s_infinity=(1/(1+exp((membrane_6.V-synaptic_input_6.theta_s)/synaptic_input_6.sigma_s))); s7:single_neuron_model7.time=(((1-s7)*synaptic_input_6.s_infinity-(-1)*(synaptic_input_6.kr*s7))/synaptic_input_6.tau_s); V7=membrane_6.V; // // membrane_7.V:single_neuron_model8.time=(((-1)*(membrane_7.i_NaP+membrane_7.i_Na+membrane_7.i_K+membrane_7.i_L+membrane_7.i_tonic_e+membrane_7.i_syn_e)+membrane_7.i_app)/membrane_7.C); // membrane_7.i_Na=(fast_sodium_current_7.g_Na*fast_sodium_current_7.m_infinity^3*(1-fast_sodium_current_7.n)*(membrane_7.V-fast_sodium_current_7.E_Na)); // fast_sodium_current_7.m_infinity=(1/(1+exp((membrane_7.V-fast_sodium_current_m_gate_7.theta_m)/fast_sodium_current_m_gate_7.sigma_m))); // fast_sodium_current_7.n:single_neuron_model8.time=((fast_sodium_current_n_gate_7.n_infinity-fast_sodium_current_7.n)/fast_sodium_current_n_gate_7.tau_n); fast_sodium_current_n_gate_7.n_infinity=(1/(1+exp((membrane_7.V-fast_sodium_current_n_gate_7.theta_n)/fast_sodium_current_n_gate_7.sigma_n))); fast_sodium_current_n_gate_7.tau_n=(fast_sodium_current_n_gate_7.tau_n_max/cosh((membrane_7.V-fast_sodium_current_n_gate_7.theta_n)/(2*fast_sodium_current_n_gate_7.sigma_n))); // membrane_7.i_K=(potassium_current_7.g_K*potassium_current_7.n^4*(membrane_7.V-potassium_current_7.E_K)); // potassium_current_7.n:single_neuron_model8.time=((potassium_current_n_gate_7.n_infinity-potassium_current_7.n)/potassium_current_n_gate_7.tau_n); potassium_current_n_gate_7.n_infinity=(1/(1+exp((membrane_7.V-potassium_current_n_gate_7.theta_n)/potassium_current_n_gate_7.sigma_n))); potassium_current_n_gate_7.tau_n=(potassium_current_n_gate_7.tau_n_max/cosh((membrane_7.V-potassium_current_n_gate_7.theta_n)/(2*potassium_current_n_gate_7.sigma_n))); // membrane_7.i_NaP=(persistent_sodium_current_7.g_NaP*persistent_sodium_current_7.m_infinity*persistent_sodium_current_7.h*(membrane_7.V-fast_sodium_current_7.E_Na)); // persistent_sodium_current_7.m_infinity=(1/(1+exp((membrane_7.V-persistent_sodium_current_m_gate_7.theta_m)/persistent_sodium_current_m_gate_7.sigma_m))); // persistent_sodium_current_7.h:single_neuron_model8.time=((persistent_sodium_current_h_gate_7.h_infinity-persistent_sodium_current_7.h)/persistent_sodium_current_h_gate_7.tau_h); persistent_sodium_current_h_gate_7.h_infinity=(1/(1+exp((membrane_7.V-persistent_sodium_current_h_gate_7.theta_h)/persistent_sodium_current_h_gate_7.sigma_h))); persistent_sodium_current_h_gate_7.tau_h=(persistent_sodium_current_h_gate_7.tau_h_max/cosh((membrane_7.V-persistent_sodium_current_h_gate_7.theta_h)/(2*persistent_sodium_current_h_gate_7.sigma_h))); // membrane_7.i_L=(leakage_current_7.g_L*(membrane_7.V-leakage_current_7.E_L)); // membrane_7.i_tonic_e=(tonic_current_7.g_tonic_e*(membrane_7.V-tonic_current_7.E_syn_e)); // membrane_7.i_syn_e=(sum_g_syn_e_s_8*(membrane_7.V-tonic_current_7.E_syn_e)); synaptic_input_7.s_infinity=(1/(1+exp((membrane_7.V-synaptic_input_7.theta_s)/synaptic_input_7.sigma_s))); s8:single_neuron_model8.time=(((1-s8)*synaptic_input_7.s_infinity-(-1)*(synaptic_input_7.kr*s8))/synaptic_input_7.tau_s); V8=membrane_7.V; // // membrane_8.V:single_neuron_model9.time=(((-1)*(membrane_8.i_NaP+membrane_8.i_Na+membrane_8.i_K+membrane_8.i_L+membrane_8.i_tonic_e+membrane_8.i_syn_e)+membrane_8.i_app)/membrane_8.C); // membrane_8.i_Na=(fast_sodium_current_8.g_Na*fast_sodium_current_8.m_infinity^3*(1-fast_sodium_current_8.n)*(membrane_8.V-fast_sodium_current_8.E_Na)); // fast_sodium_current_8.m_infinity=(1/(1+exp((membrane_8.V-fast_sodium_current_m_gate_8.theta_m)/fast_sodium_current_m_gate_8.sigma_m))); // fast_sodium_current_8.n:single_neuron_model9.time=((fast_sodium_current_n_gate_8.n_infinity-fast_sodium_current_8.n)/fast_sodium_current_n_gate_8.tau_n); fast_sodium_current_n_gate_8.n_infinity=(1/(1+exp((membrane_8.V-fast_sodium_current_n_gate_8.theta_n)/fast_sodium_current_n_gate_8.sigma_n))); fast_sodium_current_n_gate_8.tau_n=(fast_sodium_current_n_gate_8.tau_n_max/cosh((membrane_8.V-fast_sodium_current_n_gate_8.theta_n)/(2*fast_sodium_current_n_gate_8.sigma_n))); // membrane_8.i_K=(potassium_current_8.g_K*potassium_current_8.n^4*(membrane_8.V-potassium_current_8.E_K)); // potassium_current_8.n:single_neuron_model9.time=((potassium_current_n_gate_8.n_infinity-potassium_current_8.n)/potassium_current_n_gate_8.tau_n); potassium_current_n_gate_8.n_infinity=(1/(1+exp((membrane_8.V-potassium_current_n_gate_8.theta_n)/potassium_current_n_gate_8.sigma_n))); potassium_current_n_gate_8.tau_n=(potassium_current_n_gate_8.tau_n_max/cosh((membrane_8.V-potassium_current_n_gate_8.theta_n)/(2*potassium_current_n_gate_8.sigma_n))); // membrane_8.i_NaP=(persistent_sodium_current_8.g_NaP*persistent_sodium_current_8.m_infinity*persistent_sodium_current_8.h*(membrane_8.V-fast_sodium_current_8.E_Na)); // persistent_sodium_current_8.m_infinity=(1/(1+exp((membrane_8.V-persistent_sodium_current_m_gate_8.theta_m)/persistent_sodium_current_m_gate_8.sigma_m))); // persistent_sodium_current_8.h:single_neuron_model9.time=((persistent_sodium_current_h_gate_8.h_infinity-persistent_sodium_current_8.h)/persistent_sodium_current_h_gate_8.tau_h); persistent_sodium_current_h_gate_8.h_infinity=(1/(1+exp((membrane_8.V-persistent_sodium_current_h_gate_8.theta_h)/persistent_sodium_current_h_gate_8.sigma_h))); persistent_sodium_current_h_gate_8.tau_h=(persistent_sodium_current_h_gate_8.tau_h_max/cosh((membrane_8.V-persistent_sodium_current_h_gate_8.theta_h)/(2*persistent_sodium_current_h_gate_8.sigma_h))); // membrane_8.i_L=(leakage_current_8.g_L*(membrane_8.V-leakage_current_8.E_L)); // membrane_8.i_tonic_e=(tonic_current_8.g_tonic_e*(membrane_8.V-tonic_current_8.E_syn_e)); // membrane_8.i_syn_e=(sum_g_syn_e_s_9*(membrane_8.V-tonic_current_8.E_syn_e)); synaptic_input_8.s_infinity=(1/(1+exp((membrane_8.V-synaptic_input_8.theta_s)/synaptic_input_8.sigma_s))); s9:single_neuron_model9.time=(((1-s9)*synaptic_input_8.s_infinity-(-1)*(synaptic_input_8.kr*s9))/synaptic_input_8.tau_s); V9=membrane_8.V; // // membrane_9.V:single_neuron_model10.time=(((-1)*(membrane_9.i_NaP+membrane_9.i_Na+membrane_9.i_K+membrane_9.i_L+membrane_9.i_tonic_e+membrane_9.i_syn_e)+membrane_9.i_app)/membrane_9.C); // membrane_9.i_Na=(fast_sodium_current_9.g_Na*fast_sodium_current_9.m_infinity^3*(1-fast_sodium_current_9.n)*(membrane_9.V-fast_sodium_current_9.E_Na)); // fast_sodium_current_9.m_infinity=(1/(1+exp((membrane_9.V-fast_sodium_current_m_gate_9.theta_m)/fast_sodium_current_m_gate_9.sigma_m))); // fast_sodium_current_9.n:single_neuron_model10.time=((fast_sodium_current_n_gate_9.n_infinity-fast_sodium_current_9.n)/fast_sodium_current_n_gate_9.tau_n); fast_sodium_current_n_gate_9.n_infinity=(1/(1+exp((membrane_9.V-fast_sodium_current_n_gate_9.theta_n)/fast_sodium_current_n_gate_9.sigma_n))); fast_sodium_current_n_gate_9.tau_n=(fast_sodium_current_n_gate_9.tau_n_max/cosh((membrane_9.V-fast_sodium_current_n_gate_9.theta_n)/(2*fast_sodium_current_n_gate_9.sigma_n))); // membrane_9.i_K=(potassium_current_9.g_K*potassium_current_9.n^4*(membrane_9.V-potassium_current_9.E_K)); // potassium_current_9.n:single_neuron_model10.time=((potassium_current_n_gate_9.n_infinity-potassium_current_9.n)/potassium_current_n_gate_9.tau_n); potassium_current_n_gate_9.n_infinity=(1/(1+exp((membrane_9.V-potassium_current_n_gate_9.theta_n)/potassium_current_n_gate_9.sigma_n))); potassium_current_n_gate_9.tau_n=(potassium_current_n_gate_9.tau_n_max/cosh((membrane_9.V-potassium_current_n_gate_9.theta_n)/(2*potassium_current_n_gate_9.sigma_n))); // membrane_9.i_NaP=(persistent_sodium_current_9.g_NaP*persistent_sodium_current_9.m_infinity*persistent_sodium_current_9.h*(membrane_9.V-fast_sodium_current_9.E_Na)); // persistent_sodium_current_9.m_infinity=(1/(1+exp((membrane_9.V-persistent_sodium_current_m_gate_9.theta_m)/persistent_sodium_current_m_gate_9.sigma_m))); // persistent_sodium_current_9.h:single_neuron_model10.time=((persistent_sodium_current_h_gate_9.h_infinity-persistent_sodium_current_9.h)/persistent_sodium_current_h_gate_9.tau_h); persistent_sodium_current_h_gate_9.h_infinity=(1/(1+exp((membrane_9.V-persistent_sodium_current_h_gate_9.theta_h)/persistent_sodium_current_h_gate_9.sigma_h))); persistent_sodium_current_h_gate_9.tau_h=(persistent_sodium_current_h_gate_9.tau_h_max/cosh((membrane_9.V-persistent_sodium_current_h_gate_9.theta_h)/(2*persistent_sodium_current_h_gate_9.sigma_h))); // membrane_9.i_L=(leakage_current_9.g_L*(membrane_9.V-leakage_current_9.E_L)); // membrane_9.i_tonic_e=(tonic_current_9.g_tonic_e*(membrane_9.V-tonic_current_9.E_syn_e)); // membrane_9.i_syn_e=(sum_g_syn_e_s_10*(membrane_9.V-tonic_current_9.E_syn_e)); synaptic_input_9.s_infinity=(1/(1+exp((membrane_9.V-synaptic_input_9.theta_s)/synaptic_input_9.sigma_s))); s10:single_neuron_model10.time=(((1-s10)*synaptic_input_9.s_infinity-(-1)*(synaptic_input_9.kr*s10))/synaptic_input_9.tau_s); V10=membrane_9.V; }