aboutsummaryrefslogtreecommitdiffstats
path: root/examples/classic_gravitation
diff options
context:
space:
mode:
Diffstat (limited to 'examples/classic_gravitation')
-rw-r--r--examples/classic_gravitation/model.modelica6
1 files changed, 3 insertions, 3 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;