|
Bus Admittance Matrix 1
implement bus admittance matrix using matlab, java and python
|
Functions | |
| y (i, j) | |
Variables | |
| function | yp |
| Get impedance or admittance input from the user. | |
| if | choice |
| yij = input('') | |
| y | ( | i | , |
| j | |||
| ) |
| end end elseif choice |
| yij = input('') |
| end end end yp |
Get impedance or admittance input from the user.
| choice | The user's choice for input type : 1 for impedance, 2 for admittance |
| n | The number of buses |