Capacitor discharge time library.
It calculates the time it takes to discharge a capacitor from a given voltage to a given voltage under different conditions. In all cases it can take in account the ESR value of the capacitor.
costPowerDischargeTime(C, Umax, Umin, P, ESR) | Calculate the discharge time of a capacitor under constant power load. |
costCurrentDischargeTime(C, Umax, Umin, I, ESR) | Calculate the discharge time of a capacitor under constant current load. |
costLoadDischargeTime(C, Umax, Umin, R, ESR) | Calculate the discharge time of a capacitor under constant resistive load. |