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
| Name | Domain |
|---|---|
p | electrical |
n | electrical |
Parameters
| Name | Unit | Default | Description |
|---|---|---|---|
I | A | 1 | Current after the step |
t0 | s | 0 | Time of the step |
Variables
| Name | Unit |
|---|---|
v | V |
i | A |
Equations
v = p.v - n.v 0 = p.i + n.i i = p.i i = if time < t0 then 0 else I