It's not cost efficient to make your own power supply to output 50v at 20A. The power transformer would be heavy and large and you'd also need additional components to stabilize the output voltage.
You can buy a 48v power supply from stores and most of them allow some small control over the output voltage, which would allow you to tweak the power supply to output 50v. See for example Meanwell power supplies on eBay, for example here's a 600w unit... two of these will be capable of providing that 1000 watts of power :
http://www.ebay.com/itm/Meanwell-SE-600-48-AC-DC-Switching-Power-Supply-48V-12-5A-600W-Single-Output-/161350891549?pt=LH_DefaultDomain_0&hash=item259143381dIf you really want to make a linear power supply, the best approach would be to use a custom transformer, let's say something that outputs about 42v AC and maybe a couple of bridge rectifiers in parallel to reduce the heat dissipation...
After rectification, you'll have 42v x 1.414 = 60v , minus about 2-3v dropped on the rectifiers, so about 58v peak DC voltage. At 20A, that 2-3v drop on rectifier means lots of heat, that's why it would be wiser to use 2 bridge rectifiers, each doing only 10A of current.
To get at least 50v minimum DC voltage, you can use capacitors to smooth out the output and you can use this formula to approximate capacitance : C = Current / (2 x AC Frequency x V ripple) where Vripple is how much you're willing to let the voltage go down.
For peaks of 20A and assuming you want a minimum dc voltage of 52v then you have C = 20A / [ 2 x 50 Hz x (58v peak dc - 52v minimum dc) ] = 20 / 600 = 0.0333 Farads or 33.333 uF
So you'd need 33.333 uF to keep the minimum voltage to about 52v when your train uses 20A, but when the power consumption is lower (fewer amps) the capacitors will charge more often and the voltage will go closer to that peak DC voltage of 58v.
So you still need some regulation circuit to keep that output voltage to 50v, and for that you can use several power transistors in parallel and a feedback circuit (operation amplifier to monitor the output voltage and restrict the current flow through the transistors so that you always get only 50v)
As an example, you can see attached a power supply capable of 5A and as you can see they use 4 C2750 (
2SC2750) power transistors just to make sure the power supply is capable of 0-30v at 5A.
They have to use a lot of power transistors even for only 5A because you see, it's not only the current it's also the voltage difference that matters... with that adjustable power supply if user wants 1v out at 5A, the transistors receive about 12v from the transformer so the power transistors need to dissipate about (12v - 1v) x 5A = 55w as heat.... it's easier for each of those 4 transistors to dissipate only 55/4 = ~ 14 watts each.
In your case, you'll have a minimum voltage of about 52v and a maximum of about 58v, so the voltage difference will be only about 2-6v. Still, at 20A you'll have about 160 watts of power dissipated in the transistors. Assuming a maximum of about 20w per power transistor you'd want at least 8-10 such power transistors in parallel, installed on a big heatsink and also a fan cooling that heatsink.
When you draw the line, you can see the power transformer, the large heatsink, the fans to keep the heatsink cool, the components needed, they all add up to the price and it's more cost effective to buy a ready made power supply.