Method for operating a generator, in particular, with power-optimised operation with a step-up converter with current switches with a control unit and with a direct voltage energy storage device , e.g. a direct voltage intermediate circuit or a direct voltage storage element characterised in that the method works at least with one optimisation, whereby: a) the control is designed for the formation of several boost factors (B, B1, B2, B3, B4, B5, B6), with the steps a1) Determination of the instantaneous voltages ( UM1 , UM2 , UM3 , UM4 ), which can be determined from a generator voltage which can be changed over time (U L12 , U L23 , U L13 ) and at different times (t n1 , t n2 , t n3 , t n4 , t n5 , t n6 ), by determining an angular position of the generator and determining or calculating the associated instantaneous voltage (U M1 , U M2 , U M3 , U M4 ); a2) Determination or detection of control set points of the current switches from the instantaneous voltages (UM1, UM2, UM3, UM4) as a calculation variable (S4), a3) Formation or determination of the boost factors (B, B1, B2, B3, B4, B5, B6) which can be changed over time and which can be determined from the generator voltage (UL12, UL23, UL13) which can be changed over time, , a4) Control of the current switches at the control set points depending on the boost factors. a) the control is designed for the formation of several boost factors (B, B1, B2, B3, B4, B5, B6), with the steps a1) Determination of the instantaneous voltages ( UM1 , UM2 , UM3 , UM4 ), which can be determined from a generator voltage which can be changed over time (U L12 , U L23 , U L13 ) and at different times (t n1 , t n2 , t n3 , t n4 , t n5 , t n6 ), by determining an angular position of the generator and determining or calculating the associated instantaneous voltage (U M1 , U M2 , U M3 , U M4 ); a2) Determination or detection of control set points of the current switches from the instantaneous voltages (UM1, UM2, UM3, UM4) as a calculation variable (S4), a3) Formation or determination of the boost factors (B, B1, B2, B3, B4, B5, B6) which can be changed over time and which can be determined from the generator voltage (UL12, UL23, UL13) which can be changed over time, , a4) Control of the current switches at the control set points depending on the boost factors. a1) Determination of the instantaneous voltages ( UM1 , UM2 , UM3 , UM4 ), which can be determined from a generator voltage which can be changed over time (U L12 , U L23 , U L13 ) and at different times (t n1 , t n2 , t n3 , t n4 , t n5 , t n6 ), by determining an angular position of the generator and determining or calculating the associated instantaneous voltage (U M1 , U M2 , U M3 , U M4 ); a2) Determination or detection of control set points of the current switches from the instantaneous voltages (UM1, UM2, UM3, UM4) as a calculation variable (S4), a3) Formation or determination of the boost factors (B, B1, B2, B3, B4, B5, B6) which can be changed over time and which can be determined from the generator voltage (UL12, UL23, UL13) which can be changed over time, , a4) Control of the current switches at the control set points depending on the boost factors. <EOS>