From 57c8bea738990b9cd5efcfbc081249025fa5d608 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 2 Nov 2016 19:50:13 -0700 Subject: push more variable metadata into the model file --- examples/classic_gravitation/model.modelica | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/classic_gravitation') 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; -- cgit v1.2.3