Calculate the Peukert's capacity of a battery for a given discarge time with a constant load.
batteryCapacityForDischargeTime1H(
10 hours,
100 mA
)
dischargeTime | the desired discharge time. |
loadCurrent | load current. |
k | Peukerts constant. It depends on battery type. If not given 1.3 is assumed. |
return value | the Peukert's capacity of the needed battery. |
NOTE: Peukert's capcaity is used only in very rare cases. Batteries usually specify 20 hour discharge rates. For more details, see batteryCapacityForDischargeTime.
For more details, see https://en.wikipedia.org/wiki/Peukert's_law, http://www.smartgauge.co.uk/peukert2.html.