Re: CPF termination

2017-05-17 Thread Ray Zimmerman
Hi Ahmad, You simply need to use a priority that is 52 or higher. To see how to set the priority from mpoption, see the examples in t_cpf.m that include the 'priority' field in the 'cpf.user_callback’ option, for

Re: Setting the initial values for the variables?

2017-05-17 Thread Ray Zimmerman
The voltage limits are respected by the OPF, but the power flow is a simple power flow that does not include automatic adjustment of controls to attempt to satisfy voltage or other limits. Ray > On May 17, 2017, at 6:28 AM, Akash Tyagi wrote: > > I have one more

Re: MOST

2017-05-17 Thread Ray Zimmerman
Hi Mohammad, A unit commitment problem with quadratic generator costs or ramping costs requires a solver that can handle Mixed Integer Quadratic Programming (MIQP) problems. The only MATPOWER-compatible solvers that handle MIQP are Gurobi, CPLEX and MOSEK, as stated in the System Requirements

Re: CPF termination (cpf_vlim_event.m and cpf_vlim_event_cb.m)

2017-05-17 Thread Ray Zimmerman
Hi Ahmad, Thanks for offering to contribute this work. And, yes, I suspect you will need to modify mpoption.m. The best way to contribute this is to follow the instructions

Re: CPF termination

2017-05-17 Thread Ahmad Sadiq Abubakar
Hi, how to i invoke a user callback function to take higher priority over NOSE point with priority 51. Kindly help with cyntax example *Engr. AHMAD, Abubakar Sadiq**PhD Student* *Electrical Engineering.* *Bayero University, Kano. Nigeria.* *OR* *LecturerElectrical and Electronics

CPF termination (cpf_vlim_event.m and cpf_vlim_event_cb.m)

2017-05-17 Thread Ahmad Sadiq Abubakar
Hi Shrirang, and Ray, I have some codes for cpf termination at voltage limit violation. I want to test it before sending it here. I choose to enforce voltage limits in similar manner as reactive power limits. However, it seems I need to modify the mpoption.m. Is this correct? Alternatively I can

Re: Setting the initial values for the variables?

2017-05-17 Thread Akash Tyagi
I have one more query. I have set the limit of voltage in the case. If any voltage violates its limits after running the Power flow. What is the need of putting the limit in the case, if it is exceeding its min and max limit? On Wed, May 17, 2017 at 3:14 PM, Bone, Gorazd

Re: Setting the initial values for the variables?

2017-05-17 Thread Akash Tyagi
I have one more query. I have set the limit of voltage in the case. If any voltage violates its limits after running the Power flow. What is the need of putting the limit in the case, if it is exceeding its min nad max mimit? On Wed, May 17, 2017 at 3:14 PM, Bone, Gorazd

Re: Setting the initial values for the variables?

2017-05-17 Thread Akash Tyagi
then how we can calculate the tap settings? Is there any way to calculate the transformer tap settings? On Wed, May 17, 2017 at 2:21 PM, Bone, Gorazd wrote: > The tap settings are provided in the case data. Look at the mpc.branch. > There you provide all the branch

Re: Setting the initial values for the variables?

2017-05-17 Thread Akash Tyagi
Hello everyone, Is there any option in MATPOWER to set the transformer tap settings, and if it is then how we can set the settings and after running power flow, how these settings are extracted from the results? Please help. On Wed, May 17, 2017 at 12:10 PM, Bone, Gorazd

RE: Setting the initial values for the variables?

2017-05-17 Thread Bone, Gorazd
That's really simple. Thank you. Od: bounce-121534931-78499...@list.cornell.edu [bounce-121534931-78499...@list.cornell.edu] v imenu Ray Zimmerman [r...@cornell.edu] Poslano: 16. maj 2017 21:10 Za: MATPOWER discussion forum Zadeva: Re: Setting the initial