Normally if any constraint cannot be satisfied (i.e. the problem is infeasible) the OPF will not converge.
The problem with putting a cost on a current constraint, using user-defined constraints and costs, is that the current is not a linear function of the optimization variables (voltages in polar form). Would it be possible to accomplish what you want by converting the loads to interruptible loads with a very high value? This isn’t exactly what you said you wanted in that the resulting solution does not have violating flows, but rather curtailed loads. But the prices and objective function value will be very high. Ray On Jul 23, 2014, at 6:48 AM, Gamze Dogan <[email protected]> wrote: > Hi, I have a question about using current constraints in my OPF. > > > I did it using the OPF FLOW LIMIT assigned to 2. > > First, I want to be sure to understand how the constraints work, if the OPF > does not find a solution that meets the requirements, it will not converge, > is this right? > > Then, I have a second question, how can I define a constraint on the current > and put a cost on it? > > Actually what I want to try to do is the following: > > 1. I want my opf to find a solution respecting the current constraints, and > if it does, the cost related to it will be zero > > > 2. If my opf does not find a solution that respects the current constraints, > I still want that it gives me an answer, but I want it to have a very high > cost > > Is it possible to do that? SHould I implemented the current constraints using > the "user-defined constraints"? > > Thank you for your help, > > > Gamze Dogan >
