Simulink Missing Reference Error

8 Ansichten (letzte 30 Tage)
Dustin
Dustin am 28 Okt. 2011
Hello, I'm not a novice at MATLAB but I am at simulink, and my code keeps claiming that its missing a reference, when i DO have a reference. I'm wondering if someone could shed some light on the subject.
Here's the error: Number of variables exceeds number of equations. Check for missing reference node.
From what I've ready you need a solver block for each domain, and i should only have one electrical domain. I've tried removing parts till it works but so far this is as smiple as i could make it without destroying the idea I'm trying to simulate.
Thanks! Dustin

Akzeptierte Antwort

Guy Rouleau
Guy Rouleau am 29 Okt. 2011
The Controlled PWM voltage block is sort of special. The 2 sides are independent, so you must have a ground on each side.
Add a ground on the side where you only have a source.
I recommend contacting technical support with your model to request a more relevant error message.
  1 Kommentar
Dustin
Dustin am 29 Okt. 2011
Thanks, that helped, I just moved that voltage source to ground with my other reference and that fixed that error, stupid mistake. However I have a problem where I don't get any output what so ever. As in if I put a voltage sensor across my voltage source, its blank after simulating. The link is the same as above. Any thoughts?
Thanks
~Dustin

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by