How can i connect physical ports from one subsystem to another

6 次查看(过去 30 天)
Hello everyone,
I'm having some problems connecting physical signal ports (Simscape) from one subsystem to the next one. I'm dragging the connection line form port to port, but the connection doesn't appear. The line stays dashed red.
I'm a beginner in Simscape
Thanks in advance for any kind of help
Cattura_1.PNG
  2 个评论
Priyanshu Mishra
Priyanshu Mishra 2019-10-9
编辑:Priyanshu Mishra 2019-10-9
Hi Matteo,
Can you provide the slx file that you are using. It would be more clear to us where the problem is as we are not sure about the blocks that you are using.
Matteo  Costarelli
Matteo Costarelli 2019-10-12
Problem solved: by the way, in the subsystem on the left I'm using Simscape Power Source blocks while in the one the right I'm using Simscape Electrical Blocks, so I just added V-I Voltage to current Simscape Interface (gnd).

请先登录,再进行评论。

采纳的回答

Joel Van Sickel
Joel Van Sickel 2020-8-18
Hello Matteo,
you've already found the interface blocks that allow you to connect the two electrical simulation technologies. While this can work, in general, the ideal solver for one technology is not the ideal solver for the other. For this reason, we recommend picking one technology, and modelling your full system with that to get better simulation performance and more accurate results. The Interfaces add some delay/filtering which can impace simulation results if not used correctly. For and inverter and BLDC control, both technologies offer equivalent models that would work well. If you provide some specifics about the main goals of your model, I might be able to recommend one over the other. To help with terminology, the black outline blocks are called specizlied power systems, while the blue blocks are simscape. It's confusing since both are inside the simscape electrical toolbox, but the specizlied power systems blocks actually use simulink underneath the hood, which is why they do not need a solver configuraiton.
Regards,
Joel

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Foundation and Custom Domains 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by