Analytical Method for Reactive Power Compensators Allocation