If I am wrong somewhere feel free to correct me.
Consider the following rack sprinkler
Not that it really matters but we'll go Class III nonencapsulated commodity. Six rack sprinklers required to be calculated but what six heads? Answer is it depends.
Calculation for the six sprinklers farthest away from the point of connection
Calculations for the six sprinklers closest to the point of connection
Of course never say never but nearly always you are going to want your rack sprinkler demand pressure less than your overhead at the point of connection or RP17 as shown on my sketch.
Calculating rack sprinklers #1 through #6
we find we need 134.4 gpm @ 51.2 psi at the point of connection to the overhead.
k=134.4/51.2^.5
k=18.78
Calculating rack sprinklers #10 through #15
we find we still need 134.4 gpm but at a pressure of 33.7 psi.
k=134.4/33.7^.5
k=23.15
Assume the overhead requires 585 gpm @ 72.8 psi at RP17.
@ 72.8 psi rack sprinklers 1 through 6 will discharge 160.2 gpm (q=18.78*72.8^.5) but rack sprinklers 10 through 16 will discharge 197.5 gpm (q=23.15*72.8^.5) showing the hydraulically most demanding rack sprinklers are nearest the riser.
It's obvious if your overhead requires less pressure than the rack sprinklers @ point of connection then the reverse will be true; your most demanding rack sprinklers will most likely be farthest from the riser.
In the real world it's only 37.3 gpm and isn't going to make a hill of beans anyway and to avoid argument you may as well give the AHJ what they are used to seeing at anyway. Remote, far away.
