assignment 8solution
DESCRIPTION
abcdefTRANSCRIPT
EECE-553 (Assignment 8)
Submitted By:Uday KakkarUBC ID: 68613141
% Variation of Voltage with respect to Power p=1:0.1:53; % real powerv=1.03; % voltage at bus 1q=0.2; % reactive power injected into the loadr=0.01; % line impedence V21=sqrt(((v.^2-(2*q*r))+sqrt(v.^4-(4*q*r*v.^2)-(4*r.^2*(p.^2))))/2)V22=sqrt(((v.^2-(2*q*r))-sqrt(v.^4-(4*q*r*v.^2)-(4*r.^2*(p.^2))))/2) plot(p,V21,p,V22,'b--');xlabel('Real Power (P)');ylabel('Voltage (Vload)');title('Variation of Voltage with respect to Power');