For zonal reserves, please see the documentation for toggle_reserves() <http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/toggle_reserves.html> and Section 7.5.1 in the MATPOWER User’s Manual <http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-6.0.pdf>.
In your example, it looks like all generators are available to provide reserves (up to 50 MW of reserves), some at zero cost and others at $5/MW. And the total reserve requirement for the system is 100 MW. If that’s what you intend, then it looks correct. Ray > On Apr 3, 2017, at 8:45 AM, Ammar Raza <ammaraz...@gmail.com> wrote: > > hi everyone, > > Can you please specified me how to put Reserve data in 118 bus system in MOST. > > In 118 bus there is 54 gen therefore, I have to put 1's in 54 times in > mpc.reserves.zones(). > > I did it but I am not sure it is right. > > > TCL MERGE ERROR ( 04/10/2017 12:12:44 ): "invalid command name "-----"" OutmailID: 121414669, List: 'matpower-l', MemberID: 75174736 SCRIPT: "----- Reserve Data -----" > TCL MERGE ERROR ( 04/10/2017 12:12:44 ): "invalid command name ">"" OutmailID: 121414669, List: 'matpower-l', MemberID: 75174736 SCRIPT: "reserve zones, element i, j is 1 if gen j is in zone i, 0 otherwise > mpc.reserves.zones = [ > 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1; > > ]; >" reserve requirements for each zone in MW > mpc.reserves.req = 100; > > TCL MERGE ERROR ( 04/10/2017 12:12:44 ): "invalid command name "reserve"" OutmailID: 121414669, List: 'matpower-l', MemberID: 75174736 SCRIPT: "reserve costs in $/MW for each gen that belongs to at least 1 zone >" (same order as gens, but skipping any gen that does not belong to any zone) > > mpc.reserves.cost = [ 0; 0; 5; 5; 0; 5; 5; 0; 0; > 0; > 5; 5; 5; 5; 5; 0; 5; 5; 5; 0; > 0; 0; 0; 5; 5; 5; 0; 0; 0; 5; > 5; 5; 5; 5; 5; 5; 5; 5; 5; 5; > 5; 5; 5; 5; 5; 5; 5; 5; 5; 5; > 5; 5; 5; 5;]; > > TCL MERGE ERROR ( 04/10/2017 12:12:44 ): "invalid command name "OPTIONAL"" OutmailID: 121414669, List: 'matpower-l', MemberID: 75174736 SCRIPT: "OPTIONAL max reserve quantities for each gen that belongs to at least 1 zone >" (same order as gens, but skipping any gen that does not belong to any zone) > mpc.reserves.qty = [ 50; 50; 50; 50; 50; 50; 50; 50; > 50; 50; > 50; 50; 50; 50; 50; 50; 50; 50; 50; 50; > 50; 50; 50; 50; 50; 50; 50; 50; 50; 50; > 50; 50; 50; 50; 50; 50; 50; 50; 50; 50; > 50; 50; 50; 50; 50; 50; 50; 50; 50; 50; > 50; 50; 50; 50;]; > > Kind Regard, > > Mohammad Ammar Raza > > > > > On 28 March 2017 at 15:55, Ray Zimmerman <r...@cornell.edu > <mailto:r...@cornell.edu>> wrote: > If you are asking for the equivalent of runmarket() > <http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/extras/smartmarket/runmarket.html> > for MOST, I’m afraid it hasn’t been implemented. MOST assumes that gencost > has been constructed to reflect the problem you want to solve. This could be, > for example, for a market, where the offers and bids have been converted into > the corresponding gencost. If the bids and offers are constant from period to > period throughout the planning horizon, then you could use off2case() > <http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/extras/smartmarket/off2case.html> > to do the conversion for you. If they vary from period to period, you’ll > have to figure out the appropriate gen and gencost for each period (possibly > using off2case() > <http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/extras/smartmarket/off2case.html> > and then create a profile (see Section 5.1.6 in the MOST User’s Manual > <http://www.pserc.cornell.edu/matpower/docs/MOST-manual-1.0.pdf>) to > implement the period-to-period modifications. > > Ray > > > > >> On Mar 24, 2017, at 11:10 AM, Ammar Raza <ammaraz...@gmail.com >> <mailto:ammaraz...@gmail.com>> wrote: >> >> Hello, >> >> Can you please specified how we apply offers(), and bids() in the MOST. In >> example 6 and 7.in <http://7.in/> the MOST manual. >> >> Thankyou >> >> Kind Regard, >> >> Mohammad Ammar Raza >> >> >> >> >> On 23 March 2017 at 11:30, Ammar Raza <ammaraz...@gmail.com >> <mailto:ammaraz...@gmail.com>> wrote: >> Hello All, >> >> I am working on MOST and I have gone through the multiperiod problem example >> 6 and 7. >> >> I would like to add market in that problem. >> >> Can you please suggest me with an example how to developed market in them. >> >> >> Kind Regard, >> >> Mohammad Ammar Raza >> >> >> >> > >