energy-modelling-toolkit / Dispa-SET

The Dispa-SET unit-commitment and optimal dispatch model, developed at the JRC
European Union Public License 1.2
83 stars 38 forks source link

Dispatch Plot Bug When RoW present #57

Closed MPavicevic closed 4 years ago

MPavicevic commented 4 years ago

This bug is bothering me for quite while. Here are my observations:

When there are RoW interconnections present in the simulation for some reason plots are not working properly as shown in this figure: https://ibb.co/jMnpLGD

Z1 has RoW interconnection and Z2 doesn't have one and thus doesnt have that same problem. I saw the same behavior in other simulations were i was using RoW.

I tired to debug it but didnt manage to do so except to identify that its caused by RoW interconnections.

kavvkon commented 4 years ago

But what is the problem ? misaligned indexing ? is it a problem of the plotting function or of the results (postprocessing) ?

MPavicevic commented 4 years ago

I couldnt debug, but somethings not right

squoilin commented 4 years ago

can you check if the issues persists with the latest commit? https://github.com/energy-modelling-toolkit/Dispa-SET/commit/935c9b72e992d7d7e5f4ff519def34eb82ae8b3d

MPavicevic commented 4 years ago

Seems ok now. But we should include hatched plot for ShedLoad similarly to how we did in P2H branch so that its a bit easier to check it visually.

I'm closing the issue now.