Simulink Missing Reference Error

조회 수: 8 (최근 30일)
Dustin
Dustin 2011년 10월 28일
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

채택된 답변

Guy Rouleau
Guy Rouleau 2011년 10월 29일
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
Dustin
Dustin 2011년 10월 29일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Electrical Sensors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by