junglegobs / ASoSEPOC

Interaction betwen resource adequacy and security of supply task in the EPOC project.
1 stars 0 forks source link

OPF infeasible #8

Closed junglegobs closed 2 years ago

junglegobs commented 2 years ago

It is feasible if storage dispatch is not included. This means that somehow the storage dispatch is leading to infeasibilities obviously, but why...

junglegobs commented 2 years ago

Removing the Pmin constraints does not help.

junglegobs commented 2 years ago

If I remember correctly, removing the operating reserve constraints helps. These actually induce day ahead load shedding which does not occur when only looking at the forecast.

My PTDF matrix is definitely correct, as it is calculated using PowerModels now (and anyway it was correct before).

I'm thinking maybe I can fix the generation variables everywhere and see what happens?

junglegobs commented 2 years ago

Issue was my PTDF matrix indices did not correspond with those of my set of branches (hard to explain, but basically due to an error that line_2 had index 11 instead of 2).