PO.SF.PL.Gas.Size
Returns the smallest pipe internal diameter, from a list of candidate sizes, that carries a gas rate from an inlet pressure to a minimum delivery pressure and keeps the gas below API RP 14E's erosional velocity. It sweeps the list smallest first with one of the shipped pipeline equations, Weymouth, Panhandle A or Panhandle B, and stops at the first size that passes both tests. The list is the caller's: a standard-weight schedule, another wall, or the sizes in stock. A sheet reads the nominal size with `INDEX(nps, MATCH(size, ids, 0))`.