Calculations for Holding tanks