Finding VAVs along a duct network to assign space data in Dynamo

Greetings everyone!
I’m trying to create a Dynamo script that fills in information about which rooms each VAV unit serves. The issue is that none of the VAVs are located directly inside the spaces they are associated with.

My idea is to pull the room information from the Air Terminals, and then use the connectors to step through each element along the system to check whether the current element is a VAV. If it is, the script would write the appropriate parameters (which I already have prepared).

I tried using the MEPover “MEP Connector Info” nodes, but they only work in a single pass - I can’t repeat or chain them to create any kind of recursion along the network.

Has anyone run into a similar problem and would be willing to share their script? Or does anyone have a better approach for solving this? I’m relatively new to Dynamo, so any help would be appreciated.

Hello @M.Danielewicz and welcome to the forum…

do you have a small sample rvt we could try on ?

I’m sorry, but the project for which I’m trying to create this Dynamo script is not small, and I haven’t created any test models for this issue yet.

1 Like

Perhaps start the other way around - select your VAV and then grab the system elements and filter for the air terminals - grab your info and then update the VAV.

Unfortunately the MEPover upstream/downstream nodes do not appear to be working effectively otherwise I would use them

Here is an example

1 Like

guees mepover have a node for get airterminals directly from system as well…cant remember the name right now, not at dyn, could probably works too

@sovitek nice pickup. Duct or pipe systems all terminal elements node
Note: All Elements of System is from GeniusLoci

yeps thats the name :wink:

Thanks for the suggestion, but I have a few questions. What if I have several systems, and a single system includes dozens of VAVs and even more Air Terminals (with hundreds of different spaces)? I’ve already tried filling in the data using one of the nodes from MEPover, but that node works only for the supply side. And one more more question. Selecting a single system is one possible solution, but will Dynamo know from which Terminal to take the space information? :thinking: