Using a circuit from one file in another

조회 수: 4 (최근 30일)
N
N 2022년 9월 21일
답변: Abhi Shankar Abhinav 2022년 9월 28일
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!

답변 (1개)

Abhi Shankar Abhinav
Abhi Shankar Abhinav 2022년 9월 28일
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

카테고리

Help CenterFile Exchange에서 Simscape Electrical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by