Simscape - Custom component with Frame Port

1 visualizzazione (ultimi 30 giorni)
Boris Blagojevic
Boris Blagojevic il 12 Giu 2020
Risposto: Juan Sagarduy il 30 Ott 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

Risposte (1)

Juan Sagarduy
Juan Sagarduy il 30 Ott 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

Categorie

Scopri di più su Foundation and Custom Domains in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by