This is a simple analogical approach to calculate the reactive power by using proposed method of power flow analysis in the transmission line. The MATLAB is used for power flow analysis and identified the unhealthy bus of a power system. The microcontroller is used for sensing the voltage level of the transmission line. The thyristor controlled reactor and thyristor switched capacitor are used for voltage control where switching control of thyristor is managed by microcontroller by providing appropriate gate pulse according to the condition of the transmission line.