Effect of Series and Parallel Compensation on Operating Reliability of Transmission System