Recently, lots of distributed energy resources such as PV are connected to the distribution network, hence causing some technical problem. One of the problem is voltage violation. In order to resolve the voltage violation, existing inverter monitors its node voltage and manipulate reactive power to maintain the voltage while generating maximum active power. If the inverter capacity gets full, it has to reduce the active power generation if voltage is too high even if it can generate more active power, say when sun is shiny.