1. The inputs in mpc.reserves are described in the help text for 
toggle_reserves() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/toggle_reserves.html>
 and in Section 7.5.1 of the MATPOWER User’s Manual 
<http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-6.0.pdf>. There is 
not necessarily one correct way to define reserves, but it is typical for only 
conventional generators to be eligible to provide reserves. In this case, you 
would only include the conventional generators in mpc.reserve.zones and the 
cost and qty fields could be either 31 x 1 or 52 x 1.

2. If you are using addwind() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/addwind.html> 
it returns the generator indices of the added wind units. If you pass this to 
your getprofiles() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/getprofiles.html>
 call, it will automatically use the corresponding generator index. So, for 
example, if you are adding 3 wind units, you can use indices 1, 2, and 3 in 
your wind profile and getprofiles() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/getprofiles.html>
 will automatically update them to the indices you provide from the addwind() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/addwind.html> 
call. Actually, I see now that your question may have been a different one. You 
would specify the bus number where you want the wind unit in the wind.gen input 
to addwind() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/addwind.html>.

3. The way I would personally do this is to duplicate the addwind() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/addwind.html> 
function, rename it to addsolar() and then find and replace every instance of 
“wind”, “Wind” and “WIND” with “solar”, “Solar” and “SOLAR”, respectively. Then 
use your new addsolar() function in the same way you use addwind() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/addwind.html>.

Best regards,

   Ray


> On Oct 24, 2018, at 7:30 AM, Carlos Ferrandon Cervantes 
> <[email protected]> wrote:
> 
> Hello there:
> 
> I am getting the input data necessary to perform a UC process on the 24 bus 
> system with many renewable injections in it.  My modified 24 bus system is 
> the next one:
> -> 31 conventional generators, with one synchronous condenser
> 
> -> 21 renewable energy generators, where 20 are solar injections and 1 is 
> wind injection. I have the data in time series for an hourly day ahead 
> scenario.
> 
> My first question is:
> 
> 1. Whilst setting up the variable mpc.reserves.zones, I am considering one 
> zone, but how many of the generators should be included in the 
> mpc.reserves.zones? should it be only the 31 of the conventional generators? 
> or can should it be the whole 52 generators? if that's the case, should the 
> non conventional generators be assigned with zero value reserve zone?
> I ask the same for the other fields from mpc.reserves.
> 
> 2. Also, when adding the renewable energy generation from  wind, how can they 
> be allocated in the "ex_wind_profile.m" file? how can I indicate the number 
> of bus that they belong to?
> 
> 3. Also, how can I add the solar injections that I also have distributed in 
> different nodes?
> 
> Thank you very much in advance,
> 
> Best wishes,
> 
> Carlos Ferrandon
> 
> -- 
> Carlos Ferrandon

Reply via email to