The invention relates to a method for operating, in particular for controlling and / or regulating, an
inverter (100), which is connectable in particular to a
network architecture (200) and an energy supplier (300) of a network
system (1000), comprising - measuring (110), by a sensor (10), a measured value of an injected active power (p_mess) which is specific for an active power injected by the
inverter (100), in particular to the grid architecture (200), - transmitting (120) the measured value of the injected active power (p_mess) from the sensor (10) to the
control unit (ECU), - receiving (130), by the
control unit (ECU), a power
setpoint (p_ref), which is specified in particular by the energy supplier (300) to the
inverter (100), - determining (140), by the
control unit (ECU), a first manipulated variable (SG1) as a function of the measured value of the injected active power (p_mess) and the power
setpoint (p_ref), in particular for setting the inverter (100) [to a target variable, comprising
setpoint frequency, setpoint phase, power setpoint], - determining (150), by the control unit (ECU), a second manipulated variable (SG2) as a function of the measured value of the injected active power (p_mess) and at least one
limit value, - determining (160), by the control unit (ECU), a third manipulated variable (SG3) as a function of the first manipulated variable (SG1) and the second manipulated variable (SG2), - controlling (170), by the control unit (ECU), the inverter (100) as a function of the third manipulated variable (SG3), in particular in order to output a final injected active power by the inverter (100) as a function of the third manipulated variable (SG3), wherein preferably a stability and / or overall performance of the grid architecture (200) is improved.