A computer program embodied in a computer-readable non-transitory storage medium and including program code, which when loaded into a memory of a drive control device having a converter with a DC link circuit and executed on the drive control device, causes the drive control device to
- measure during operation phase currents generated by the converter,
- form from the measured phase currents a current vector in a first coordinate system,
- rotate, with a first transformation angle and with a first rate of change, the current vector into a second coordinate system to generate a resulting current vector,
- supply the resulting current vector to a regulator to generate a resulting voltage vector at an output of the regulator,
- rotate, with the first transformation angle or with a second transformation angle rotating at the first rate of change, the resulting voltage vector back into the first coordinate system to generate a resulting back-transformed voltage vector, and
- use the resulting back-transformed voltage vector as an influencing variable in addition to U/f control or vector regulation for controlling the converter.