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 <[email protected]>
a écrit :
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 variables used in
MATPOWER, and thus I need to add non-linear constraints (given that the
variables are node related quantities). However, the implementation of
non-linear constraints are not easy. Will there be an easier/systematical way
to implement linear constraint on line flows?
Thanks in advance. Any help is appreciated.
Best,
Chen