Skip to content

DmitriyMakhnovskiy/DC_resistance_network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For more details refer to the file "Report.pdf".

In this educational project, we demonstrate the application of Python for solving DC resistance networks using matrix equations (Circuit_1.py). Students learn how to model and analyse these networks by formulating their governing equations into a system of linear equations, leveraging Python’s computational capabilities to efficiently solve for unknowns such as currents and voltages. The calculations performed in Python are further validated through LTspice simulations, providing a practical comparison between theoretical results and simulated circuit behaviour.

An important aspect of the project is the exploration of overdetermined systems of linear equations, which arise when there are more equations than unknowns (Circuit_2.py). Students are introduced to techniques for handling such systems, including the use of least-squares approximation to find the best-fit solution. This provides an opportunity to discuss the mathematical principles and practical implications of overdetermined systems in real-world applications.

By integrating Python programming, matrix algebra, and LTspice simulations, this project offers a comprehensive educational resource. Students gain hands-on experience with computational tools while deepening their understanding of electrical network analysis and the broader mathematical concepts underpinning circuit behaviour. All Python scripts and LTspice simulation files are included, enabling students to replicate and expand upon the presented examples.