Re: [ng-spice] u2 function
Paolo Nenzi wrote:
> Oops, I have understood that your model was different from IF-THEN-ELSE
> condition. Your function is a class C0 function, continuous but with first
> and subsequent derivatives not continuos, this may cause convergence
> problems.
>
> Another point, do you believe that this function is a step for your
> circuit ? Some fast circuit may see it as a ramp, am I right or I am only
> a sophisticated theorethical EE student ?
>
> Paolo
You are right. This is different for different circuits, but You can
always use
u2(K*x). Changing K change its behavior. Convergence with u2 is much better
then
with u (at least with my model), so I think that it is useful in IF-THEN
expressions.
Michael
PS. What is with help command?
Partial thread listing: