Date: Mar 12, 2013 12:35 PM
Author: pietro
Subject: simmechanics: ground excited model

Hi all, 

I'm just trying to develop a ground excited model of single degree of freedom model. The excitation is in terms of displacement. Here you can see the model.

I get a huge spike of the body acceleration in the beginning of the simulation. The problem arises from the double integration of the displacement, i.e. the sine wave block. Infact after the first derivative a discontinuity of the first derived signal, as you can see in this plot:

the purple signal is the one of the sine wave block output and the yellow one is of the first derivative block output. As you can see there is the discontinuity. How could I fix this problem?