The OPF (and the problem solved by MOST) are optimization problems, which means
they are attempting to minimize some cost subject to constraints. So, no, you
can’t eliminate the cost function. If you aren’t trying to minimize a cost, I’m
not sure that MOST or OPF are the right tools.
And, by the way, the error you are seeing appears to be related to dispatchable
loads (which also make no sense without a corresponding benefit or “cost”).
Ray
> On Feb 21, 2017, at 7:03 AM, Alberto Claudio Alvisi
> <[email protected]> wrote:
>
> Hi,
>
> I've just written saturday about my problem:
>
>
> "Dear all,
>
> I'm working on my thesis using MATPOWER, but I' ve this problem with MOST
> tool:
>
> Error using .*
> Matrix dimensions must agree.
>
> Error in most (line 2116)
> mpc.gen(ivl, QG) = mpc.gen(ivl, PG) .* Qlim ./ Pmin(ivl);
>
> In particular:
>
> Qlim =
>
> []
>
> mpc.gen(ivl, PG)
>
> ans =
>
> Empty matrix: 0-by-1."
>
>
> After I've read more documentation about MATPOWER and MOST tool, I understand
> that the OPF solution required to find the min f(x) with a constraint of cost.
> I've a case without gencost and I prefer to not create a gencost matrix to
> solve it because the cost of PG don't matter in my case.
> It's possible to impose that MATPOWER doesn't study the cost of PG during the
> solution process? In other words, is there a MATPOWER option to leave the
> cost constraint?
>
> Thanks a lot for your contribution
>
> Regards
>
>
> ALBERTO CLAUDIO ALVISI
> Student at University Of Bologna