**3. Mathematical Formulation**

The proactive reactive power management accounts for the uncertainty factor of renewable energy sources (RES). By utilizing the policies mentioned in Section 3.1, the proposed tool aims to manage the reactive power of the distribution network and to provide reactive power control according the TSO needs.
