E is the electric energy in watt hour (Wh) P is the power in watts (W) t is the length of time in hours (h)