Connecting simElectronic blocks -- get red dotted line

6 次查看(过去 30 天)
Let me say up front - I'm a newbie.
When I connect many components in my circuit (e.g. resistor), instead of a solid black line, I get a red dotted line and the simulator tells me my components are unconnected.
What am I doing wrong?

回答(6 个)

Kaustubha Govind
Kaustubha Govind 2011-7-31
You are making connections between components that are not allowed to be connected directly. The documentation linked in the above answer will have more information.
  3 个评论
Walter Roberson
Walter Roberson 2019-9-23
the answers from this member are not relevant. Infact the links in the answers are the same questions where the member replied any other link and it goes on to no where...
Walter Roberson
Walter Roberson 2019-9-23
Adil Abdul Qayyum: we do not make any requirement here in Mathworks Answers that every question must be answered with a quotation of the material or at least a link to a primary source. It is common that people ask questions that have already been answered, and it is acceptable that the volunteers reply with a link to where the material was already explained.
It is true that the link in that other Answer no longer leads to live documentation, but it did when Kaustubha posted her response in 2011. We do not make any requirement here in Mathworks Answers that everyone who posts a documentation link must chase through the links and update them as the target material moves. You could consider using Internet Archive's "Wayback Machine" to see previous versions of that documentation at the link.
Meanwhile, I did a brief search and updated the other Answer with two links to relevant material. You can look there to see it; I do not need to quote it here.

请先登录,再进行评论。


Arnaud Miege
Arnaud Miege 2011-8-1
You can't directly connect SimElectronics blocks to SimPowerSystems blocks. Have a look at these various threads and questions on the same topic:
HTH,
Arnaud

Stephen
Stephen 2011-7-31
Thanks Kaustubha.
However, the "Interfacing the Electrical Circuit with Other Simulink Blocks" section (that you referenced in the link you provided) mentions that there is a problem when you connect > (angle Simulink) ports with square SimPowerSystems ports. I have a problem connecting square ports to square ports. Is the problem that I am connecting a resistor from SimElectronics to a linear transformer from SimPower systems? If so, can connect components from the two different Simulink products, and how?

geokim
geokim 2012-1-9
hello,I've read all these articles on how to connect blocks from different libraries,but stil I haven't found any solution.My problem is connecting a PMW converter (from SimPowerSystems) to the gate of an n-channel IGBT (from SimElectonics ).
  2 个评论
Bruce Davis
Bruce Davis 2014-6-19
geokim,
You are correct. The problem is that all the PhDs at Mathworks could not make a decent schematic capture program. I've used PSpice, SABER, LTspice, etc and all of their schematic capture systems work well. Simscape's schematic capture is extremely poor. I've never seen one that comes even close to being that bad.

请先登录,再进行评论。


Mark Fanslow
Mark Fanslow 2016-7-27
I opened the power_breaker example from the SimPowerSystems library and tried to connect a voltage Measurement block across a resistor. When I tried to connect by dragging a connection from the Voltage measurement block to the resistor node I got the dotted red lines, no connection. I tried again by deleting the lines connecting the resistor nodes to the circuit and putting the voltage measurement block in place of the resistor - Successful black connections - I then reconnected the resistor in parallel with the voltage measurement block - Successful black line connections - go figure.

sharanu prasad posti
Try adding (ps-simulink converter) or (simulink-ps converter).
The components you are trying to connect maybe are from different library. so try the above method

标签

Community Treasure Hunt

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

Start Hunting!

Translated by