nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#947 auction-generator controller error, #2673

Open nikhilgupta10 opened 7 years ago

nikhilgupta10 commented 7 years ago

Error reported by user:

I have noticed a bug in the program when I was trying to solve a sudden halt problem in a gridlabd model. I was using a 'IEEE 4 bus' system with houses and an active market ('auction' object) and a two-way communicating controllers, there was also a generator controller bidding into the 'auction' object. Then I replaced the 'auction' object with a 'stubauction' one (with the same name as previous auction object), and also controllers with passive controllers, but i didn't remove the generator controller that was bidding into the market. when i ran the new code, the program (gridlabd.exe) halted suddenly without any error messages and a windows error window opened telling that \gridlabd.exe has stopped working. The output messages of gridlabd is written below:

DEBUG [INIT] : exec_mls_create()

Tool completed with exit code -1073741676

Likely some of the mapping in the generator controller is somewhat hard-coded. Need to minimally reduce this to soft exit, ideally with an error indicating the problem.,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: "andyfisher":This is most likely due to the necessary changes made to auction to allow a function call to submit bid function to be callable from through the connection model and just needs to be repeated in stubauction.. I can work on this this week.,

"ftuffner":The generator controller was never really tested with stub auction either (very limited testing occurred with the controller). It may be even more fundamental of some assumption about an auction connection, rather than a stub auction.,

"dchassin":- status: new --> assigned ,