Have you simply tried it? I can’t think of any reason that a negative output 
from the slack bus should cause problems.

   Ray


> On Mar 20, 2015, at 1:32 PM, angelina sirri <[email protected]> wrote:
> 
> Dear all,
> 
> I am trying to simulate active network management in distribution network in 
> 11kv.  I have a distribution network with 40 nodes. Of those, one node is the 
> distribution substation node, which is also the slack bus, and also I have in 
> another node a wind farm.The rest of the nodes are loads.
>  For the cases that I have a low demand and a wind power output higher than 
> that, I would like to let the wind farm inject that power back to the main 
> network (which I do not neither include in the mpc. case , nor simulate).
> For example, let's say that I have the following:
> sum(mpc.bus(:,3))=5MW;   %total active demand 
> sum(mpc.bus(:,4))=4MVar;   %total reactive demand
> 
> mpc.gen(slack bus,9)=20MW; %maximum slack bus output
> mpc.gen(wind_farm,9)=10MW;  %maximum wind power output
> 
> So in this case, the wind farm is able to feed the rest of the network, with 
> zero power taken from the slack bus (if with opf, wind generator is cheaper 
> than the slack).
> How could I feed the remaining 5MW (10-5) from the wind farm back to the 
> grid, getting in the results sth like:
> results.gen(slack bus,2)=-5MW?
> 
> I guess that I will have voltage issues, but in first place I was wandering 
> how this could happen in case I do not have voltage issues. Afterwards, to 
> face the voltage issues I was thinking to manually change the tap of the 
> transformer behind the slack like that:
> 
> mpc.branch(branch of the transformer 33/11kv, 9) =  range between 0 to 1;
> 
> Any proposal would really help!!
> Kind Regards,
> Angelina

Reply via email to