irena-flextool / flextool

IRENA FlexTool is an energy and power systems model for understanding the role of variable power generation in future energy systems.
https://www.irena.org/energytransition/Energy-System-Models-and-Data/IRENA-FlexTool
Other
21 stars 5 forks source link

Issue on export from a node: result has both positive and negative flows #125

Closed e-zaline closed 8 months ago

e-zaline commented 8 months ago

When modelling my export as follows: image I got both positive and negative flows, whereas I'd expect to have only negative flows. image

e-zaline commented 8 months ago

Hi, now with the fix you have implemented I do not have flows at all, whereas I'd expect to have exports.

jkiviluo commented 8 months ago

Hmm. I tested this with the DR_increase_demand and DR_decrease_demand scenarios of the init.sqlite (which are basically the same as import and export).

Here's the DR_increase_demand unit - do you see any difference with your implementation? image

e-zaline commented 8 months ago

Oops, I had forgotten a parameter, sorry for the confusion! Thanks!