Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

At t=0: Electrical model inputs are infinite or NaN?

+1 vote
2,311 views
hello, I am getting this error in my plecs circuit (blockset) whenever I use 02 controlled source voltage connected to same source signal as shown here in the attached pictures.

thansk in advance
asked Feb 21, 2018 by EMdude (75 points)
retagged Feb 22, 2018 by Wolfgang Hammer

1 Answer

+2 votes
 
Best answer
The "Signal type" parameter of the inport "Vbat_in" is set to "Gate signal". This is indicated in the block icon by the angular brackets around the port number. Please see the documentation about the meaning of this parameter.

If you use the input signal to control a voltage source, you must set the "Signal type" parameter to "Continuous signal" or "auto".
answered Feb 22, 2018 by Wolfgang Hammer (397 points)
selected Feb 22, 2018 by EMdude
MANY THANKS FOR YOUR HELP
Hello Wolfgang,
I am facing the same problem and I have changed the input port to continuous and auto and both report the same error.
this error is not there at lower frequencies but only at few KHz that apperas.
Any thing I can do about it please?
...