Good question. The gentype and genfuel fields of mpc are optional and are not 
used at all in the calculations, but can be useful when writing code to 
summarize total or average quantities by generator or fuel type.

   Ray


On Mar 5, 2021, at 1:38 AM, Alireza SalimAmini 
<[email protected]<mailto:[email protected]>> wrote:

tnx Ray it sounds good to my work
but something else,
 is 'gen_type' field,  an important variable in "addgen2mpc" function   ?
if yes , where is it's effect on calculations ?
when we add a new generator or source we have to add cost function in 
'gen_cost' matrix,  then what is the importance of 'gen_type' ?
is something in the internal layers of calculations that takes effect?
you see there is a section and a table in MOST's manual about this subject.

On Thu, Mar 4, 2021 at 10:31 PM Alireza SalimAmini 
<[email protected]<mailto:[email protected]>> wrote:
Hello all
I have a question about  adding Photovoltaic Array in the stochastic unit 
commitment problem in the MOST.
For wind generators there is a specific function named addwind and easily we 
can add hourly  wind profiles for our calculations. How about solar? How can we 
include hourly solar radiation profiles ?
be noticed that if we use addgen2mpc then  'gen_type' solar,   the fields for 
addgen2mpc are

[new_mpc, idx] = addgen2mpc(mpc, gen, gencost, gen_type)


 then there is nothing for radiation profile.
If there is another function for adding photovoltaic with hourly profile or 
other way plz  let me know.

tnx all





Reply via email to