Re: Change 1 PQ to PV -> infeasible problem

2016-04-28 Thread Chris Prokop
Hi, @ Jose L. Marin: I used a generator in both cases, hence it should be the correct sign (should result in the same I guess). Anyway P was very small, around 1e-6 MW. I'm not sure if I've modelled something wrong: S_base is 100, my generator is at bus 1 (at the end zeros(1,12)): bus

Re: Change 1 PQ to PV -> infeasible problem

2016-04-28 Thread Jose Luis Marin
Those are certainly some crazy Mvar injections! Just checking: are you sure you reversed the signs of P properly when switching the type of that bus from PQ (load) to PV (gen with neg real power), also taking care of making the corresponding changes in the bus row and adding a new gen row? If

Re: Change 1 PQ to PV -> infeasible problem

2016-04-28 Thread Jose Luis Marin
Ray's suggestion is an excellent idea. I'd like to add the following. Suppose you start with "caseA", which solves ok. Now you make only one change to obtain "caseB": you switch one particular PQ bus to PV type, by carefully specifying its Vg as the voltage value you obtained in the solution of

Re: Change 1 PQ to PV -> infeasible problem

2016-04-28 Thread Ray Zimmerman
It sounds like the voltage at that bus may be very sensitive to the reactive power injection. One thing you might try to get some idea of this is to change that bus back to PQ with the reactive at the lower limit, then try running a few cases with slightly perturbed values of the reactive power

Change 1 PQ to PV -> infeasible problem

2016-04-28 Thread Chris Prokop
Hi, I'm using Matpower (v5.0b1, but the same holds for v5.1) for a 220 kV/110 kV/20 kV-grid quite a while. The grid has 1 reference bus (220 kV), 2 PV-buses (220 kV) and >100 PQ-buses (110 kV & 20 kV). So far calculating the grid using runpf with Newton has never been a problem. Now I've tried