A program to calculate Y Bus matrix for any power transmission system. On executing the program, a new excel sheet gets created and opens where the user is asked to enter the desired values for line data and from there, the program fetches these data and creates Y Bus matrix.