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

**URL:** <https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282>\
**Category:** PLECS\
**Tags:** plecs-blockset\
**Created:** [February 21, 2018, 8:52am UTC](https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282 "2018-02-21T08:52:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EMdude](https://avatars.discourse-cdn.com/v4/letter/e/71c47a/32.png) [@EMdude](https://forum.plexim.com/u/EMdude)\
**Post date:** [February 21, 2018, 8:52am UTC](https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282/1 "2018-02-21T08:52:46Z")

</div>

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

 ![errr.PNG](https://europe1.discourse-cdn.com/flex006/uploads/plecs/original/1X/3ba95da8d99384ea4e5046557f2af943843af6a9.png)

 ![bat_error.PNG](https://europe1.discourse-cdn.com/flex006/uploads/plecs/original/1X/c10ca386aa0226642cbda3bad7cccd43fd7cb088.png)

---

<div class="post-metadata">

**Author:** ![wolfgang](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/wolfgang/32/7_2.png) [@wolfgang](https://forum.plexim.com/u/wolfgang)\
**Post date:** [February 22, 2018, 7:23am UTC](https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282/2 "2018-02-22T07:23:04Z")

</div>

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”.

---

<div class="post-metadata">

**Author:** ![EMdude](https://avatars.discourse-cdn.com/v4/letter/e/71c47a/32.png) [@EMdude](https://forum.plexim.com/u/EMdude)\
**Post date:** [February 22, 2018, 8:31am UTC](https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282/3 "2018-02-22T08:31:07Z")

</div>

MANY THANKS FOR YOUR HELP

---

<div class="post-metadata">

**Author:** ![tarik](https://avatars.discourse-cdn.com/v4/letter/t/db5fbb/32.png) [@tarik](https://forum.plexim.com/u/tarik)\
**Post date:** [November 3, 2022, 5:31am UTC](https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282/4 "2022-11-03T05:31:42Z")

</div>

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?
