Not sure exactly what you mean, but this seem like a simple Matlab question. If 
you have a list of buses where the solar generation is located (solar_bus_idx) 
and a total amount of solar generation (solar_gen_total), and you want to 
distribute it evenly over the specified buses, simply do …

mpc.bus(solar_bus_idx, PD) = mpc.bus(solar_bus_idx, PD) - solar_gen_total / 
length(solar_bus_idx);

— Ray


> On May 6, 2015, at 12:23 AM, nivedita arunachalam 
> <[email protected]> wrote:
> 
> Dear all,
>        I'm working on integration of renewable energy to grid. In that I add 
> solar generators as negative loads. now I need to multiply a scaling factor 
> so as to split the solar power among all buses where solar is placed.(i.e. to 
> divided total solar power among selective buses ). How to implement it with 
> matpower.
> Nivedita.....

Reply via email to