I am trying to make a script that takes a pipe, retrieves all connected equipment (i.e mechanical eq.) upstream, counts eq with an identical identifier, and writes count + identifier to the original pipe.
I have a sewage pipe that is connected to 3 toilets, and 3 basins. I want to write “3 toilets, 3 basins” to a downstream pipe, so that it is easy to perform a control.
I have tried with the MEPover node “Pipe upstream components”, but it doesnt seem to work properly (or I am just not using it right).
Any help/tips would be appreciated!