Is there a switch for simsacpe mechanical components? How to connect or disconnect certain simscape components on the fly

Hi,
I would like to simulate a scenerio that the mechanical system speed is initially fixed to certain speed. After certain designated time period, I would like to disconnect the ideal velocity source and switch to ideal torque source.
I cannot find any block to do so. There is no "MOSFET", "IGBT" type device in mechanical simscape libary.

Answers (1)

Hey, you might find the following blocks helpful:
  1. Manual Switch: https://www.mathworks.com/help/simulink/slref/manualswitch.html
  2. Switch: https://www.mathworks.com/help/simscape/ref/switch.html
  3. PS Switch: https://www.mathworks.com/help/simscape/ref/psswitch.html
If the above blocks do not satisfy your use case, you can take a look at the following page containing a list of route signal blocks:
  1. https://www.mathworks.com/help/simulink/signal-routing.html
Hope this helps!

1 Comment

Thank you so much!
I figured out. The simscape driveline toolbox has "clutch" part that can be used to connect and disconnect mechanical parts.
Logic-Controlled Clutch
https://www.mathworks.com/help/sdl/ref/logiccontrolledclutch.html

Sign in to comment.

Asked:

Z Z
on 10 Jun 2024

Edited:

Z Z
on 16 Jun 2024

Community Treasure Hunt

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

Start Hunting!