Adding elevation loss to Pipe Pressure Drop calculation using source code

Adding elevation loss to Pipe Pressure Drop calculation using source code

Anonymous
Not applicable
3,615 Views
22 Replies
Message 1 of 23

Adding elevation loss to Pipe Pressure Drop calculation using source code

Anonymous
Not applicable

PipePressureDrop is currently using the length of pipe and friction to calculate pressure loss. However, it does not take into account pressure loss due to elevation. Below is the default method for pressure drop calculation from source code:

11.JPG


Total pressure loss must include pressure loss due to elevation. To do this, we must include the normal offset difference of the pipe segment and multiply that by the pressure drop per elevation offset difference. Below is how the pressure drop would ideally be calculated in source code.

12.JPG


13.JPG

Currently all variables being used for calculations are referencing class Autodesk.Revit.DB.Plumbing.PipePressureDropData.

StartOffset and EndfOffset are referenced in class Autodesk.Revit.DB.Extrusion.




How do we use dDeltaOffset within public void Calculate(PipePressureDropData data)?

0 Likes
3,616 Views
22 Replies
Replies (22)
Message 21 of 23

luis3461580
Explorer
Explorer
Hi, I'm new to this, I'm a student from Bolivia. 
I would like to install this addin UserMepCalculation to revit but I don't know if it could help me by indicating the specific location and what should I change if a video could be made it would be very helpful. greetings and grateful

 

0 Likes
Message 22 of 23

fatihseker_info
Community Visitor
Community Visitor

Hi,

Have you made any progress on this issue?

The critical path should take into account the pressure loss due to the elevation difference.

Up to me the pipes should have a new parameter indicating this pressure loss.

0 Likes
Message 23 of 23

jeremy_tammik
Alumni
Alumni

Have you seen this solution created and published 15 years ago?

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes