Hello eejacky
Sorry i don't know of any formula for this problem,but I do have a method that we have used quite successefully in our plant.
These are mostly long runs of 25KV or 5Kv trailing cables that power our major equipment.Due to the fluctuating loads, Voltages were being induced into the Trailing cable ground Monitoring circuits ,causing control relays to drop out and trip main switchouses.
In the long cable runs we have Junction Boxes and this allows us to "transpose" the phase cables at each JBox.
We identify the JBoxes cable entry and exits with "LINE" and "LOAD" signs and follow a transposition pattern as follows

Eg On the line side,left to right RED/BLACK/BLUE or A/B/C, on the load side BLACK/BLUE/RED or B/C/A.
We follow the same pattern for every other JBOx.
If you have to change the rotation,it would have to be done at the main Switch house.
I don't know if it applies to your system,it does work well for us.
GusD