Blog Published: 21/01/2019

Blogger - Ian Garwood

Revit MEP Stack Sizing Using Dynamo

How to use Dynamo to size sanitary systems in Revit

I am often asked about waste pipe sizing in Revit MEP, and the simple answer is that Revit does not size sanitary systems. That doesn’t mean however that the information available in a sanitary system can’t be used to help with the process of sizing. 

Sanitary Systems in Revit MEP

If you are using Revit MEP for sanitary systems, you will probably have come across something called a Fixture Unit. Fixture Units are applied to individual Revit Plumbing Fixtures and will give a cumulative total of all the fixture units in a sanitary system, which in turn equates to a flow rate through that system.

Below we see the Waste Fixture Unit value found in the Type Properties of a Plumbing Fixture. You will also see values for Hot and Cold Water Fixture Units.


Waste Fixture Unit Value found in the Type Properties of a Plumbing Fixture

In the Mechanical Settings of Revit MEP, we see an explanation of what Fixture Units are and how they are used in determining flow rates and pipe sizing. However, the pipe sizing aspect only applies to domestic hot and cold water systems, and does not extend to sanitary systems.


Mechanical Settings of Revit MEP

We can however still make use of the total number of fixture units found in a sanitary system and make our own calculation to determine pipe size.
 

Using the Fixture Unit Information in our Sanitary System

Just to make things a bit easier let’s start by calling a Fixture Unit a Demand Unit instead. Below we can see the number of elements in our system, each with 1.7 DUs (as shown above) giving us a total of 81.6 DUs in the stack.

Fixture-Information-in-Sanitary-System.png


By using the total number of DUs in the system and applying an appropriate frequency factor we can calculate the flow rate in the system and therefore establish a minimum stack size. Any time something changes in our system we re-calculate to ensure our stack size remains adequate.
 

Using Dynamo to Harvest the Design Data

The section of script below is used to extract the total number of DUs in each system, the System Name, and a value for the Frequency Factor (this was added to the project as a shared parameter and is altered as necessary from within the project). 


Extract-Data-From-Revit-Waste-System-to-Excel.png


This information is then sorted within Dynamo and exported to Excel as shown below:

Information-Sorted-within-Dynamo-and-exported-to-Excel.png


The Calculated Flow Rate is derived using the following calculation within Excel:

Calculated-Flow-Rate-calculation-in-Excel.png


Then the Minimum Stack Size is determined by the following IF statement within Excel:

Minimum-Stack-Size-Calculation-using-IF-statement.png


If the calculated flow rate determines that a pipe size of 150mm is insufficient, then a “Check System” message is returned.

The calculated flow rate and minimum stack size values are then pushed back into Revit where previously created shared parameters are automatically populated, shown in the following section of Dynamo script:

Dynamo-Script-with-Flow-Rate-and-Minimum-Stack-Size.png

The results can be seen in the Piping System Properties as shown below:

Piping-system-properties_1.pngPiping-System-Properties_2.png

Piping-System-Properties_3.png

As the Demand Units on the waste system increase, so the calculated flow rate increases. The updated information is automatically extracted by Dynamo to Excel where the calculation is updated, and the results pushed back to Revit.

Example-of-Demand-Units-changing-with-Resulst.pngExample-of-Demand-Units-changing-with-Results_2.png



Example-of-Demand-Units-changing-with-Results_3.pngExample-of-Demand-Units-changing-with-Results_4.png

An increase in the number of plumbing fixtures and an increase in the Frequency Factor value results in a greater flow rate than can be accommodated in 100mm diameter pipe, so the minimum stack size is increased to 150mm, indicating that the stack size needs to be increased.

This workflow could be extended to drive the changing size of the pipework within the project, or you could simply create a schedule to compare the calculated size of the stack against the actual size.

The calculations performed in Excel could be carried out in Autodesk Dynamo itself, however, it may be preferable for team members who do not use Revit to be able to see this data in a more familiar environment.

If you are interested in learning more about Revit MEP or understanding how Dynamo can help you achieve your aims in Digital Engineering, then view our website for a list of available training courses. Explore the benefits of using Revit MEP here. Alternatively contact us directly and we would be happy to discuss your specific needs.    

About the author

  • Ian Garwood

Ian Garwood

Application Specialist

Ian Garwood is an experienced and dedicated application specialist with a practical background in Mechanical engineering. In 2008, Ian was ranked as one of the top 15% of trainers in the entire Autodesk Northern Europe region for Client satisfaction.

Other Insight Authors
Add events to your calendar

Add this Internet calendar to outlook / iCal and subscribe to updates

Blog email subscription

To receive an email when a new blog is published, please enter your details below.

Live chat