
Objectives of this course and free resources you can visit in parallel to this course.
Definition of a graph with an introduction to Nodal Analysis and Modified Nodal Analysis.
Define the process to get the MNA system of equations and apply it to a simple circuit.
Observations on the system of equations established in the previous video (MNA Basics - Example 1 - Part 1).
Applying the process to get the MNA system of equations to a second circuit.
Observations on the system of equations established in the previous video (MNA Basics - Example 2 - Part 1).
Application of the MNA principles to a new circuit without writing down the equations one by one, using the observations made in the previous lectures.
Application of the MNA principles to a second circuit.
Presentation of the MNA algorithm to implement later in this course.
How to get the branch voltages and currents after solving the MNA system of equations? Presentation of Approach 1.
Introduction of the incidence matrix and the two relevant equations involving this matrix.
Complete equation for currents with Approach 2, using the incidence matrix and the branch admittance matrix.
Reminder of the trapezoid area formula to get comfortable with the proof of the trapezoidal rule.
Proof of the trapezoidal rule.
Presentation of the common representation of inductors and capacitors in time domain.
Description of the iterative process to solve LC circuits in time domain.
Proof of the inductor model using the trapezoidal rule.
Proof of the capacitor model using the trapezoidal rule.
Impact of the inductor and capacitor models on the MNA matrix equation.
This exercise should help you for the more complex proof of the MNA formulation.
Solution to the exercise presented in the previous lecture.
Now you've seen the proof the nodal analysis system of equations, you are ready to try to establish the proof of the MNA formulation! Beware, it's more challenging!
Solution to the exercise presented in the previous lecture.
Python Installation and Set Up.
Presentation of common code editors and IDEs suitable for programming in Python.
Exercises to practice what we've covered so far.
Solution to the exercises presented in the previous lecture.
Advice before starting programming.
Presentation of the input format and some information on the proposed solution.
Presentation of the input format and some expected challenges.
Presentation of the input format and some notes before starting coding.
Presentation of the challenges covered in this section.
Welcome to one of the very few online courses that will teach you how to develop an electrical circuit solver!
Are you interested in the theory used in most circuit simulators and how to implement it yourself?
Are you an electrical engineering student/professional wishing to develop coding skills?
Would you like to switch to a software engineering career and start with a programming project linked to electrical engineering?
If the answer to any of these questions is yes, this course is for you.
If you are a university student, you will find that this course is complementary to your curriculum.
You will discover Modified Nodal Analysis (MNA), a powerful method to solve electrical circuits. Leonhard Martin Wedepohl, a noted electrical engineering educator, emphasised that "the absence of this circuit analysis technique from many academic engineering courses is totally at variance with its widespread application in modern circuit simulation packages". And here is where you can learn this awesome technique!
Please note that this course does not cover the development of a graphical interface for drawing electrical circuits. However, this may be your next project after completing this one!
In the theory part of this course, you will get the foundations to build a circuit solver both in time domain and frequency domain. Although the implementation only covers independent voltage sources, independent current sources and RLC elements, modelling other components will require minimal additional effort!
If you have never programmed in Python, don't worry, we have dedicated a section to teach you how to code in Python as well as all the language concepts you need to complete this project! There are many exercises along the way before beginning the development of your circuit solver. These exercises will let you feel better ready for the real project.
You will start your program with a warmup challenge: build a DC solver in steady state. Once done, you will continue with the development of a frequency domain solver followed by a time domain solver.
During your adventure, you will learn an essential software engineering concept: version control. This will make it easier for you to monitor the progress of your development and avoid any loss of information if you screw things up or your program crashes at any time! In this course, you will use Git with GitHub (you will have to create a GitHub account -it's free- to better understand and apply version control concepts).
The last section of this course focuses on improving the structure of your code and defining an appropriate output format for your end-user.
If, at the end of this course, you are keen to continue with this project and develop further functionalities, you will find many creative opportunities that will help you to expand your programming skills and, in addition, enable you to show up with great achievements to employers! If you need guidance, some improvement suggestions are listed in the very last lecture of this course.