|
Bus Admittance Matrix 1
implement bus admittance matrix using matlab, java and python
|
Static Public Member Functions | |
| static void | main (String[] args) |
| static ArrayList< Complex[][]> | get_input (int n, Complex[][] V, Complex[][] I, Complex[][] y) |
| static ArrayList< Complex[][]> | calculate_lineflow_loss (int n, Complex[][] V, Complex[][] I, Complex[][] y) |
| static void | display_output (int n, Complex[][] V, Complex[][] I, Complex[][] S, Complex[][] SL) |
Main class to calculate line flows and losses
Functions:
|
static |
Function to calculate line flows and losses
| n | total no.of buses |
| V | voltage matrix |
| I | current matrix |
| y | line admittance matrix |
|
static |
Function to display the output
| n | total no.of buses |
| V | voltage matrix |
| I | current matrix |
| S | line flow matrix |
| SL | line loss matrix |
|
static |
Function to take input from the user
| n | total no.of buses |
| V | voltage matrix |
| I | current matrix |
| y | line admittance matrix |
|
static |
Main function to run the program
| args |