Okay, I'll look into that. Thank you for responding to my questions every time.
On Tue, Dec 10, 2013 at 10:24 PM, Ray Zimmerman <[email protected]> wrote: > … on the other hand, if you are not familiar with the code, you will have > to spend some time becoming familiar with it before you attempt to modify > the code to solve new problems. If there is a specific part of the code you > are having trouble understanding, I’ll try to answer your questions. But, > unfortunately, I do not have the time to create examples for people who > want to solve modified problem formulations. > > -- > Ray Zimmerman > Senior Research Associate > B30 Warren Hall, Cornell University, Ithaca, NY 14853 > phone: (607) 255-9645 > > > > On Dec 10, 2013, at 4:21 PM, Nirav Shah <[email protected]> wrote: > > Can you please show me an example? I am quite new to matpower. > > Sorry for troubling you every time. > > > On Tue, Dec 10, 2013 at 9:23 AM, Ray Zimmerman <[email protected]> wrote: > >> The power flow code in MATPOWER is pretty straightforward, so if you are >> familiar with the details of the algorithms and become familiar with the >> code, it should be quite possible. >> >> I suggest duplicating fdpf.m, for example, and making modifications to >> your copy. >> >> -- >> Ray Zimmerman >> Senior Research Associate >> B30 Warren Hall, Cornell University, Ithaca, NY 14853 >> phone: (607) 255-9645 >> >> >> >> On Dec 9, 2013, at 10:18 PM, Nirav Shah <[email protected]> wrote: >> >> Thank you very much sir. >> >> I have one more doubt. I am using newton-fast decoupled method to run a >> power flow. >> >> My work includes an extra column in Jacobian for (dp/dx) where x is for >> the frequency. >> >> Is it possible to add that column in Jacobain and run power flow to solve >> for dx as well? >> >> >> On Mon, Dec 9, 2013 at 2:38 PM, Ray Zimmerman <[email protected]> wrote: >> >>> MATPOWER does not have a built-in option to minimize the flow of a >>> specified line, but there are a few ways you could approach solving the >>> problem … >>> >>> (1) Brute force, run an optimal power flow in a loop where you decrease >>> the rating of the line in question at each iteration until the problem >>> becomes infeasible. If your changes are small enough, the last feasible >>> solution should be near the minimal flow in the line. >>> >>> (2) Use a DC OPF, and create a user-defined cost on the flow on the line >>> in question. >>> >>> (3) Split the line in half, with a dummy bus in the middle. Split this >>> dummy bus into 2 dummy buses (A and B) and put a generator at each to >>> represent the flow. Constrain generation at A to equal the negative of >>> generation at B, constrain voltages at A and B to be equal. Put a quadratic >>> cost on the generators at A and B to force them toward zero. >>> >>> The first option is probably the least amount of work if it is a >>> one-time simulation and the problem is small. >>> >>> -- >>> Ray Zimmerman >>> Senior Research Associate >>> B30 Warren Hall, Cornell University, Ithaca, NY 14853 >>> phone: (607) 255-9645 >>> >>> >>> >>> On Dec 9, 2013, at 1:18 PM, Nirav Shah <[email protected]> wrote: >>> >>> Hi all, >>> I want to minimize the power flow from a particular branch when I change >>> the load and run power flow/ optimal power flow again. >>> >>> Is it possible? Please reply as early as possible. >>> >>> Thank you. >>> >>> >>> >>> >> >> > >
