Re: DC State estimation in matpower

2018-04-27 Thread naime ahmadi
Dear Ray, Thank you for your response. For calculating DC state estimation I use AC formula but put all voltage to 1. V = ones(size(mpc.bus_name)) [dSbus_dVm, dSbus_dVa] = dSbus_dV(Ybus, V) j = full(real(dSbus_dVa)) The problem is that my Jacobian size becomes to 14*14 but my measurement is 19

Re: DC State estimation in matpower

2018-04-20 Thread Ray Zimmerman
I not sure I follow completely, but if you are talking about line flows, rather than bus injections then you want to use Bf rather than Bbus from the return values of makeBdc(). Ray > On Apr 19, 2018, at 10:16 PM, naime ahmadi wrote: > > Dear Ray, > Thank you. I

running through consecutive time steps (was Re: DC State estimation in matpower)

2018-04-19 Thread Ray Zimmerman
Please to not reply in an existing thread with a completely unrelated question. Start a new thread. If you are not modeling any particular inter-temporal constraints, simply write a loop to run your cases. Something like … T = 24; mpc0 = loadcase(‘’); % load base case for t = 1:24 mpc =

Re: DC State estimation in matpower

2018-04-19 Thread Ray Zimmerman
> > > > Sent from my Samsung Galaxy smartphone. > > Original message > From: Saeed Ahmed <saeed.ahme...@gmail.com> > Date: 4/17/18 11:12 AM (GMT+09:00) > To: MATPOWER discussion forum <matpowe...@list.cornell.edu> > Subject: Re: DC St

Re: DC State estimation in matpower

2018-04-16 Thread naimeahmadi
yes, but Bbus is totally different with my jacobian. Sent from my Samsung Galaxy smartphone. Original message From: Saeed Ahmed <saeed.ahme...@gmail.com> Date: 4/17/18 11:12 AM (GMT+09:00) To: MATPOWER discussion forum <matpowe...@list.cornell.edu> Subject:

Re: DC State estimation in matpower

2018-04-16 Thread Saeed Ahmed
Did you try this function for calculating the H Matrix [Bbus, Bf, Pbusinj, Pfinj] = makeBdc(mpc.baseMVA, mpc.bus, mpc.branch); Regards Saeed Ahmed On 13 April 2018 at 23:09, Saeed Ahmed wrote: > The best i can do is to share a code with you... This code

Re: DC State estimation in matpower

2018-04-15 Thread Khawla Munawwer
How do you run a 30 Bus Standard Test Feeder for 24 hours. Using 15-­‐‑minute or 1-­‐‑hour intervals, the model needs to run every time step (i.e., 96 or 24) and calculating optimal set points for the scheduled generation and dispatchable loads. Can someone give me an Idea about it? Regards On

Re: DC State estimation in matpower

2018-04-13 Thread Saeed Ahmed
The best i can do is to share a code with you... This code estimates the power flow using AC estimation criteria... You have to modify it according to your needs for DC state estimation ... When you have any progress let me know... you have to try and don't give up... Regards Saeed Ahmed

Re: DC State estimation in matpower

2018-04-12 Thread naime ahmadi
Thank you. I want to calculate DC jacobuian matrix in matpower. When I compare DC jacobuian matrix with Bbus, it is totally different. How can I calculate DC jacobuian matrix ? On Tue, Apr 10, 2018 at 11:41 PM, Ray Zimmerman wrote: > If you are looking for the sensitivities of

Re: DC State estimation in matpower

2018-04-10 Thread Ray Zimmerman
If you are looking for the sensitivities of power injections w.r.t. changes in voltage angle, that would be the Bbus matrix from equation (3.32) in the User’s Manual which is returned from makeBdc()

Re: DC State estimation in matpower

2018-04-10 Thread naime ahmadi
Thank you. Actually I read that chapter. My problem is getting DC Jacobian matrix from matpower. Does j11 be the DC Jacobian matrix? mpc=loadcase('case14'); [j11,j12,j21,j22,J, Ybus, Yf, Yt] = makeJac(mpc); On Mon, Apr 9, 2018 at 7:26 PM, Saeed Ahmed wrote: > Hi

Re: DC State estimation in matpower

2018-04-09 Thread Saeed Ahmed
Hi Ahmadi... First you need to understand the DC or linear State Estimation . You can find Chap 2 of Ali Abur's Book. After that you can use the built-in functions in MATPOWER for the formulation of H vector and this all becomes simple once you have solid understanding of theory... Regards Saeed