diff options
Diffstat (limited to 'examples/classic_gravitation/model.modelica')
-rw-r--r-- | examples/classic_gravitation/model.modelica | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/classic_gravitation/model.modelica b/examples/classic_gravitation/model.modelica index 3abb6e1..e0f7b60 100644 --- a/examples/classic_gravitation/model.modelica +++ b/examples/classic_gravitation/model.modelica @@ -1,9 +1,9 @@ model ClassicGravitation - parameter Real G=6.674e-11 "Gravitational Constant"; - Real m1 "mass #1"; - Real m2 "mass #2"; - Real r "radius"; - Real F "force"; + parameter Real G=6.674e-11 "Gravitational Constant"; + Real m1(unit="kilogram") "mass #1"; + Real m2(unit="kilogram") "mass #2"; + Real r(unit="meter") "radius"; + Real F "force"; equation F = (G * m1 * m2) / (r^2); end ClassicGravitation; |