Hello. Thank you for your last answer. I am now able to run my code much faster. However some new questions arose from it that I can't seem to work out.
I want to run multiple DC OPF:s with changing limits on certain transmission lines. I can't figure out which columns I need to change. I am using the t_auction_case.m to simulate a bidauction taking place. I've tried changing the sixth column in the branch matrix to the case file. [ 4 12 0.0 0.26 0.0 limit 65.0 65.0 0.0 0.0 1; 23 24 0.13 0.27 0.0 limit 16.0 16.0 0.0 0.0 1]; I obtain somewhat the expected behaviour when I change the limit but something is strange. I've only been able to simulate congestion by putting the last column to zero. Making the transmission line 'out of service'. limit = 0 won't do it. I've also tried changing the other rates in coulumns 7 and 8 without results. How am I able to simulate congestion without putting them out of service? I want to be able to simulate 98% congestion aswell, not only 100%. Will appreciate any help on this very much. Best regards/ Martin Elfstadius
