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

Unintuitive capacity definition for units with multiple outputs #182

Closed nelliputkonen closed 2 months ago

nelliputkonen commented 3 months ago

For a unit with a single output, if you give 'efficiency' 0,5 and 'existing' 100, the unit can output with a capacity of 100 (and input with capacity of 200). If you add a second output node to the unit and keep the same parameters, it can only output 50, and the 'existing' becomes a limit for the input capacity. This is counter-intuitive. To my understanding, the unit should still be able to output with a combined capacity of 100 (and if not constrained, the model is free to divide that how it wants between outputs).

jkiviluo commented 3 months ago

Discussed with @ArttuTupala. The problem has appeared when FlexTool was scaled and most variables got an upper limit (year ago: 69860228a174050a268bb07d562afe48d341bc4b). This upper limit should be calculated for inputs considering the efficiency, but unfortunately I did not realize to do that.

Will be fixed soon.