How to get flows and pressures of piping systems sections using C# Revit API?

How to get flows and pressures of piping systems sections using C# Revit API?

alimoffr
Contributor Contributor
1,375 Views
3 Replies
Message 1 of 4

How to get flows and pressures of piping systems sections using C# Revit API?

alimoffr
Contributor
Contributor

Hi everyone.

 

Can someone tell me how to get flow, static pressure, pressure loss, total pressure and excess pressure of every section of hydronic supply/return piping systems using C# Revit API?

 

I have hydronic supply/return piping systems:

 

image.png

 

I can see flow, static pressure, pressure loss, total pressure and excess pressure by sections using System Inspector tool:

 

image.png

image.png

 

Now I can get all piping systems and their sections using Revit API. But I don't know how to get flows and pressures of these sections:

 

image.png

 

Thank you in advance.

0 Likes
1,376 Views
3 Replies
Replies (3)
Message 2 of 4

aignatovich
Advisor
Advisor

Hi!

 

You've done almost all work 🙂 Explore properties of your MEPSection:

 

mepsection.PNG

Message 3 of 4

alimoffr
Contributor
Contributor

Hi aignatovich. Thank you for the answer.

 

As I know TotalPressureLoss is the summ of pressure losses of all elements in the section. But I need static pressure, total pressure and excess pressure too.

 

0 Likes
Message 4 of 4

aignatovich
Advisor
Advisor

I'm not sure, are the static pressure and velocity pressure the same?

 

You can get coefficients, pressure drops and segment lengths for all elements in section, you also know Flow, Velocity, Reynolds number, Friction, Roughness (these are properties of MEPSection)

 

You can also retrieve air density from DuctSettings.GetDuctSettings(doc).AirDensity. As far I know, it is enough to calculate everything for duct systems (but I don't remember formulas, sorry). I don't know is it enough for piping systems, may be you need to retrieve something from PipeSettings