A method for controlling an electrical converter
system (10), comprising: determining a
switching signal (u*) within a range of future sampling instants abc ) and a reference trajectory (Y*) of at least one electrical quantity of the electrical converter
system (10) αβ ), where the
switching signal (u* abc ) and the reference trajectory (Y* αβ ) is determined from the optimized
pulse pattern (A*, U*) table, the
switching signal (u* abc ) includes switching transitions between output levels of the electrical
converters of the electrical converter
system (10), and a reference trajectory (Y* αβ ) indicates a desired future trajectory of at least one electrical quantity of the converter system (10); from a switching
signal (u* abc ) generates the average switch position (V* abc ) sequence, where the switching
signal (ua* bc ) is divided into sampling intervals, the average switch position (V* abc ) sequence includes the average switch position (V* abc ), the average switch position is defined by the switching
signal (u* abc ) is determined by averaging; by abc ) to determine the optimal average switch position (V* abc ) of the optimized average switch position (V abc ) sequence, the cost function (J) includes the reference trajectory (Y* αβ ) and the predicted trajectory, wherein the predicted trajectory is determined from a model of the converter system within the range, into which the modified average switching position sequence of the converter system and the measurement results are input; by shifting the switching signal (u* abc ) to determine the optimal switching signal (u abc ), so that in the current sampling interval, the switching signal (u abc ) is equal to the average value of the optimized switch position (v abc ); and the optimized switch signal (u abc ) is applied to the electrical converter system (10).