Well on the BNSF, the Power Desk takes care of that. They tell us exactly what units and how many units to use on each specific train. FRA inspection comes into play as far as where the engine needs to be for its inspection, and then if an engine is due for a major service, it goes to wherever the GE or EMD service facility is. In southern CA, its either LA or Barstow.
Number of units is based on HPT (horse power per ton)For example a Z train is usally rated at 3.5-4.0 HPT (again determined by the power desk)so divide the train tonage by availble horsepower.
Dash 9's = 4400 horse power
train tonage for example 5000 tons
So.... 4 units = 17600 horsepower/ 5000 tons = 3.52 HPT
Now if you want to know your speed up Main 1 in the Cajon Pass....
6.23 x 3.52 hpt = 21.9 mph .... so if you're under 22 mph (which is great speed) then 1 of your units is weak
The engineer is responsible for maintaining that scheduled HPT. So lets say you make a setout along the way and now your train is only 3400 tons and your still scheduled for 3.5 HPT, you have to do the math and isolate units accordingly to maintain the schedule HPT for FUEL CONSERVATION. Isolate 1 unit in this case and you will be at 3.8 HPT. IF not, you're at 5.1 HPT which will get the crew in trouble if OPTS tested by the roadforeman.
You probably didn't want to know all that but thats how it is done these days.
The "powers that be" decide for us what units, and how many for each train.
Now when business is booming like a few years ago, you get what you get for power.
Oh and for direction...............well thats up to the crew that built the consist. The easiest, quickest possible way to build it. No ryhme or reason other than ease for the crew. Now if you have a 2 engine consist for turnaround service, such as Needles to Ash Hill and back, then obviously you have to have an east and a west facing unit. Other than that, whatever direction the units are facing, thats how they are going.