Re: Linear constraints

2020-10-29 Thread Ray Daniel Zimmerman
new at using matpower and i have difficulties adding linear constraints to opf models(add_lin_constraints). I have issues with idx_list or number if constraints. Can some body please help me with how to do that with an appropriate example? Best regards

Linear constraints

2020-10-27 Thread Adjifack Nelson
Hey every bodyI am new at using matpower and i have difficulties adding linear constraints to opf models(add_lin_constraints). I have issues with idx_list or number if constraints. Can some body please help me with how to do that with an appropriate example?Best regards

Re: AC OPF with extra linear constraints on line flows

2020-01-15 Thread sebaa haddi
, there isn’t a simple way to do it with only linear constraints. You could define new variables for the flows and use the opf_branch_flow_fcn() and opf_branch_flow_hess() functions to implement an equality constraint that defines these variables. These constraints would be very similar to the

Re: AC OPF with extra linear constraints on line flows

2020-01-14 Thread Ray Daniel Zimmerman
Unfortunately, there isn’t a simple way to do it with only linear constraints. You could define new variables for the flows and use the opf_branch_flow_fcn() and opf_branch_flow_hess() functions to implement an equality constraint that defines these variables. These constraints would be very

Re: AC OPF with extra linear constraints on line flows

2020-01-08 Thread sebaa haddi
Dir sir ,you can add sum other functions to your code to introduce an approximative linear constraits to the problem Le jeudi 9 janvier 2020 à 01:22:01 UTC+1, Liang, Chen a écrit : Hello everyone, I’m trying to solve an AC OPF with extra linear constraints on the line flows. To be

AC OPF with extra linear constraints on line flows

2020-01-08 Thread Liang, Chen
Hello everyone, I’m trying to solve an AC OPF with extra linear constraints on the line flows. To be more specific, it is an equality constraint with some linear combination of the line flows, say $\sum_{e\in E} f_e = constant$. I read the user manual and found that branch flows are not

Re: MATPOWER inquiry about adding linear constraints

2019-03-12 Thread Ray Zimmerman
Yes, this is possible. And you can use either method to accomplish it, that is either direct specification or callback functions. Ray > On Mar 11, 2019, at 4:29 PM, Lynn Bal (Student) wrote: > > Hello, > Is it possible to add a constraint relation between 2 different entities, > like vol

MATPOWER inquiry about adding linear constraints

2019-03-11 Thread Lynn Bal (Student)
Hello, Is it possible to add a constraint relation between 2 different entities, like voltage and reactive power using the add_constraint function? For instance, is it possible to add this type of constraint 2<= Q(i) - V(i) <= 2? And if so, is the code the same as in the MATPOWER manual? Thank y

Re: Workaround for adding non-linear constraints by callbacks

2016-03-14 Thread Ray Zimmerman
l, > > I have a question regarding the extension of Matpower OPF by user-defined > non-linear constraints. > I implemented some additional non-linear constraints in the matpower code > itself, following pretty much Ray's guidelines from an earlier post found > here: https

Workaround for adding non-linear constraints by callbacks

2016-03-14 Thread Paul Radvan
Dear all, I have a question regarding the extension of Matpower OPF by user-defined non-linear constraints. I implemented some additional non-linear constraints in the matpower code itself, following pretty much Ray's guidelines from an earlier post found here: https://www.mail-archiv

Re: Adding variables&linear constraints in OPF for meshed AC/DC grid

2015-12-03 Thread Samuel Schilling
Samuel <mailto:samuel.schill...@tu-berlin.de>> wrote: Dear MATPOWER team, I am trying to add linear constraints to an OPF with AC and DC lines. I would like to limit the power flow over the DC lines. I know that it is pretty simple to implement the constraints by defining an A matrice

Re: non linear constraints

2011-05-19 Thread Ray Zimmerman
No, there is no mathematical reason. It is simply that it is straightforward to specify general linear constraints as additional data (a matrix and a vector or two) to a solver. On the other hand, facilitating user-specified general non-linear constraints typically requires the ability to

non linear constraints

2011-05-19 Thread Janek Massmann
Dear all, im working on a security constrained optimal power flow. At the moment I am using add_userfunction to add constraints, which include the outage of generator and branches. My problem is the adding of non-linear constraints. Because I can only add linear constraints I am working with

Re: Can we linear constraints runmkt and

2007-04-19 Thread Ray Zimmerman
On Apr 19, 2007, at 1:06 AM, Tika Limbu wrote: I would like to know if Matpower auction code 'runmkt' can handle the generalized linear constraints (A, l, u) in it. It does not converge and gives the error "SMARTMARKET: non- convergent UOPF". While running in generalis