◆ calculate_matrix()
| static Complex[][] Zbus_Java.calculate_matrix |
( |
Complex |
y[][], |
|
|
int |
n |
|
) |
| |
|
static |
This function calculates the bus admittance matrix.
- Parameters
-
| y | Line admittance matrix |
| n | Total no.of buses in the system |
- Returns
- Ybus Bus admittance matrix
Initialize the bus admittance matrix
External loop
Internal loop
◆ calculate_zbus()
| static Complex[][] Zbus_Java.calculate_zbus |
( |
Complex |
Ybus[][], |
|
|
int |
nbus |
|
) |
| |
|
static |
This function calculates the bus impedance matrix.
- Parameters
-
| Ybus | Bus admittance matrix |
| n | Total no.of buses in the system |
- Returns
- Zbus Bus impedance matrix
◆ display_matrix()
| static void Zbus_Java.display_matrix |
( |
Complex |
Zbus[][], |
|
|
int |
nbus |
|
) |
| |
|
static |
This function displays the bus admittance matrix.
- Parameters
-
| Zbus | Bus impedance matrix |
| n | Total no.of buses in the system |
◆ get_input()
| static Complex[][] Zbus_Java.get_input |
( |
int |
choice, |
|
|
int |
nbus |
|
) |
| |
|
static |
This function takes the input from the user.
- Parameters
-
| choice | User choice: 1 for impedance and 2 for admittance |
| nbus | Total no.of buses in the system |
- Returns
- y line admittance matrix
Initialize the line admittance matrix
◆ main()
| static void Zbus_Java.main |
( |
String[] |
args | ) |
|
|
static |
The documentation for this class was generated from the following file: