I believe you have the PV and PQ buses switched. Bus 1 should be type 1 (PQ) 
and buses 2-4 should be type 2 (PV).

-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645




On Jan 16, 2012, at 10:38 AM, Mateusz Cygan wrote:

> Dear Mr. Zimmerman,
> 
> my AC system is looking like on the pic.
> <circuit.jpg>
> 
> I have 3 wind generators (2,3,4 nodes), Load in node 1 and Slack bus in node 
> 5. Which bus type i should use to made it like on previous pictures. I am 
> trying to do this like below, but have some errors ->
> ??? Attempted to access pv(1); index out of bounds because numel(pv)=0.
> 
> Error in ==> bustypes at 61
>     ref = pv(1);                %% use the first PV bus
> 
> Error in ==> runpf at 135
> [ref, pv, pq] = bustypes(bus, gen);
> 
> <parameters.jpg>
> 
> Could you explain me this ?
> -- 
> Pozdrawiam,
> Best Regards,
> Mit freundlichen Grüßen,
> 
> Mateusz Cygan
> 
> 
> 

Reply via email to