hi
if you want have ,any variable in the workspace
f3=(1/7*loss); % cost of losses
assignin('base','f3',f3);
assignin variable f3 transport in the workspace
have nice
On Fri, Jan 18, 2019 at 3:55 AM Kaspar Mueller <[email protected]> wrote:
> Thank you for your answer.
>
>
>
> Is there a workaround to make dcline work in most? Say by adding
> generators by hand and adding the pf, pt relationship equation to the
> optimization problem?
>
>
>
> Also, what do you think how complex would it be to add this feature to
> most? I may be able to help working on that.
>
>
>
> Best,
>
> Kaspar
>
>
>
> *From:* [email protected] <
> [email protected]> *On Behalf Of *Ray Zimmerman
> *Sent:* Thursday, January 17, 2019 12:15 PM
> *To:* MATPOWER discussion forum <[email protected]>
> *Subject:* Re: dcline in most
>
>
>
> Hi Kaspar,
>
>
>
> Unfortunately, MOST does not currently handle DC lines (see Section 5.4 of
> the MOST User’s Manual).
>
>
>
> Ray
>
>
>
>
>
> On Jan 16, 2019, at 3:57 PM, Kaspar Mueller <[email protected]> wrote:
>
>
>
> Hi Matpower community,
>
>
>
> We are trying to integrate a dcline into our network. We use most to solve
> the multiperiod dcopf problem.
>
>
>
> When using matpower’s rundcopf we get a reasonable solution and can read
> the output for the power flow over the dcline in the result structure.
> (result.dcline)
>
> But when we use most to solve the problem we are unsure where to find the
> power flow (pf) over the dc line.
>
>
>
> As far as I understand in most when using the ext2int function the dcline
> is modeled as two generators that are appended to the generator list in
> mpc_int.gen.
>
> After the run mdo.flow(i).mpc.dcline seems to show the initial value of
> the dcline but not the output for the ith interval. When I look in
> mdo.flow(i).mpc.gen(end-1:end,:) I can see the PG for the two artificial
> generators that represent the dcline.
>
> Also it seems that there is a -Inf and Inf set for PMIN and PMAX for one
> of the generators which results in a large PG output for the specific
> generator.
>
>
>
> I have the following questions:
>
>
>
> Where can I get the power flow (pf) of the dcline for each interval in
> most?
>
> How to make sure that both generators that represent the dcline are
> restricted to the specified PMAX and PMIN?
>
>
>
> Thanks for your help.
>
>
>
> Best,
>
> Kaspar
>
>
>