Using a circuit from one file in another

4 Ansichten (letzte 30 Tage)
N
N am 21 Sep. 2022
I created a ciruit using Simscape electrical components (Circuit 1). I would like to incorporate the output of Circuit 1 as an input to Circuit 2 which is in a different file.
  1. How can I import Circuit 1 into the file that has Circuit 2? Keep in mind I also need to extend the output from Circuit 1 to use as input to Circuit 2.
  2. Can I shink the size of Circuit 1? If so, how?
Thanks!

Antworten (1)

Abhi Shankar Abhinav
Abhi Shankar Abhinav am 28 Sep. 2022
Hi,
Its possible to have multiple simscape networks in the same simulink model. In that case we can use Simulink to manually connect the individual networks, while avoiding creating an algebraic loop. Though, it would be good to understand why you want to model the two circuits as seperate networks if they are electrically coupled.
One use case to split the network would be to reduce the computational time for a single large network. But, this needs to be done carefully.
Please share the models or screenshots of the network for further insight.
Regards

Kategorien

Mehr zu Composite Components finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by