Re: Matpower6.0b1 - bug report: makeBdc() dimensioning of Bf

2016-09-19 Thread Ray Zimmerman
Thanks for sending me the example, Samuel, and I agree it was a bug. I fixed it for the next version by changing line 76 of makeBdc() to: Bf = sparse(i, [f; t], [b; -b], nl, nb); However, to avoid other errors, when removing branches from service one should always check for isolated buses and

Re: Importing VSC HVDC data from a RAW file

2016-09-19 Thread Ray Zimmerman
No, unfortunately, the RAW file conversion does not currently handle VSC HVDC. Contributed patches are welcome. Ray > On Aug 31, 2016, at 11:00 AM, Conroy, James wrote: > > Hello MATPOWER users, > > Does MATPOWER import VSC HVDC data from a RAW file? I see that

Re: Error Importing RAW File

2016-09-19 Thread Ray Zimmerman
Can you send me the file off-list and I’ll look into it? Ray > On Sep 1, 2016, at 5:09 AM, Conroy, James wrote: > > Hi, > > I get this error when importing a v32 RAW file. > > Parsing 1093 lines of 2-winding transformers (1) data ??? > Error

Re: Why IPOPT is much slower than the MIPS and Who have the Pre-built MEX binaries of IPOPT-PARDISO for WIN?

2016-09-19 Thread Ray Zimmerman
In my experience, relative performance between different solvers (e.g. MIPS, IPOPT, Knitro) can vary widely from problem to problem, so the solvers that are faster on average, may not be faster on a particular problem. On my system, using IPOPT with PARDISO, I get the following solve times and

Re: Confused about ramp constrains

2016-09-19 Thread Ray Zimmerman
The RAMP_10 and RAMP_30 columns of the gen matrix are used to define the physical ramping capability of the generator. RAMP_10 limits the difference between base and contingency dispatches (or the amount of reserves a unit can supply when using a fixed zonal reserve requirement). RAMP_30 limits

Re: Admittance formula for branches with transformers

2016-09-19 Thread Ray Zimmerman
It’s a simple summation of the corresponding diagonal elements from the branch admittance matrix in (3.2), plus any bus shunt elements. Ray > On Sep 3, 2016, at 11:59 AM, davor sutic wrote: > > I did a thorough study of makeYbus() (both a code analysis and

Re: Problem with runcpf

2016-09-19 Thread Ray Zimmerman
But the voltage solution to the OPF problem should satisfy all of the power flow equations. Unless I’m missing something, running … runpf(runopf(mpc)) … should always result in immediate convergence of the power flow, without iterating, assuming the OPF solved successfully. Ray > On Sep