I have built two boxes containing PEX coil, each w 150 feet of 1/2 inch pex coiled in boxes sealed / plexi covered, placed on roof . There is a 25 foot vertical and 75 foot horizontal of PEX to deliver water from my pool to the boxes.
I put valves before and after the collectors, (maybe not...