I would like to use Model Builder to create a model that performs an upstream accumulation on a sewer system and have the trace performed on each segment of pipe within the system. It would essentially be like placing a flag on every manhole and junction within the system. I figured I could use the Feature Vertices to Points tool to make the flags for the geometric network and run the network trace after that as seen in the model attached.
Where I am lost is how to go about achieving an output for each pipe segment that can be used to then divide by the max pipe capacity to determine the current capacity value. It would also be advantageous if a parameter were setup so that sub-systems could be selected so the model is only running on them and not the entire system. I've hit several dead ends when trying to figure that out as well.