Implementation of kWh cost validation