Method for controlling a current output of a battery, wherein the battery is used as a traction battery for driving a rail vehicle, - in which an actual battery current I bat,ist passes, as a link circuit direct current I dcdc, to a link circuit via a DC/DC converter (DCDCW), - in which an actual differential voltage U d,ist is applied to the link circuit, - in which the link circuit direct current I dcdc passes, as a motor current I mot, from the link circuit to a DC/AC converter (DCACW), which converts the motor current I mot to a three-phase alternating current, - in which the three-phase alternating current is fed to an asynchronous motor, which is used as drive of the rail vehicle, - in which the asynchronous motor and the DC/AC converter (DCACW) are controlled via a torque controller (M asm controller), - in which the torque controller (M asm controller) is used to control a setpoint torque value M soll, by way of which the motor current I mot is set, - in which a link circuit voltage controller (U zk controller) determines a setpoint battery current I bat,soll based on a setpoint differential voltage U d,soll and based on an actual differential voltage U d,ist, the link circuit direct current I dcdc being set based on said setpoint battery current, - in which the DC/DC converter (DCDCW) is controlled by means of a battery current controller (I bat controller), which sets the link circuit direct current I dcdc based on the setpoint battery current I bat,soll and based on the actual battery current I bat,ist, - in which the setpoint torque value M soll is formed from a feedforward control torque M ff and from a specified torque M tf taking into account the relationship of M tf > max (M ff), - in which the feedforward control torque M ff is formed based on the actual battery current I bat,ist until the actual battery current I bat,ist corresponds to an ideal battery current I bat,ideal, - in which the feedforward control torque M ff is calculated using a transfer function H sys (z), which maps the setpoint torque value M soll onto the actual battery current I bat,ist as follows: I bat z = H sys z M soll z, characterized in that - a zero point z=znmp, which lies outside of the unit circle, is determined by the transfer function H sys (z), - the feedforward control torque M ff is calculated as follows: M ff z = I bat,neu z / H sys z z with: I bat,neu z = I bat,ideal z − I bat,ideal z = znmp and with: I bat, neu n = I bat, ideal n for all n > 0, such that a pole point/zero point cancellation is achieved by z = znmp at the ideal battery current I bat,ideal. - in which an actual battery current I bat,ist passes, as a link circuit direct current I dcdc, to a link circuit via a DC/DC converter (DCDCW), - in which an actual differential voltage U d,ist is applied to the link circuit, - in which the link circuit direct current I dcdc passes, as a motor current I mot, from the link circuit to a DC/AC converter (DCACW), which converts the motor current I mot to a three-phase alternating current, - in which the three-phase alternating current is fed to an asynchronous motor, which is used as drive of the rail vehicle, - in which the asynchronous motor and the DC/AC converter (DCACW) are controlled via a torque controller (M asm controller), - in which the torque controller (M asm controller) is used to control a setpoint torque value M soll, by way of which the motor current I mot is set, - in which a link circuit voltage controller (U zk controller) determines a setpoint battery current I bat,soll based on a setpoint differential voltage U d,soll and based on an actual differential voltage U d,ist, the link circuit direct current I dcdc being set based on said setpoint battery current, - in which the DC/DC converter (DCDCW) is controlled by means of a battery current controller (I bat controller), which sets the link circuit direct current I dcdc based on the setpoint battery current I bat,soll and based on the actual battery current I bat,ist, - in which the setpoint torque value M soll is formed from a feedforward control torque M ff and from a specified torque M tf taking into account the relationship of M tf > max (M ff), - in which the feedforward control torque M ff is formed based on the actual battery current I bat,ist until the actual battery current I bat,ist corresponds to an ideal battery current I bat,ideal, - in which the feedforward control torque M ff is calculated using a transfer function H sys (z), which maps the setpoint torque value M soll onto the actual battery current I bat,ist as follows: I bat z = H sys z M soll z, - a zero point z=znmp, which lies outside of the unit circle, is determined by the transfer function H sys (z), - the feedforward control torque M ff is calculated as follows: M ff z = I bat,neu z / H sys z z with: I bat,neu z = I bat,ideal z − I bat,ideal z = znmp and with: I bat, neu n = I bat, ideal n for all n > 0, such that a pole point/zero point cancellation is achieved by z = znmp at the ideal battery current I bat,ideal.