Assigning serial number to the pipe as water move in the pipe stream

Hello, you have to try to look in this way to identify the branch of the network concerned (several possible paths) then associate the numbering

network connection points must be identified.

I think it’s not at all simple the work you want to undertake.

Cordially
christian.stan