Skip to content

Commit fae3980

Browse files
committed
Fix units
1 parent 024d99d commit fae3980

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ModelicaByExample/DiscreteBehavior/Backlash/Backlash.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ within ModelicaByExample.DiscreteBehavior.Backlash;
22
model Backlash "Implementing the behavior of a backlash using a 'stiff spring'"
33
type Angle=Real(unit="rad");
44
type AngularVelocity=Real(unit="rad/s");
5-
type Inertia=Real(unit="N.s2/rad2");
6-
type Stiffness=Real(unit="N/rad");
7-
type Damping=Real(unit="N.s/rad");
5+
type Inertia=Real(unit="kg.m2");
6+
type Stiffness=Real(unit="N.m/rad");
7+
type Damping=Real(unit="N.m.s/rad");
88
parameter Angle phi1_init = 0;
99
parameter Angle phi2_init = 0;
1010
parameter AngularVelocity omega1_init = 5;

0 commit comments

Comments
 (0)