aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hodgkin_huxley
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hodgkin_huxley')
-rw-r--r--examples/hodgkin_huxley/model.modelica12
-rw-r--r--examples/hodgkin_huxley/page.md0
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/hodgkin_huxley/model.modelica b/examples/hodgkin_huxley/model.modelica
index 532bdac..782cb20 100644
--- a/examples/hodgkin_huxley/model.modelica
+++ b/examples/hodgkin_huxley/model.modelica
@@ -9,16 +9,16 @@ model HodgkinHuxley
parameter Real V_lk =-49.387 "leakage";
Real n;
Real alpha_n;
- Real Beta_n;
+ Real beta_n;
Real m;
Real alpha_m;
- Real Beta_m;
+ Real beta_m;
Real h;
Real alpha_h;
- Real Beta_h;
+ Real beta_h;
equation
C * der(V_m) = - G_Na * (Vm - E_Na) - G_K * (V_m - E_K) - G_lk * (V_m - V_lk);
- der(n) = - (alpha_n + Beta_n) * n + alpha_n;
- der(m) = - (alpha_m + Beta_m) * m + alpha_m;
- der(h) = - (alpha_h + Beta_h) * h + alpha_h;
+ der(n) = - (alpha_n + beta_n) * n + alpha_n;
+ der(m) = - (alpha_m + beta_m) * m + alpha_m;
+ der(h) = - (alpha_h + beta_h) * h + alpha_h;
end HodgkinHuxley;
diff --git a/examples/hodgkin_huxley/page.md b/examples/hodgkin_huxley/page.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/hodgkin_huxley/page.md