Method for operating a generator, in particular, with power-optimised operation (3, 103) with a step-up converter (5, 105) with current switches (7, 71, 107) with a control unit (11, 111) and with a direct voltage energy storage device (45, 145), 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 (11, 111) 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 (3, 103) 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 (7, 7', 107) from the instantaneous voltages (UM1, UM2, UM3, UM4) as a calculation variable, 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 (7, 7', 107) at the control set points depending on the boost factors. a) the control (11, 111) 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 (3, 103) 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 (7, 7', 107) from the instantaneous voltages (UM1, UM2, UM3, UM4) as a calculation variable, 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 (7, 7', 107) 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 (3, 103) 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 (7, 7', 107) from the instantaneous voltages (UM1, UM2, UM3, UM4) as a calculation variable, 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 (7, 7', 107) at the control set points depending on the boost factors.