Hello,
I tried to use the DC-OPF model in oemof and recognised a strange behaviour. My model gets sometimes solved and sometimes I get an error back. So I often have to run the code multiple times to get my energysystem solved. After some digging in I realised that the LP file sometimes misses parts. This is my energysystem:
dc_net_test.txt (4.7 KB)
In this picture you can see the difference between the solved and the not solved system.
<a class=“attachment”lopf_solved.txt (4.4 KB)
lopf_not_solved.txt (4.1 KB)
If someone has an idea why this happens I would be very glad and it would help me very much.
Philipp