From: Alexandra Kapetanaki <alexandra.kapetan...@manchester.ac.uk<mailto:alexandra.kapetan...@manchester.ac.uk>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Date: Tue, 21 Jan 2014 12:37:07 +0000 To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Subject: RE: addmitance matrix(zbus), nodal currents
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); Note that all quantities in MATPOWER are in pu. So its best to do all the calculations first in pu and then do the conversion to appropriate voltage/current/power bases. 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 Yes, but use the matrix form instead of explicitly writing down the equations I = Ybus*V . . . 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? You don't need to compute the incidence matrices Cf and Ct to obtain the shunt admittance Ysh. The shunt admittance data is included in the MatPower bus data: bus(:,GS) and bus(:,BS). Shri 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: bounce-112019008-46384...@list.cornell.edu<mailto:bounce-112019008-46384...@list.cornell.edu> [bounce-112019008-46384...@list.cornell.edu<mailto:bounce-112019008-46384...@list.cornell.edu>] on behalf of Abhyankar, Shrirang G. [abhy...@mcs.anl.gov<mailto:abhy...@mcs.anl.gov>] 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 <alexandra.kapetan...@manchester.ac.uk<mailto:alexandra.kapetan...@manchester.ac.uk>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> Date: Mon, 20 Jan 2014 12:29:37 +0000 To: "matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>" <matpowe...@list.cornell.edu<mailto:matpowe...@list.cornell.edu>> 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