The lifetime of a WSN
Capacitance is 1F=1C/V (coulomb per volt).  Current is 1A=1C/S.  So your capacitance C divided by current I gives you S/V.  Multiply that by the difference between the initial voltage and the minimum voltage and that should give you your run time.