Simulink Missing Reference Error

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

 Risposta accettata

Guy Rouleau
Guy Rouleau il 29 Ott 2011

0 voti

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 Commento

Dustin
Dustin il 29 Ott 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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by