It seems like the faster the train moves the more power it generates. The power needed for the head-end power, that is power used by the trains for any other use than propulsion. Okay, increasing the speed means the engine produces more power right? Producing more power means more for the head-end. But why the head-end must depend on propulsion? Why not keep the power generating separate?
And speaking of which, even if they have perpetual engine (itself is a violation of the Second Law of Thermodynamics), why do they bother putting people on a train? Taking risk by the fact that the train is moving through different terrains and exposing itself to different elements. Would it be better if they just build a habitat and let the perpetual engine power it? There will be less complex machinery to deal and better space arrangement.
In addition, outside of science discussion, how does Wilford Corporation does this? First, second, third class passengers pay, fine. But for what? In that post-apocalypse world, what is the value of money? Point is, how do wealthy people maintain their comfort? Do their material possessions still mean something if everything is provided by the train anyway?