The undesirable voltage is the chief problem for connection of DGs in distribution systems, while excessive reactive power demand from transmission system is the major concern for Transmission System Opera tors (TSO). This paper presents a new sub - framework in the reactive power management for the optimal control of voltage in the appropriate range by decreasing the voltage deviation and obtain high voltage stability margin, simultaneously. In this research, the desirable voltage profile, by a set of controllable variables in power system such as a tap of transformers, value of capacitors is investigated. To determination the value of elements in the mentioned sub - framework, the Particle Swarm Optimization (P SO) method is employed to rapidly obtain the optimum parameters due to improvement of voltage profile. Finally, the proposed method is applied on standard IEEE - 24 bus and ARAK distribution system and the results are compared to each other