diff options
author | bnewbold <bnewbold@robocracy.org> | 2017-01-14 19:48:00 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2017-01-14 19:52:56 -0800 |
commit | d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c (patch) | |
tree | ba30575640f59f171d734a45cda1efee6175e8a7 | |
parent | 0306854192ba35861d2365a00f080e1f7710e03b (diff) | |
download | modelthing-d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c.tar.gz modelthing-d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c.zip |
fix examples (mostly latex symbols)
-rw-r--r-- | examples/classic_gravitation/model.modelica | 6 | ||||
-rw-r--r-- | examples/hodgkin_huxley/model.modelica | 12 | ||||
-rw-r--r-- | examples/hodgkin_huxley/page.md | 0 |
3 files changed, 9 insertions, 9 deletions
diff --git a/examples/classic_gravitation/model.modelica b/examples/classic_gravitation/model.modelica index 7d5d327..b12bdd9 100644 --- a/examples/classic_gravitation/model.modelica +++ b/examples/classic_gravitation/model.modelica @@ -1,10 +1,10 @@ model ClassicGravitation "Newtonian" parameter Real G=6.674e-11 "Gravitational Constant"; - Real m1(unit="kilogram") "mass #1"; - Real m2(unit="kilogram") "mass #2"; + Real m_1(unit="kilogram") "mass #1"; + Real m_2(unit="kilogram") "mass #2"; Real r(unit="meter") "radius"; Real F "force"; equation - F = (G * m1 * m2) / (r^2); + F = (G * m_1 * m_2) / (r^2); end ClassicGravitation; 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 |