calculate duct system