How to calculate production rate per hour