Simscape - Custom component with Frame Port

1 次查看(过去 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 CenterFile Exchange 中查找有关 Foundation and Custom Domains 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by