A method for controlling a converter system, the converter system comprising at least two branches, wherein each branch comprises an AC-to-DC converter and a DC link cascade connected with each other; the method characterized by: determining at least two AC-side currents i I s i II s, each of which is input into one of the AC-to-DC converters; determining from the AC-side currents i I s i II s, a voltage reference v av ref v diff ref for each of the AC-to-DC converters, such that the AC-side current i I s i II s follows a current reference i av ref i diff ref for the respective AC-to-DC converter; determining a DC link ripple indicator (v dc,av, i dc,av, p av), which DC link ripple indicator (v dc,av, p av) is an average DC link voltage (v dc,av) of the DC links, an average DC link current (i dc,av) of the DC links and/or an average active power (p av) input into the at least two branches; determining a converter reference correction from the DC link ripple indicator (v dc,av, i dc,av, p av), such that a higher order harmonic in the average DC link voltage (v dc,av) is damped; determining corrected voltage references v I s ref v II s ref for the AC-to-DC converter by adding the converter reference correction to the voltage references of the AC-to-DC converters or by adding the converter reference correction to an average current reference for the AC-to-DC converters; controlling the AC-to-DC converters with the respective corrected voltage references v I s ref v II s ref. the converter system comprising at least two branches, wherein each branch comprises an AC-to-DC converter and a DC link cascade connected with each other; the method characterized by: determining at least two AC-side currents i I s i II s, each of which is input into one of the AC-to-DC converters; determining from the AC-side currents i I s i II s, a voltage reference v av ref v diff ref for each of the AC-to-DC converters, such that the AC-side current i I s i II s follows a current reference i av ref i diff ref for the respective AC-to-DC converter; determining a DC link ripple indicator (v dc,av, i dc,av, p av), which DC link ripple indicator (v dc,av, p av) is an average DC link voltage (v dc,av) of the DC links, an average DC link current (i dc,av) of the DC links and/or an average active power (p av) input into the at least two branches; determining a converter reference correction from the DC link ripple indicator (v dc,av, i dc,av, p av), such that a higher order harmonic in the average DC link voltage (v dc,av) is damped; determining corrected voltage references v I s ref v II s ref for the AC-to-DC converter by adding the converter reference correction to the voltage references of the AC-to-DC converters or by adding the converter reference correction to an average current reference for the AC-to-DC converters; controlling the AC-to-DC converters with the respective corrected voltage references v I s ref v II s ref. determining at least two AC-side currents i I s i II s, each of which is input into one of the AC-to-DC converters; determining from the AC-side currents i I s i II s, a voltage reference v av ref v diff ref for each of the AC-to-DC converters, such that the AC-side current i I s i II s follows a current reference i av ref i diff ref for the respective AC-to-DC converter; determining a DC link ripple indicator (v dc,av, i dc,av, p av), which DC link ripple indicator (v dc,av, p av) is an average DC link voltage (v dc,av) of the DC links, an average DC link current (i dc,av) of the DC links and/or an average active power (p av) input into the at least two branches; determining a converter reference correction from the DC link ripple indicator (v dc,av, i dc,av, p av), such that a higher order harmonic in the average DC link voltage (v dc,av) is damped; determining corrected voltage references v I s ref v II s ref for the AC-to-DC converter by adding the converter reference correction to the voltage references of the AC-to-DC converters or by adding the converter reference correction to an average current reference for the AC-to-DC converters; controlling the AC-to-DC converters with the respective corrected voltage references v I s ref v II s ref.