Calculation of the kilo consumption of electrical appliances