Step voltage

electrical.step_voltage

Ideal source whose voltage jumps from 0 to V at time t0.

Ports

NameDomain
pelectrical
nelectrical

Parameters

NameUnitDefaultDescription
VV1Voltage 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
v = if time < t0 then 0 else V