Revit computes pressure losses in piping based on the geometry and roughness of piping, fluid density, and fluid dynamic viscosity.
Values for density and dynamic viscosity are specified in the Mechanical Settings dialog. Roughness is specified in the type properties for pipe/pipe fitting component families.
Revit uses the Darcy-Weisbach equation to compute pressure drop on pipe segments, fittings, and accessories. You can select from the following Darcy-Weisbach friction factor methods: Haaland or Colebrook.