That is also a good idea and closer to reality because shunt capacitors and reactors will actually change the Ybus instead of performing as constant reactive power. But I dont know how to include the 6th column of bus as a variable and modify the objective function. Would you please share your code with me? Thank you for your kind consideration. Here is my code.
------------------ Original Mail ------------------
??????:
"MATPOWER discussion forum"
<[email protected]>;
????????: 2020??9??9??(??????) ????9:31
??????: "MATPOWER discussion forum"<[email protected]>;
????: Re: optimal power flow with unit commitment using mixed integer
programming
and how about bus matrix column 6 ?
" 6 BS Bs, shunt
susceptance (MVAr injected at V = 1.0 p.u.)"
but in this case you have to define an objective function and solve an
optimization problem.
i used that for ieee 33 bus and the result was good.
On Wed, Sep 9, 2020 at 5:20 PM yangyang <[email protected]> wrote:
Dear Alireza SalimAmini
Thank you for your care and blessing. I think I have implemented this using
runuopf(), a built-in function of matpower to do mixed unit commitment and OPF.
In such cases where geneators are used to model shunt capacitors and reactors,
just add a few generators whose real power generation Pg is zero and reactive
power generation Qg set at a constant value. The Qmax and Qmin in generator
data has to be identical with the set Qg. Notably, the Pmax and Pmin cannot be
set to zero because runuopf() will merely deal with generators whose Pmin is
greater than zero (see source codes of uopf() ). To get "shunt" generators
involved as candidates of unit commitment programming only calls for Pmin and
Pmax set at a very small number numerically, say, 1e-6 and 1e-5. This minor
active power injection will hardly affect the power flow but can get "shunt"
generators involved.
case30wind.m
Description: Binary data
shunt_OPF.m
Description: Binary data
