Skip to content

Dipto9999/ECE_Analysis_Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Analysis Tools : Electrical and Computer Engineering

Contents

Overview

I wrote these Python scripts and HP PPL programs as complementary tools in courses I took as part of The University of British Columbia Electrical and Computer Engineering undergraduate program.

These made my life easier in analyzing data and producing reports. Please feel free to contribute to this repo and use these tools as part of your degree.

HP Prime

These Computer Algebra Systems (CAS) programs are used in the HP-Prime Graphing Calculator to make it easier to perform circuit analysis with Modified Nodal Analysis (MNA).

You can import the code in HP_Prime to your virtual / physical device with the HP Connectivity Kit

Poles

The poles.py script can be used to generate a phasor plot of a filter with matplotlib. The plot_poles(poles, real_lim, imag_lim) function can be modified with the chart limits.

Root Locus

The root_locus.py script can be used to generate root locus plots with matplotlib. The root_locus(R, C, Am) function can be modified with the resistance, capacitance, midband gain values.

Note that this is for the predetermined transfer function below. This is implemented as part of the script, but a few changes to the underlying formulas and calculations can be used to generate plots for like transfer functions.

$$ H(s) = \frac{1}{(R \times C)^{2} \times s^{2} + \frac{(3 - A_m)}{(R \times C)} \times s + \frac{1}{(R \times C)^{2}}} $$

Phasors

I have added a phasors.py script for helping with three-phase system calculations and visualizing current-voltage relationships.

About

Analysis Tools for Electrical Engineering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages