Step current

electrical.step_current

Ideal source whose current jumps from 0 to I at time t0. Positive current flows through the source from p to n.

Ports

NameDomain
pelectrical
nelectrical

Parameters

NameUnitDefaultDescription
IA1Current after the step
t0s0Time of the step

Variables

NameUnit
vV
iA

Equations

v = p.v - n.v
0 = p.i + n.i
i = p.i
i = if time < t0 then 0 else I