Well, there is no simple workaround that I can think of short of implementing 
the feature in MOST.

The complex part about adding the feature is becoming familiar with the 
existing structure of most.m and toggle_dcline.m. Once you have a confident 
grasp of the code in both of those, it should be relatively straightforward to 
implement.

This would be a nice addition if you are able to implement it. And I suppose it 
would make sense to move any further discussion to the MATPOWER-DEV-L list.

    Ray



> On Jan 17, 2019, at 6:25 PM, 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] 
> <mailto:[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
>  

Reply via email to