I am currently working on a project,volt-var controlling for distributed energy resources (mainly for photovoltaic systems). Even though I have an algorithm to work on, there is no way to control the active and reactive power of a PV system. I hope for an answer. Thank you in advance.