Hi Xian, For both of your questions, yes!
To model multiple generators connected to the same bus, just create a new row in "mpc.gen" (note: please do not forget the corresponding row in "mpc.gencost") and fill it with the data of a new generator. To model multiple loads, you can add them up to the corresponding bus in "mpc.bus". For your second question, please keep in mind that a slack bus could have both generators and loads. Best regards, Gang On Wed, Jul 12, 2017 at 7:10 PM, Xian Guo <guoxian2...@gmail.com> wrote: > Hi, > > I have a quick question about the mpc case modelling file. > > Could I have multiple generators and loads connecting to the same bus? > If so, how to model this in "mpc.bus", "mpc.gen", "mpc,gencost" matrix? > Also, for the slack bus, if I have both generators and load connected to > that, should the bus type still be "3"? > > > > Thanks a lot. Really appreciate your help. > > -- > ————————— > Thanks & Regards > Xian Guo > Iowa State University > Research Assistant in Electric Power and Energy System > ECpE > 1207 Coover Hall >