Re: save losses

2016-02-12 Thread Ray Zimmerman
Are you using the latest MATPOWER release (v5.1)? Type mpver to find out what version you have. Ray > On Feb 12, 2016, at 4:33 PM, Fereshteh Moghateli > wrote: > > this command gives this error " ??? Undefined function or method 'get_losses' > for input arguments

Re: save losses

2016-02-12 Thread Shruti Rao
Hi Fereshteh, get_losses is an inbuilt MATPower function that computes the branch losses and can also compute the reactive injections from line charging. It can also compute the derivatives with respect to voltage etc. , the details can be found in the manual in Chapter 9. Shruti On Fri, Feb

Re: save losses

2016-02-12 Thread Fereshteh Moghateli
What do you mean by (get_losses)? thank you On Sat, Feb 13, 2016 at 12:05 AM, Ray Zimmerman wrote: > I’m not sure what you mean by “save losses” and “50 PF iteration”. If you > mean something like record the value of total branch active power losses > for 50 different power

Re: save losses

2016-02-12 Thread Ray Zimmerman
I’m not sure what you mean by “save losses” and “50 PF iteration”. If you mean something like record the value of total branch active power losses for 50 different power flow runs, then you could do something like the following: losses = zeros(50, 1); mpc = loadcase(); for k = 1:50 r =

save losses

2016-02-12 Thread Fereshteh Moghateli
hi community how to save losses in matpower in for example 50 PF iteration?

Re: How to model a substation in Matpower

2016-02-12 Thread Abhyankar, Shrirang G.
Dear Matpowers, Hope you are doing great. We are trying to run PF for a distribution network in Matpower. Since the R/X ratio is acceptable we tried NR. It did converge, however, the loss is not correct. The loss formulae used in MATPOWER are given in section 9.2.4 of the manual