Exp 8 - PS 2
Exp 8 - PS 2
EXPERIMENT NO.8
TO Perform load flow analysis on a power System using N-R Method
OBJECT: - To Perform load flow analysis on a power System using N-R Method
PROGRAM:
Tol = 1;
Iter = 1; % iteration starting
while (Tol > 1e-5) % Iteration starting..
P = zeros(nbus,1);
Q = zeros(nbus,1);
% Calculate P and Q
for i = 1:nbus
for k = 1:nbus
P(i) = P(i) + V(i)* V(k)*(G(i,k)*cos(del(i)-del(k)) + B(i,k)*sin(del(i)-del(k)));
Q(i) = Q(i) + V(i)* V(k)*(G(i,k)*sin(del(i)-del(k)) - B(i,k)*cos(del(i)-del(k)));
end
end
RESULT:-
PRECAUTION:-
1. Don’t connect external device without getting it checked by lab instructor.
2. Switch off the PC properly after performing the experiment.
3. Perform the hand calculation before running the program and verify your result with that
of the simulation result.