Flow Capacity Calculation