electricpy.passive.inductordischarge

electricpy.passive.inductordischarge(t, Io, R, L)[source]

Discharging Inductor Formula.

Calculates the Voltage and Current of an inductor that is discharging its stored energy.

IL=I0eRtL//VL=I0R(1eRtL)
Parameters:
t : float

Time at which to calculate voltage and current.

Io : float

Initial current traveling through inductor.

R : float

Resistance being discharged to.

L : float

Inductance value in Henries.

Returns:

  • Vl (float) – Voltage across inductor at time t.

  • Il (float) – Current through inductor at time t.