limit restoring mooring yaw
@@ -649,6 +649,8 @@ class FloatingForces(generator_interface.BaseGenerator):
# Yaw moment generated by the mooring system
yaw = np.array([self.q[data.ts, 3], 0., 0.])
+ if np.abs(yaw[0]) < 1.*deg2rad:
+ yaw[0] = 0.
mooring_yaw = -self.floating_data['mooring']['yaw_spring_stif']*yaw
struct_tstep.runtime_generated_forces[self.mooring_node, 3:6] += np.dot(cbg,
mooring_yaw)
