Codes - Load flow Analysis

Codes, equations and algorithms for load flow analysis in power systems.

This project is maintained by Sree2011

Home

Bus impedance matrix(Zbus)

Class Diagram

classDiagram
    class Complex{
        - float real
        - float imaginary
        + Complex(float real,float imaginary) Complex
        + getReal() float
        + getImag() float
        + fromString(String s) Complex
        + findMax(int[] array) int
        + add(Complex other) Complex
        + subtract(Complex other) Complex
        + multiply(Complex other) Complex
        + divide(Complex other) Complex
        + negate(Complex other) Complex
        + reciprocal(Complex other) Complex
        + toString() String
    }

    class Matrix_Functions{
        + getCofactor(Complex[][] A, Complex[][] temp, int p, int q, int n) void
        + determinant(Complex[][] A, int n) Complex
        + adjoint(Complex[][] A, Complex[][] adj) void
        + inverse(Complex[][] A) Complex[][]

    }

    class Zbus_java{
        - Scanner sc
        + get_input(int choice, int n) Complex[][]
        + calculate_matrix(Complex[][] y,int n) Complex[][]
        + calculate_zbus(Complex[][] ybus) Complex[][]
        + display_output(Complex[][] zbus) void
    }

    Zbus_java --> Complex : uses
    Zbus_java --> Matrix_Functions : uses
    Matrix_Functions --> Complex : uses

Documentation

Here are the links to the documentation:

Language Link
Python Zbus_python
Java Zbus_java
MATLAB Zbus_matlab