Skip to content

Commit a8a577a

Browse files
author
Michael Tiller
committed
Merge pull request #117 from tbeu/patch-8
Fix damping term
2 parents e969b81 + 4b8e243 commit a8a577a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ModelicaByExample/PackageExamples/SecondOrderSystem.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ equation
2525
omega1 = der(phi1);
2626
omega2 = der(phi2);
2727
J1*der(omega1) = k1*(phi2-phi1)+d1*der(phi2-phi1);
28-
J2*der(omega2) = k1*(phi1-phi2)+d1*der(phi1-phi2)-k2*phi2-d1*der(phi2);
28+
J2*der(omega2) = k1*(phi1-phi2)+d1*der(phi1-phi2)-k2*phi2-d2*der(phi2);
2929
end SecondOrderSystem;

0 commit comments

Comments
 (0)