Bus Admittance Matrix 1
implement bus admittance matrix using matlab, java and python
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
lineflow_loss Class Reference

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)
 

Detailed Description

Main class to calculate line flows and losses

Functions:

  1. get_input(n,V,I,Y): Takes input from the user
  2. calculate_lineflow_loss(n,V,I,y): Calculates line flows and losses
  3. display_output(n,V,I,S,SL): Displays the output
  4. main(): Main function to run the program

Member Function Documentation

◆ calculate_lineflow_loss()

static ArrayList< Complex[][]> lineflow_loss.calculate_lineflow_loss ( int  n,
Complex  V[][],
Complex  I[][],
Complex  y[][] 
)
static

Function to calculate line flows and losses

Parameters
ntotal no.of buses
Vvoltage matrix
Icurrent matrix
yline admittance matrix
Returns
ArrayList of matrices S,SL

◆ display_output()

static void lineflow_loss.display_output ( int  n,
Complex  V[][],
Complex  I[][],
Complex  S[][],
Complex  SL[][] 
)
static

Function to display the output

Parameters
ntotal no.of buses
Vvoltage matrix
Icurrent matrix
Sline flow matrix
SLline loss matrix

◆ get_input()

static ArrayList< Complex[][]> lineflow_loss.get_input ( int  n,
Complex  V[][],
Complex  I[][],
Complex  y[][] 
)
static

Function to take input from the user

Parameters
ntotal no.of buses
Vvoltage matrix
Icurrent matrix
yline admittance matrix
Returns
ArrayList of matrices V,I,y

◆ main()

static void lineflow_loss.main ( String[]  args)
static

Main function to run the program

Parameters
args

The documentation for this class was generated from the following file: