Have you taken into account, electric generation costs for these railways?
If the line serving the railway goes off, the trains stop.
As they would if the grid - a rare thing - would go down.
Better to have individually powered units that can operate on their own.

