Drinking water supply pipes sizing using Dynamo/Revit in compliance with DIN 1988-2 (1988-12)

Hi everyone,

I am wondering whether there is anyone who has been able to automate the designing of a water distribution system that complies with DIN 1988-2 (1988-12) using Dynamo/Revit or designed a water distribution system to any other standard but considered the pressure loss due elevation/height when sizing the pipes. I am trying to design a water distribution system to DIN 1988-2 (1988-12) but it seems as if Revit does not consider the pressure lost due to elevation. Please if you have found a way out share the dynamo graph or python scripts

Thank you