EXP args
EXP iv pv td1 tau1 td2 tau2 period
The component value is an exponential function of time.
For voltage and current sources, this is the same as the Spice EXP function, with some extensions.
The shape of the waveform is described by the following algorithm:
ev = _iv; for (reltime=time; reltime>=0; reltime-=_period){ if (reltime > _td1){ ev += (_pv - _iv) * (1. - Exp(-(reltime-_td1)/_tau1)); } if (reltime > _td2){ ev += (_iv - _pv) * (1. - Exp(-(reltime-_td2)/_tau2)); } }