Simscape - Custom component with Frame Port

1 回表示 (過去 30 日間)
Boris Blagojevic
Boris Blagojevic 2020 年 6 月 12 日
回答済み: Juan Sagarduy 2020 年 10 月 30 日
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

回答 (1 件)

Juan Sagarduy
Juan Sagarduy 2020 年 10 月 30 日
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

カテゴリ

Help Center および File ExchangeFoundation and Custom Domains についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by