File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ PartialCompliant = Model(
6161# Linear 1D rotational spring
6262Spring = PartialCompliant | Model (
6363 c = 1.0 u " N*m/rad" , # (min = 0, info = "Spring constant")
64- phi_rel0 = 0 u " rad" , # (info = "Unstretched spring angle")
64+ phi_rel0 = 0. 0u " rad" , # (info = "Unstretched spring angle")
6565 equations = :[
6666 tau = c * (phi_rel - phi_rel0) ]
6767)
@@ -70,7 +70,7 @@ Spring = PartialCompliant | Model(
7070SpringDamper = PartialCompliant | Model (
7171 c = 1.0 * u " N*m/rad" , # (min = 0, info = "Spring constant")
7272 d = 0.0 u " N*m*s/rad" , # (info = "Damping constant")
73- phi_rel0 = 0 u " rad" , # (info = "Unstretched spring angle")
73+ phi_rel0 = 0. 0u " rad" , # (info = "Unstretched spring angle")
7474 equations = :[
7575 tau = c * (phi_rel - phi_rel0) + d * der (phi_rel) ]
7676)
You can’t perform that action at this time.
0 commit comments