A method for operating an energy supply system for actuation of a plurality of working units and drives of a track maintenance machine being movable on a track having an electrical catenary, the method comprising the following steps:
- using a combustion engine or an electric motor fed by the catenary to supply the plurality working units and drives with energy;
- using a control device in a load operation permanently supplying the working units and drives with energy for changing over between the combustion engine and the electric motor;
- automatically passing over a transfer point of the catenary under load operation after activation of the control device by:
- changing over the energy supply from the electric motor to the combustion engine before the transfer point;
- and
- changing over the energy supply from the combustion engine to the electric motor after passing over the transfer point.