Posts

Load flow analysis of a given network using MATLAB coding

Image
 We will try to code for the given network.       We are having two tasks:           1) Formation of Y bus and Z Bus matrices for given network           2) Programming of power flow using Gauss Seidel Method P1 . Program to form Admittance and Impedance Bus formation Matlab Coding: clc clear all disp( '-----------Y BUS Formation------------' ); x=input( 'Enter the number of nodes: ' ); for i=1:1:x     for j=1:1:x         if (i==j)             a(i,j)=input(strcat( 'Enter the valur of admittance Y' ,int2str(i),int2str(0), ': ' ));         else             a(i,j)=input(strcat( 'Enter the valur of admittance Y' ,int2str(i),int2str(j), ': ' ));       ...