Measurement and Calculation of Electricity Usage