Connecting simElectronic blocks -- get red dotted line

6 visualizaciones (últimos 30 días)
Stephen
Stephen el 31 de Jul. de 2011
Comentada: Walter Roberson el 16 de En. de 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?

Respuestas (6)

Kaustubha Govind
Kaustubha Govind el 31 de Jul. de 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 comentarios
Walter Roberson
Walter Roberson el 23 de Sept. de 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 el 23 de Sept. de 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.

Iniciar sesión para comentar.


Arnaud Miege
Arnaud Miege el 1 de Ag. de 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 el 31 de Jul. de 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 el 9 de En. de 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 comentarios
Bruce Davis
Bruce Davis el 19 de Jun. de 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 el 9 de Jul. de 2018
There is a IGBT for SimPowerSystems also

Iniciar sesión para comentar.


Mark Fanslow
Mark Fanslow el 27 de Jul. de 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 el 24 de Nov. de 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

Categorías

Más información sobre Simscape Electrical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by