According to code, duct work other than residential shall be sized according to?

According to code, duct work other than residential shall be sized according to?