//Created by libAntimony v2.4 model butera_1999__environment(time_) // Variable initializations: time_ = ; end model butera_1999__membrane(V, time_, i_NaP, i_Na, i_K, i_KS, i_L, i_tonic_e) // Rate Rules: V' = (-(i_NaP + i_KS + i_Na + i_K + i_L + i_tonic_e) + i_app) / C; // Variable initializations: V = -55.0; C = 21.0; i_app = 0.0; time_ = ; i_NaP = ; i_Na = ; i_K = ; i_KS = ; i_L = ; i_tonic_e = ; end model butera_1999__fast_sodium_current_m_gate(m_infinity, V) // Assignment Rules: m_infinity := 1.0 / (1.0 + exp((V - theta_m) / sigma_m)); // Variable initializations: theta_m = -34.0; sigma_m = -5.0; V = ; end model butera_1999__fast_sodium_current_n_gate(n, V, time_) // Assignment Rules: n_infinity := 1.0 / (1.0 + exp((V - theta_n) / sigma_n)); tau_n := tau_n_max / cosh((V - theta_n) / (2.0 * sigma_n)); // Rate Rules: n' = (n_infinity - n) / tau_n; // Variable initializations: n = 0.01; tau_n_max = 10.0; theta_n = -29.0; sigma_n = -4.0; V = ; time_ = ; end model butera_1999__fast_sodium_current(i_Na, E_Na, time_, V, m_infinity, n) // Sub-modules, and any changes to those submodules: fast_sodium_current_m_gate: butera_1999__fast_sodium_current_m_gate(m_infinity, V); fast_sodium_current_n_gate: butera_1999__fast_sodium_current_n_gate(n, V, time_); // Assignment Rules: i_Na := g_Na * power(m_infinity, 3.0) * (1.0 - n) * (V - E_Na); // Variable initializations: E_Na = 50.0; g_Na = 28.0; end model butera_1999__potassium_current_n_gate(n, V, time_) // Assignment Rules: n_infinity := 1.0 / (1.0 + exp((V - theta_n) / sigma_n)); tau_n := tau_n_max / cosh((V - theta_n) / (2.0 * sigma_n)); // Rate Rules: n' = (n_infinity - n) / tau_n; // Variable initializations: n = 0.01; tau_n_max = 10.0; theta_n = -29.0; sigma_n = -4.0; V = ; time_ = ; end model butera_1999__potassium_current(i_K, E_K, time_, V, n) // Sub-modules, and any changes to those submodules: potassium_current_n_gate: butera_1999__potassium_current_n_gate(n, V, time_); // Assignment Rules: i_K := g_K * power(n, 4.0) * (V - E_K); // Variable initializations: E_K = -85.0; g_K = 11.2; end model butera_1999__slow_potassium_current_k_gate(k, V, time_) // Assignment Rules: k_infinity := 1.0 / (1.0 + exp((V - theta_k) / sigma_k)); tau_k := tau_k_max / cosh((V - theta_k) / (2.0 * sigma_k)); // Rate Rules: k' = (k_infinity - k) / tau_k; // Variable initializations: k = 0.22; tau_k_max = 10000.0; theta_k = -38.0; sigma_k = -6.0; V = ; time_ = ; end model butera_1999__slow_potassium_current(i_KS, E_K, time_, V, k) // Sub-modules, and any changes to those submodules: slow_potassium_current_k_gate: butera_1999__slow_potassium_current_k_gate(k, V, time_); // Assignment Rules: i_KS := g_KS * k * (V - E_K); // Variable initializations: g_KS = 5.6; E_K = ; end model butera_1999__persistent_sodium_current_m_gate(m_infinity, V) // Assignment Rules: m_infinity := 1.0 / (1.0 + exp((V - theta_m) / sigma_m)); // Variable initializations: theta_m = -40.0; sigma_m = -6.0; V = ; end model butera_1999__persistent_sodium_current(i_NaP, time_, V, E_Na, m_infinity) // Sub-modules, and any changes to those submodules: persistent_sodium_current_m_gate: butera_1999__persistent_sodium_current_m_gate(m_infinity, V); // Assignment Rules: i_NaP := g_NaP * m_infinity * (V - E_Na); // Variable initializations: g_NaP = 2.8; time_ = ; E_Na = ; end model butera_1999__leakage_current(i_L, V) // Assignment Rules: i_L := g_L * (V - E_L); // Variable initializations: g_L = 2.8; E_L = -50.0; V = ; end model butera_1999__tonic_current(i_tonic_e, V) // Assignment Rules: i_tonic_e := g_tonic_e * (V - E_syn_e); // Variable initializations: g_tonic_e = 0.0; E_syn_e = 0.0; V = ; end model *butera_1999____main() // Sub-modules, and any changes to those submodules: environment: butera_1999__environment(time_); membrane: butera_1999__membrane(V, time_, i_NaP, i_Na, i_K, i_KS, i_L, i_tonic_e); fast_sodium_current: butera_1999__fast_sodium_current(i_Na, E_Na, time_, V, m_infinity, n); potassium_current: butera_1999__potassium_current(i_K, E_K, time_, V, n0); slow_potassium_current: butera_1999__slow_potassium_current(i_KS, E_K, time_, V, k); persistent_sodium_current: butera_1999__persistent_sodium_current(i_NaP, time_, V, E_Na, m_infinity0); leakage_current: butera_1999__leakage_current(i_L, V); tonic_current: butera_1999__tonic_current(i_tonic_e, V); end