Dear MATPOWER-Team
I want to solve the case including extended OPF formulation
problem, but I can’t understand the document.
Here is my script:
mpc = loadcase('case14');
mpc = ext2int(mpc);
mpopt = mpoption;
om = opf_setup(mpc, mpopt);
mpc = add_userfcn(mpc, 'formulation', function_om(om));
My function_om is :
function om = function_om(om)
define_constants;
% mpc = get_mpc(om);
A = ones(1,14);
L = zeros(1,14);
U = ones(1,14) * 5;
om = add_constraints(om, 'WeiConstraints', A, L, U,{'Va'});
I try to test if the extended opf problem works ,but i use runopf(mpc) is
wrong.
And , in the document, I don’t know what the reserves means,case14 has no
value called reserves.
I hope you can help me to understand the detail about solving the extending
problem.
----------------------------------------------------------------------------
---------------------------------------------------------
Best regards,
Wei Lin 林巍
Zhejiang University,
Zheda Road 38#, Hangzhou, P.R.China, 310027
+86-13675865210