1 Introduction

In recent years load demands are dynamically increasing as a result of which some of the transmission lines carries power above the normal capacity. Fulfilling the required demand by constructing new transmission lines or by placing the static capacitors is not feasible due to political and economic factors, also static capacitor once charged suffers from sub synchronous resonance condition. The system capacity may be increased by improving performance of the lines and minimizing the losses. In last few decades, FACTS devices provide the best solution in this aspect due to its unique features such as increased transmission capacity, maintenance of electrical and thermal stability and mitigation of sub synchronous resonance. The ORPD ensures the security, reliability operation of power system. In this work two FACTS devices, namely, Static Var Compensator (SVC) and Thyristor Controlled Series Compensator (TCSC), have been incorporated in IEEE- 14, -30 and -57 bus system.

The existing transmission line become overloaded with day-to-day increased load demand, which causes stability problems in power system. Voltage stability is maintained using SVC and TCSC using sequential quadratic programming (Aghaei et al. 2012). The congestion issue has been solved by optimally coordination of FACTS devices as well as demand response to attain reduced market operation and re-dispatch cost (Yousefi et al. 2012). The control parameter and location of FACTS devices generally varies based on the different approaches. Pricing and sensitivity-based approach with interior point method has been chosen to find the location for the placement of Unified Power Flow controller (UPFC) and thereby helps to minimize the real power loss and operating cost (Singh 2016). Brain storm optimization algorithm has been applied to find the location of SVC and TCSC for enhancement of voltage profile and stability (Dash et al. 2020). JAYA blended MFO which is a hybrid form of MFO (Moth Flame Optimization) is used in Jordehi (2015) for reducing active power loss. The minimization of cost and maximization of annual benefit is achieved by hybrid PSO using FACTS devices in Wibowo et al. (2011). The efficacy of Moth Flame Optimization (MFO) has been shown over Symbiotic organism Search (SOS) and PSO to reduce real power loss using SVC and TCSC is shown in Kar et al. (2020). Gravitational search algorithm (GSA) has been reduced active loss and cost with increased active and reactive loadings on line of test bus systemin (Bhattacharyya and Kumar 2016). The optimal power flow problem (OPF) has been solved using GSA (Duman et al. 2012). The load ability of lines has been improved using TCSC, SVC and Thyristor controlled phase shifting transformer (TCPST) (Nagalakshmi and Kamaraj 2012). In (Mohanty and Tripathy 2016), teaching and learning based optimization technique (TLBO) has been used to configure and locate distributed generator. The TLBO method has been used to solve bigger size nonlinear problem (Rao et al. 2012). SVC, TCSC, tap settings and var generations have been ameliorated using GSA to reduce congestion (Bhattacharyya and Kumar 2016). GSA and PSO results have been compared for TCSC and SVC values to plan reactive power flow in lines (Bhattacharyya and Kumar 2015). Multiple objectives related to congestion have been optimized using FACTS using pareto solution set in Esmaili et al. (2014). The best VAR reserve for a given period is calculated for a forecasted load using IEEE 6 and 57 bus systems (El-Araby and Yorino 2018), but different loading conditions has not been considered. Using autonomous groups PSO, the ideal location and size of the SVC in IEEE 14 and 30 bus systems has been determined in Shehata et al. 2021. In (Hassan et al. 2013), GA has been used to reduce damping ratio using UPFC by controlling its parameters. The load ability of lines has been improved by optimizing the values of TCSC, TCPST, thyristor controlled var regulator (TCVR) using GA in Gerbex et al. (2001). The optimal power flow problem was handled using multi-FACTS devices (Biswas et al. 2021), which provided a solution for fixed loading but did not consider active or reactive loading. Optimal power flow using multiple UPFC has been achieved using GSA and results are compared with various metaheuristic algorithms (Sarker and Goswami 2014). The hybrid form of multi objective PSO is utilized in Roselyn et al. (2018) to manage the reactive power for stability improvement under the normal and stressed conditions. To investigate the impact of FACTS devices, the OPF problem with the UPFC model was solved via lightning attachment procedure optimization (Taher et al. 2020). The bio inspired optimization techniques were tested under different operation cases such as an increase in load, with and without FACTS and renewable energy sources, and different renewable energy source locations on the network to consider and address the challenges of the OPF in modern power network models (Nusair et al. 2021). The ideal positions of phasor measurement unit (PMUs) are found using a voltage indicator approach in Babu et al. (2020), which is determined using a revolutionary deterministic method based on a linear logic programme model. To reduce the quantity of PMUs in the electrical market, a modified branch and bound algorithm (Babu et al. 2021a) is utilised. Also, a non—linear programming-based approach (Babu et al. 2021b) is proposed to solve optimal PMU location issue for overall power network observability with considering the contingency. Along these lines, to reach their objective the authors have utilized various optimization techniques such as particle swarm optimization (PSO) (Kumar et al. 2021; Kar et al. 2021), biogeography-based optimization (BBO) (Bhattacharya and Chattopadhyay 2011), and Krill heard Algorithm (KHA) (Mukherjee and Mukherjee 2015).

In recent times several methods have been applied to improve the performance of the system in terms of reduction of the power losses and operating cost. But, since these methods are stochastic in nature, there is always a chance of improvement. In this work, the better performance of IEEE -14, -30 and -57 bus system is achieved using the TLBO technique.

2 Objective function

The main aim of this work is to relieve congestion from lines which in this paper is created with two cases of various loading conditions, first case by increasing reactive loading to 1.5 and 2 times the base loading and in second case by increasing both active and reactive loading to 1.1 and 1.2 times of base loading. If lines are freed of reactive power, then more space can be fostered for active power flow which in turn could fulfill demands Also, if our active power loss is reduced then lines transfer capability will be alleviated. FACTS installation is a costly affair, but if overall operating cost of the system is reduced after FACTS placement, then also congestion problem is said to be solved. Loss function is given by Eq. (1),

$$P_{L} = \sum\nolimits_{{\user2{x = }\left( {\user2{m,n}} \right)}}^{{\varvec{q}}} {g_{x} \left\{ {V_{m}^{2} + V_{n}^{2} - 2V_{m} V_{n} \cos \delta_{mn} } \right\}}$$
(1)

\(P_{L}\) is the active power loss of system, where \(g_{x}\) is the conductance of line between buses ‘m’ and ‘n’ and \(\delta_{mn}\) is the phase difference between these buses. Loss is function of line conductance and bus voltages which are influenced by TCSC and SVC. Overall operating cost is given by Eq. (2),

$$C_{total} = C_{system} + C_{SVC} + C_{TCSC}$$
(2)
$$C_{SVC} = 0.0003Bsvc^{2} - 0.3051Bsvc + 127.38 US\$ pu$$
(3)
$$C_{TCSC} = 0.0015xtcsc^{2} - 0.7130xtcsc + 153.75 US \$ pu$$
(4)

where \(C_{system}\) is cost due to energy loss which is evaluated as \(P_{L}\) × 0.06 × 100,000 × 8760.,\(C_{SVC}\) is the cost of SVC which depends on the shunt susceptance value \(Bsvc\) and \(C_{TCSC}\) is the cost of TCSC which again depends on its reactance value given by \(xtcsc\). Energy cost is taken as 0.06 $/Kwhr and cost is referred from Bhattacharyya and Kumar (2016).

Constraints always come in picture for defining objective function boundaries. Some inequality constraints are shown for active power, reactive power, voltage magnitude, SVC value and TCSC value respectively from Eq. 5, 6, 7, 8, 9 respectively.

$$P^{min} \le P \le P^{max}$$
(5)
$$Q^{min} \le Q \le Q^{max}$$
(6)
$$0.9 pu \le V \le 1.1 pu$$
(7)
$$0.05 pu \le Bsvc \le 0.15 pu$$
(8)
$$0.01 pu \le xtcsc \le 0.06 pu$$
(9)

3 Proposed approach

Congestion is created by increasing reactive loading for IEEE- 14, IEEE-30 and IEEE-57 bus systems to 1.5–2.0 times base loadings and also by increasing active and reactive loading to 1.1 to 1.2 times base loadings. The Power Flow studies has been achieved using Newton- Raphson’s load flow method. From this analysis, the lines carrying the maximum reactive power and weak buses are identified. The TCSC and SVC are placed in these lines and buses respectively. The existing KHA, PSO, BBO and proposed TLBO optimization techniques are used to configure SVC, TCSC, Tap changers and Var generations of generators for minimization of active power loss and operating cost as an objective function.

3.1 Teaching and learning based optimization technique (TLBO)

The problems of Loss and Cost functions are nonlinear functions which could be properly solved by the meta-heuristic optimization technique TLBO. It is based “on the influence of teacher on output of learner in a class” (Rao et al. 2012). Because the TLBO algorithm has few parameters, a fast convergence capability, and a strong global search ability, the basic form of the TLBO algorithm was utilized in this study to answer the research objectives of optimal reactive power dispatch under various operating situations.

Teaching and learning principles define TLBO and output is result secured by students. A good teacher infuses great knowledge to his students who perform better when they properly interact with their mates. TLBO like other nature inspired algorithm is a population-based methodology; here mean result of learners is the considerable factor. First students’ population is defined and later mean is calculated from this. The global best value of learner is obtained by calculations from both teacher’s and learners’ phase (that is both their contributions). Motion induced by other krill individuals (\(N_{i}\)).

3.1.1 Teacher phase

Teacher aims to increase the mean but increasing mean is a random process. \(X_{teach}\) is the new mean and it is determined by best learner in class. So, the solution is updated as per the difference between the existing and new mean, this difference is

$$d = r_{i} \left( {X_{teach} - T_{f} M_{i} } \right)$$
(10)
$$T_{f} = round\left[ {1 + rand\left( {0,1} \right)\left\{ {2 - 1} \right\}} \right]$$
(11)

\(T_{f}\) is the teaching factor that decides the mean value, \(r_{i}\) is the random number that belongs to the number either 1 or 2. \(M_{i}\) and \(T_{i}\) are the mean and teacher at ith iteration and teacher tries to improve the mean to value \(X_{teach}\).

$$X_{new,i} = X_{o,i} + d$$
(12)

\(X_{new,i}\) is the modified solution and if it gives better fitness then it will be considered, otherwise it is discarded, \(X_{o,i}\) is the previous value of learners. After this, solution is again optimized by learner’s phase.

3.1.2 Learner phase

Learner learns fast when he shares his knowledge with fellow mates and it is achieved in this section. Another learner is selected from the population and if it gives better fitness then new solution is updated as

$$X_{new, i} = X_{o,i} + r_{i} \left( {X_{j} - X_{i} } \right)$$
(13)

Otherwise, new solution is

$$X_{new, i} = X_{o,i} + r_{i} \left( {X_{i} - X_{j} } \right)$$
(14)

This new solution is again tested for better fitness if it gives better result then, it is accepted least previous value is considered. The flowchart of proposed TLBO method for ORPD problem is depicted in Fig. 1.

Fig. 1
figure 1

Flowchart of proposed TLBO method

3.2 Configuration of TCSC and SVC

The location for placement on IEEE-14, IEEE- 30 and IEEE-57 bus system is determined optimal power flow using Newton- Raphson’s load flow method. The lines and buses are keenly observed for maximum reactive flow and minimum bus voltages respectively. For more convergence line that are connected to generator buses are not considered. Once location is ascertained the configuration of parameters are to be defined wisely which is done by optimization techniques. For TLBO, initially population is defined: Var generations of generators, SVC, TCSC and tap changer settings are considered as learners. Mean of the values of population is calculated and the learner who gives minimum loss and minimum cost is considered as teacher. The new solution is calculated using Eq. 13 and again tested for better fitness. This ends teacher’s phase and for learner’s phase again a learner from defined population is compared with current learner to give better result. With respect to this, new solution is calculated using Eq. 13 and 14. Calculation for parameters value is also done using Krill Herd, BBO and PSO techniques to compare the results as to which technique is better in solving the objective function. Results are tested for different reactive loadings that are, 150% and 200% of base reactive loading and also for both active and reactive loading of 110% and 120% of base loading. Variables for 14 bus system 3 tap changer, 4 generators, 3 SVCs on 10,13,14 buses and 1 TCSC on line no. 7, for 30 bus system 4 tap changers, 5 generators, 4 SVCs on 7, 15, 17, 21 buses and 4 TCSCs on 5, 25, 28, 41 lines and for 57 bus system 15 tap changer, 6 generators, 4 SVCs on 32, 25, 42 and 57 buses and 4 TCSCs on 20, 65, 55 and 44 lines.

4 Results and discussions

Table 1, 2 and 3 shows the loss reduction by incorporating FACTS controllers considering base or nominal loading, reactive loading and both active and reactive loadings for IEEE 14, IEEE 30 and IEEE 57 test bus systems respectively. The real power losses are evaluated at base, 150 and 200 percentage of reactive loading, and 110 and 120 percentage of active and reactive loadings. It is concluded from the analysis shown in the table, the TLBO technique outperforms the other methods like as KHA, BBO, and PSO in terms of loss reduction.

Table 1 Real power Loss with various loading scenarios in IEEE 14 bus system
Table 2 Real power Loss with various loading scenarios in IEEE 30 bus system
Table 3 Real power Loss with various loading scenarios in IEEE 57 bus system

Table 4, 5 and 6 shows operating cost in absence and presence of FACTS controllers considering base loading, reactive loading, and active and reactive loading. Since the reactive power is properly optimized in lines and hence the losses are reduced. Net Savings (in $/p. u) is also shown which is the difference of the overall cost before and after using the FACTS controllers. It is noticed that incorporating FACTS controllers with TLBO technique gives better savings as compared to other discussed techniques. An approximate of 30–50% savings in cost is achieved when the control variables are optimized using TLBO technique whereas 20–35% savings is obtained by KHA, BBO, and PSO in all the types of loading with IEEE- 14, 30 and 57 test bus system. The cost of FACTS devices configured by TLBO is very cheap while the others method configured FACTS devices are expensive. As cost of FACTS depends on susceptance and reactance value, so smaller values for these parameters are chosen in the TLBO technique.

Table 4 Analysis of Operating cost before and after using FACTS for various types of loading in IEEE 14 bus system
Table 5 Analysis of Operating cost before and after using FACTS for various types of loading in IEEE 30 bus system
Table 6 Analysis of Operating cost before and after using FACTS for various types of loading in IEEE 57 bus system

Table 7, 8 and 9 shows real power loss reduction at various types of loading with different optimization techniques. It is noticed that incorporating FACTS controllers with TLBO technique gives better reduction in losses as compared to other discussed techniques in all the cases such as at base loading, reactive loading or active and reactive loading in all the three-test bus system.

Table 7 Real Power Loss reduction (in %) at various types of loading with different techniques in IEEE 14 test bus system
Table 8 Real Power Loss reduction (in %) at various types of loading with different techniques in IEEE 30 test bus system
Table 9 Real Power Loss reduction (in %) at various types of loading with different techniques in IEEE 30 test bus system

Figures 2, 3, 4, 5 and 6, Figs. 7, 8, 9, 10 and 11 and Figs. 12, 13, 14, 15 and 16 shows the operating cost variation with respect to no. of iteration using KHA, PSO, BBO and TLBO method at distinct loading conditions for IEEE 14, IEEE 30 and IEEE 30 bus system respectively. All the aforesaid techniques are being simulated for 1000 iterations and population no. holds as 40 for both the test bus network. Here the comparison of operating cost using various techniques are represented. It is clear that TLBO yields better convergence rate as compared with other described techniques in terms of operating cost for all distinct reactive loading conditions as well as distinct active and reactive loading conditions.

Fig. 2
figure 2

Operating cost variation with iteration using various algorithms at 100% loading for IEEE 14 bus system

Fig. 3
figure 3

Operating cost variation with iteration using various algorithms at 150% loading for IEEE 14 bus system

Fig. 4
figure 4

Operating cost variation with iteration using various algorithms at 200% loading for IEEE 14 bus system

Fig. 5
figure 5

Operating cost variation with iteration using various algorithms at 110% loading for IEEE 14 bus system

Fig. 6
figure 6

Operating cost variation with iteration using various algorithms at 120% loading for IEEE 14 bus system

Fig. 7
figure 7

Operating cost variation with iteration using various algorithms at 100% loading for IEEE 30 bus system

Fig. 8
figure 8

Operating cost variation with iteration using various algorithms at 150% of reactive loading for IEEE 30 bus system

Fig. 9
figure 9

Operating cost variation with iteration using various algorithms at 200% of reactive loading for IEEE 30 bus system

Fig. 10
figure 10

Operating cost variation with iteration using various algorithms at 110% active and reactive loading for IEEE 30 bus system

Fig. 11
figure 11

Operating cost variation with iteration using various algorithms at 120% active and reactive loading for IEEE 30 bus system

Fig. 12
figure 12

Operating cost variation with iteration using various algorithms at 100% loading for IEEE 57 bus system

Fig. 13
figure 13

Operating cost variation with iteration using various algorithms at 150% of reactive loading for IEEE 57 bus system

Fig. 14
figure 14

Operating cost variation with iteration using various algorithms at 200% of reactive loading for IEEE 57 bus system

Fig. 15
figure 15

Operating cost variation with iteration using various algorithms at 110% active and reactive loading for IEEE 57 bus system

Fig. 16
figure 16

Operating cost variation with iteration using various algorithms at 120% active and reactive loading for IEEE 57 bus system

5 Conclusion

In this paper, the proposed TLBO technique is implemented on standared IEEE 30 and 57 buses with TCSC and SVC devices for the minimization of active power loss under increased reactive and both active and reactive loading conditions. The supremacy of the proposed method is justified by comparing with some of the promising techniques. The simulation result shows that the proposed TLBO technique results minimum active power loss as compared to the other tecniques. It is found that using TLBO method, the active power loss is reduced to 22.28%, 40.93% and 20.01% for IEEE-14, -30 and -57 bus systems respectively. In addition to this, the system operating cost is also found to be reduced.The proposed technique also yields faster convergence rate. The proposed method can be used in future work to solve complicated power system optimization problems. Additionally, this work may be extended with optimal placement of DG sources for better performance. This will help in determining the usefulness and robustness of the proposed method in dealing with a variety of challenging constraints in real world applications.