Bus Admittance Matrix 1
implement bus admittance matrix using matlab, java and python
|
Functions | |
display_matrix (YBUS, n) | |
Display the bus admittance matrix. | |
Variables | |
n = input('Enter the number of buses: ') | |
Get the number of buses from the user. | |
choice = input('Enter 1 for impedance and 2 for admittance:') | |
Get the choice from the user - 1 for impedance and 2 for admittance. | |
y = get_input(choice,n) | |
get input from the user and calculate line admittances | |
YBUS = calculate_matrix(y, n) | |
Form the bus admittance matrix based on the input. | |
Display the bus admittance matrix.
choice = input('Enter 1 for impedance and 2 for admittance:') |
Get the choice from the user - 1 for impedance and 2 for admittance.
n = input('Enter the number of buses: ') |
Get the number of buses from the user.
Form the bus admittance matrix based on the input.