Re: reactive power reserve function

2017-04-10 Thread Ray Zimmerman
I’m afraid there isn’t a simplistic “change these few lines of code” approach to this problem. My suggestion is to study the code in toggle_reserves() until you understand all of it, what it is doing and why (feel free to ask questions along the way). Then modify it to use reactive power instead

Re: MOST

2017-04-10 Thread Ray Zimmerman
For zonal reserves, please see the documentation for toggle_reserves() and Section 7.5.1 in the MATPOWER User’s Manual . In your example, it look

Re: MOST Question regarding Quadratic Gen Costs

2017-04-10 Thread Ray Zimmerman
This is a solver issue. See footnote 5 on page 10 of the MOST User’s Manual . For MIQP problems, that is, unit commitment problems with quadratic generator costs and/or ramping wear and tear costs, you will need Gurobi, CPLEX or MOS

Re: Regarding MOST

2017-04-10 Thread Ray Zimmerman
Unfortunately, MOST does not include the user-defined callback functions or any other mechanism to allow for user-defined variables, costs or constraints to be added to the problem. I’m afraid you’d have to modify the MOST code directly to accomplish that. Ray > On Apr 4, 2017, at 1:05 PM,

Re: MOST

2017-04-10 Thread Ray Zimmerman
Your gen and gencost matrices have 153 rows each, but mpc.reserves.zones has only 55 elements. It runs fine with the following modification in ex_case118.m. mpc.reserves.zones = [ones(1,54) zeros(1,99)]; — Ray > On Apr 6, 2017, at 9:05 AM, Ammar Raza wrote: > > Hi every one, > > > I am wor

Re: Regarding MOST

2017-04-10 Thread Haneen Aburub .
Ok, thank you so much for your response. Best regards, *Haneen Aburub, Ph.D.**Postdoctoral Research Associate * *Department of Electrical & Computer Engineering* *Florida International University**Tel: (305)-348-7990, Web:www.eps.fiu.edu * *Email: haburu**b...@fiu.edu *

Wrong solution and Losses on the branches

2017-04-10 Thread mahraz amini
Hi every one, I am trying to solve AC Power flow in matpower. I made my own model in matpower format and when I run it, it got converged in a few iterations and gave me the solutions. the problem is the given solution is not correct. I mean when I calculate the power flow based on given Vmag and V