How to get different pressures of piping system elements using C# Revit API?

How to get different pressures of piping system elements using C# Revit API?

alimoffr
Contributor Contributor
1,364 Views
4 Replies
Message 1 of 5

How to get different pressures of piping system elements using C# Revit API?

alimoffr
Contributor
Contributor

Hi everyone.

 

I recently asked question about getting flow, static pressure, pressure loss, total pressure and excess pressure of the section of the hydronic supply/return piping system. But now I understand that I need to get flow, static pressure, pressure loss, total pressure and excess pressure of each Terminal Element  (MechanicalEquipment) of the hydronic supply/return piping systems.

 

Hydronic supply piping system:

 

image.png

 

Hydronic return piping system:

 

image.png

 

Mechanical equipment:

 

image.png

 

Right now I can get all piping systems and all their terminal elements:

 

image.png

 

I attached file with hydronic piping systems.

 

Thank you.

0 Likes
1,365 Views
4 Replies
Replies (4)
Message 2 of 5

jeremytammik
Autodesk
Autodesk

Hi.

 

You can look at the Revit SDK sample TraverseSystem to determine the non-terminal elements in correct order:

 

 

To determine the pressure in each element, look at this old pressure drop sample:

 

 

I hope this helps.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 5

alimoffr
Contributor
Contributor

Hi Jeremy. Thank you for the answer.

 

But I still don't know how to get static pressure, total pressure and excess pressure of the Element of the system. I can see all required values for systems sections (not elements) with System Inspector tool:

 

image.png

 

It will be goot If I can get these values for systems sections and It will be great if I can get these parameters for each Terminal Element separately (not in the context of the section).

0 Likes
Message 4 of 5

jeremytammik
Autodesk
Autodesk

Have you installed RevitLookup?

 

If not, please do so right now and check whether it will show you those values.

 

It provides a full user interface access to all static properties of all Revit database elements and their relationships obtainable via the Revit API.

 

You should be able to see the properties you are after there, and that will also tell you how to access them programmatically.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 5 of 5

alimoffr
Contributor
Contributor

Yes I installed RevitLookup, but I can't find those parameters. Maybe System Inspector tool makes calculations to output all kind of pressures and flow of sections.

0 Likes