Creating "referenced model" that contains physical modeling connection ports
이전 댓글 표시
I am creating a model for the simulation of an electrical three phase system. The main-model is supposed to include a subsystem that calls another referenced model. As long as only Simulink-Signals cross the reference borders, this works fine. But I also need physical electrical signals to cross these borders, which does not not seem to be possible.
As a first solution, I tried to work with a current/voltage source at each side of the border which is controlled by a voltage/current measurement-block at the corresponding opposite side of the reference border. Different errors that came up subsequently I could get solved. But right now the model is running quite unstable. As the main model and the referenced model are running in two different time steps, the simulation crashes, as soon as the electrical values change too quick respectively the dynamic of the model states is too high.
Does anyone have any experience with this issue or dealt with a similar model and can help me with that?
Thank you very much in advance!
Best regards, Robin
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Get Started with Simscape Electrical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!