Re: Extracting Branch Data

2015-02-22 Thread Deep Kiran
Hi Bijay, You can use m=loadcase('case') to load each data in m as structure. m.baseMVA, m.gen, m.bus, m.branch, m.gencost. For total number of buses: i.e. m = loadcase(case30); nbus = numel(m.bus(:,1)); I hope this will help. -- regards Deep Kiran

Extracting Branch Data

2015-02-22 Thread Bijay Hughes
Dear MATPOWER Users, How can one extract fbus shown below. What is the matpower command for extracting fbus? %% branch data % fbus tbus r x b rateA rateB rateC ratio angle status angmin angmax mpc.branch = [ 1 2 0.01938 0.05917 0.0528 9900 0 0 0 0 1 -360 360; 1 5 0.05403 0.22304 0.0492 9900 0 0

答复: Errors on distribution network OPF

2015-02-22 Thread Hui Guo
Hi, Ray, thanks for your help. Following your instruction, I can apply find_islands function. The group cell from result is correct. However, ​the isolated cell is empty. Do you know why that cell is empty? and how to let it show me the isolated buses? I can write a line to extract isolated

Re: Extracting Branch Data

2015-02-22 Thread Bijay Hughes
got it! thanks On Mon, Feb 23, 2015 at 5:36 AM, Vladimir Frolov vladimir.fro...@skolkovotech.ru wrote: google for mat lab variables. this is just about to take value from the matrix Best, Vladimir 22 февр. 2015 г., в 7:23, Bijay Hughes bijayhughe...@gmail.com написал(а): Thanks so

Re: Extracting Branch Data

2015-02-22 Thread Vladimir Frolov
google for mat lab variables. this is just about to take value from the matrix Best, Vladimir 22 февр. 2015 г., в 7:23, Bijay Hughes bijayhughe...@gmail.com написал(а): Thanks so much. I got the part on total number of buses. But what about extracting fbus or tbus? Could you please tell me

Convergence Issue for Distribution Network Power Flow Analysis

2015-02-22 Thread #ZHANG TIAN#
Dear All, I am using Matpower for a distribution network power flow analysis. The data I used are taken from a real network, and the network is working fine using PowerWorld simulator. Basically, it is a radial network with 14 buses. Bus 1 is the connection point to the main grid, which I