Simscape - Custom component with Frame Port
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Juan Sagarduy
on 30 Oct 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
0 Comments
See Also
Categories
Find more on Foundation and Custom Domains in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!