Connecting simElectronic blocks -- get red dotted line

8 vues (au cours des 30 derniers jours)
Stephen
Stephen le 31 Juil 2011
Commenté : Walter Roberson le 16 Jan 2022
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?

Réponses (6)

Kaustubha Govind
Kaustubha Govind le 31 Juil 2011
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 commentaires
Walter Roberson
Walter Roberson le 23 Sep 2019
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 le 23 Sep 2019
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.

Connectez-vous pour commenter.


Arnaud Miege
Arnaud Miege le 1 Août 2011
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 le 31 Juil 2011
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 le 9 Jan 2012
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 commentaires
Bruce Davis
Bruce Davis le 19 Juin 2014
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.
Rohan Sheelvant
Rohan Sheelvant le 9 Juil 2018
There is a IGBT for SimPowerSystems also

Connectez-vous pour commenter.


Mark Fanslow
Mark Fanslow le 27 Juil 2016
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
sharanu prasad posti le 24 Nov 2020
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

Catégories

En savoir plus sur Simscape Electrical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by