one of my favourite games ever was "railroad tycoon 2"; it was not a particularly deep railway simulator, but it was a superbly immersive treatment of "railroads helped settle a continent". few games achieved that sort of immersive feeling for me, civ 1 and stellaris are the other ones that come to mind.