Using Input/Output Nodes into sub-diagrams

7 visualizaciones (últimos 30 días)
Don
Don el 11 de Sept. de 2013
Hi all,
I'm newish to matlab, used it extensively in school but not simulink. Wanted to ask about the input and output nodes.
I'm building a 3 phase rectifier, just 6 diodes and I'd like to make it a sub component I can just call at several places. (Forgive me for butchering the nomenclature, all of these block based programs call these things different).
Anyway, I have a variable AC source feeding each phase (that will be brought in via the "IN" block) and the DC out and return heading out of the block via the "Out".
I have the circuit built but the in's and out's create a broken red line when trying to connect the incoming signals to the circuit branches. Doesn't have trouble going into blocks like the universal bridge, but I'd rather do this from scratch rather than use that block. Could someone offer up a pointer on what I'm doing wrong?
  2 comentarios
Jan
Jan el 12 de Sept. de 2013
You used Matlab intensively in school, but not Matlab? Do you mean Simulink?
Don
Don el 12 de Sept. de 2013
Yep sorry, typo. Was late in the evening when I typed that.
We used matlab extensively but it was all "monkey see, monkey do" kinda stuff. Not the best way to learn...
The problem I'm having is within Simulink. We did use it a little bit, but everything we did was on the same model, no porting of data into and out of other user created model blocks.

Iniciar sesión para comentar.

Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 12 de Sept. de 2013
It looks like you are using SimPowerSystems blocks, correct? I don't know a lot about modeling in the physical domain using SimPowerSystems, but it looks like you need to use Connection Ports instead of the directional input/output ports used in the Simulink domain. Please look at the box titled Electrical Terminal Ports and Connection Lines on this page for a brief explanation on how Simulink connections are different from SimPowerSystems connections.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by