Dear Shri, Ray Thank you very much for your response. I constructed the Ybus matrix and I found the voltage bus from Vf(f,1)=results.bus(f,VM)*exp(1j*results.bus(f,VA)*(pi/180))*mpc.bus(f,10); So in order to define the nodal currents in a 4 bus system I have to do the following calculations??
I1=Y11*V11+Y12*V2+Y13*V3+Y14*V4 I2=Y21*V1+Y228V2+Y23*V3+Y24*V4 . . . In addition, I would like to calculate the Ysh, which can be found from the equation: Ybus = CfYf + CtYt + [Ysh] But the Cf and Ct are not defined by the [Ybus, Yf, Yt] = makeYbus(baseMVA, bus, branch); How can I calculate the Cf and Ct and then eventually the Ysh? Thank you in advance, Alexandra Alexandra Kapetanaki PhD Student Electrical Energy & Power Systems Group, School of Electrical & Electronic Engineering Ferranti Building (B18), The University of Manchester, M13 9PL, United Kingdom Tel: +44 (0) 161 306 2263; Mobile: +44 (0) 7857 598179 ________________________________ From: [email protected] [[email protected]] on behalf of Abhyankar, Shrirang G. [[email protected]] Sent: 20 January 2014 13:32 To: MATPOWER discussion forum Subject: Re: addmitance matrix(zbus), nodal currents Use the routine makeYbus to construct the Ybus matrix. The nodal voltages obtained from running the power flow can be found in the bus data. From the Ybus and the nodal voltages, you can get the nodal currents. Shri From: Alexandra Kapetanaki <[email protected]<mailto:[email protected]>> Reply-To: MATPOWER discussion forum <[email protected]<mailto:[email protected]>> Date: Mon, 20 Jan 2014 12:29:37 +0000 To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: addmitance matrix(zbus), nodal currents Dear Ray, How can I extract the data of nodal currents and the bus addmitance matrix when I run AC OPF in matpower? Thank you in advance, Kind Regards, Alexandra Alexandra Kapetanaki PhD Student Electrical Energy & Power Systems Group, School of Electrical & Electronic Engineering Ferranti Building (B18), The University of Manchester, M13 9PL, United Kingdom Tel: +44 (0) 161 306 2263; Mobile: +44 (0) 7857 598179
