aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hodgkin_huxley
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-01-14 19:48:00 -0800
committerbnewbold <bnewbold@robocracy.org>2017-01-14 19:52:56 -0800
commitd92d04a49f2e64eb362b3ac3be5a82771c4bcd7c (patch)
treeba30575640f59f171d734a45cda1efee6175e8a7 /examples/hodgkin_huxley
parent0306854192ba35861d2365a00f080e1f7710e03b (diff)
downloadmodelthing-d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c.tar.gz
modelthing-d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c.zip
fix examples (mostly latex symbols)
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