Dear Mr. Zimmerman, my AC system is looking like on the pic. [image: 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);
[image: parameters.jpg]
Could you explain me this ?
--
Pozdrawiam,
Best Regards,
Mit freundlichen Grüßen,
Mateusz Cygan
<<parameters.jpg>>
<<circuit.jpg>>
