air consumption calculation