Simscape - Custom component with Frame Port

1 Ansicht (letzte 30 Tage)
Boris Blagojevic
Boris Blagojevic am 12 Jun. 2020
Beantwortet: Juan Sagarduy am 30 Okt. 2020
Greetings,
i noticed that various blocks in Simscape have a Port corresponding to a Coordinate Frame - like all the Solid Blocks. For my task, i want to implement a custom component which also has Frame Ports. I struggle to write this Frame Ports in Simscape language - both the foundation.mechanical.translational.translational / .rotational.rotational domains won't work for obvious reasons. Changing the whole model to either of the domains is not feasible.
Could someone give me a hint on how to code Frame Ports in Simscape?
Best Regards
BB

Antworten (1)

Juan Sagarduy
Juan Sagarduy am 30 Okt. 2020
Hi Boris
What you are trying to achieve can only be done by creating a domain consisting of a vector of across variables w and v and a vector of through variables t and f. This is what Multibody does, and is convenient to use it to save engineering effort. It is complex to even consider doing this, easiest is to start with a 3D translational domain.
Regards / Juan

Kategorien

Mehr zu Foundation and Custom Domains finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by