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

Possible bug in process_constraint_less_than #163

Closed giannisvrochidis closed 5 months ago

giannisvrochidis commented 5 months ago

Hi,

Possible bug in line 2013 of the flexModel3

v_flow[source, source, p, d, t] throws an error as source is referenced twice.

It should probably be something like v_flow[p, source, sink, d, t], right?

jkiviluo commented 5 months ago

Indeed, thanks!

Fixed, but not tested.