A damping system comprising: a generator; a drive shaft coupled to the generator; a DC link capacitor across a load resistance; a DC link voltage across the load resistance; a ripple sensor connected to the generator or the drive shaft by mechanical, electrical or wireless means, and configured to: measure a speed ripple amplitude of the drive shaft; and provide an indication of at least one of: a speed, a torque, a horsepower, a frequency, or an acceleration of the drive shaft; characterized in that the damping system comprises a feedforward circuit connected to the generator and the ripple sensor and comprising a module configured to: determine a DC link phase angle formed by the load resistance and a load capacitance of the DC link capacitor, the DC link phase angle defining a power-to-voltage relationship for an RC load of the generator, the RC load comprising the load resistance in parallel with the load capacitance; calculate a voltage signal value based on the speed ripple amplitude and the DC link phase angle; and adjust the DC link voltage according to the voltage signal value, thereby to provide a damping power in the RC load that dampens a torsional oscillation in the drive shaft. a generator; a drive shaft coupled to the generator; a DC link capacitor across a load resistance; a DC link voltage across the load resistance; a ripple sensor connected to the generator or the drive shaft by mechanical, electrical or wireless means, and configured to: measure a speed ripple amplitude of the drive shaft; and provide an indication of at least one of: a speed, a torque, a horsepower, a frequency, or an acceleration of the drive shaft; characterized in that the damping system comprises a feedforward circuit connected to the generator and the ripple sensor and comprising a module configured to: determine a DC link phase angle formed by the load resistance and a load capacitance of the DC link capacitor, the DC link phase angle defining a power-to-voltage relationship for an RC load of the generator, the RC load comprising the load resistance in parallel with the load capacitance; calculate a voltage signal value based on the speed ripple amplitude and the DC link phase angle; and adjust the DC link voltage according to the voltage signal value, thereby to provide a damping power in the RC load that dampens a torsional oscillation in the drive shaft. measure a speed ripple amplitude of the drive shaft; and provide an indication of at least one of: a speed, a torque, a horsepower, a frequency, or an acceleration of the drive shaft; characterized in that the damping system comprises a feedforward circuit connected to the generator and the ripple sensor and comprising a module configured to: determine a DC link phase angle formed by the load resistance and a load capacitance of the DC link capacitor, the DC link phase angle defining a power-to-voltage relationship for an RC load of the generator, the RC load comprising the load resistance in parallel with the load capacitance; calculate a voltage signal value based on the speed ripple amplitude and the DC link phase angle; and adjust the DC link voltage according to the voltage signal value, thereby to provide a damping power in the RC load that dampens a torsional oscillation in the drive shaft. determine a DC link phase angle formed by the load resistance and a load capacitance of the DC link capacitor, the DC link phase angle defining a power-to-voltage relationship for an RC load of the generator, the RC load comprising the load resistance in parallel with the load capacitance; calculate a voltage signal value based on the speed ripple amplitude and the DC link phase angle; and adjust the DC link voltage according to the voltage signal value, thereby to provide a damping power in the RC load that dampens a torsional oscillation in the drive shaft.