Harmonic Analysis of Alternating Current Electrical Circuits Using the Node Potential Method in Python

Abstract

The goal of the final thesis was to automate the calculation of the node potential method using a program written in Python. AC circuits were used and, in this case, complex numbers that had to be included in the program were used. The second chapter describes the node potential method. The formulas show what is needed to calculate it. The third chapter covers the history of the Python programming language. After that, some features of Python are shown with a visual display using tables. The NumPy library, which was the basis of the program itself, is also mentioned. The fourth chapter presents examples that describe the entire program. The first example describes the entire program code in detail. The examples show how the program is able to solve circuits with and without a current source.

Type