Linear DC-Motor as a compound-object, using basic SimScape-Foundation Elements:

2 views (last 30 days)
Hello everyone,
I have a linear DC- Motor electric model in simscape with the connections equations written already.
I didn' reall understood why the connections are written in this way, that's why I would appriciate it if anyone can explain to me the answer, the question and answer will be attached here.
Thank you in advance.

Answers (1)

Sabin
Sabin on 11 Aug 2025
You have a bunch of components that you need to connect. Simscape language allow us to connect the components in this way. Looking at the diagram we can see that the positive terminal is connected to the positive terminal of the resistor and therefore we say ‘connect(p, Ra.p)’. Then the other end of the resistor (negative terminal) is connected to the inductor, and we have ‘connect(Ra.n,La.p)’. Similarly for the remaining components until we complete the circuit.
Using subsystem2ssc function we can directly convert a subsystem containing Simscape blocks into equivalent Simscape file or files.

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!