Blog for students taking ECEN5807 Modeling and Control of Power Electronics, ECEE Department, University of Colorado at Boulder, Spring 2013
Thursday, February 24, 2011
Getting error when "getZDZN" function gets called (written by Riley)
Hi, I am getting the following error when the "getZDZN" function (written by Riley Pack) gets called: ??? Undefined function or variable "Z". Error in ==> getZDZN at 59 ZD = 1/Z; Anyone else see that? Would appreciate any help. Nitish
I had this error too. Unfortunately I don't remember exactly what fixed it. I do remember not having the iin output of the converter labeled. I had to right click on the ig output and chose signal properties and labeled it iin. I think that is what fixed this problem since getZDZN is specifically looking for that label. Let me know if that works. If not, I'll dig around some more.
Thanks much.....I tried to play around with the signal labels (deleted and re-joined wires) and the port label appeared correctly. That seemed to have fixed the problem.
However, some of the labels seem to take on names automatically that I haven't given.....for example, the output port appeared as "vo", even though I was calling it "vout".
I had this error too. Unfortunately I don't remember exactly what fixed it. I do remember not having the iin output of the converter labeled. I had to right click on the ig output and chose signal properties and labeled it iin. I think that is what fixed this problem since getZDZN is specifically looking for that label. Let me know if that works. If not, I'll dig around some more.
ReplyDeleteThanks much.....I tried to play around with the signal labels (deleted and re-joined wires) and the port label appeared correctly. That seemed to have fixed the problem.
ReplyDeleteHowever, some of the labels seem to take on names automatically that I haven't given.....for example, the output port appeared as "vo", even though I was calling it "vout".
Much appreciated.
Nitish