UserStory2: calculate CO2 consumption