I want to assign a set of generators to different buses. I know it can be done as follows,
set i buses /110/ ;
set g generators /g1g3/ ;
set map(g,i) mapping generators to bus /g1.1, g2.4, g3.6/ ;
But I want to achieve the same via gdx utility either using a separate excel or csv data set. I have one column of the generator and another column indicating its bus no.How could it be done so that I don’t need to manually perform the assignment within the model?
I want to define a set of lines also connecting two buses of the set ‘bus’. I have the information of originating and ending bus of the lines in my excel/csv data set. How can I define the set of the lines both within the model and via gdx data transfer?
Any help will be appreciated.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.