Translational Displacement drifting from sine wave velocity input

4 views (last 30 days)
Hello, I have a sine wave input connected to port S of an Ideal Translational Velocity Source, Port C is connected to ground, and port R to a Translational Mechanical Converter. Instead of the displacement at Port R being a constant sine wave, the displacement value gradually drifts over time. Does anyone know why or how to stop it?
Edit: Couldnt put more tags or the product in: If I try to put Simulink as the product and add a tag, the site crashes.
  1 Comment
Nachiket Bapat
Nachiket Bapat on 23 Feb 2021
Edited: Nachiket Bapat on 23 Feb 2021
need to change the simulation solver from variable step to fixed step. Mention step size 1e-3

Sign in to comment.

Answers (0)

Categories

Find more on Modeling Fundamentals and Processes in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!