spine-tools / SpineOpt.jl

A highly adaptable modelling framework for multi-energy systems
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
49 stars 12 forks source link

Fix_units_invested issue #589

Closed fbozzolo closed 1 year ago

fbozzolo commented 1 year ago

Hi, I've been working on a renewable energy hub with a constant energy demand node, hydrogen and ammonia production and their respective storage. The investment optimization worked fine until I added the Fix_units_invested parameter to any unit. Even if I added the optimized unit size from the previous round as the parameter value the system appeared as "infeasible".

I tried to make it work on a 5 hours system and it worked, but on my whole year optimization model, it didn't.

Any thoughts?

DillonJ commented 1 year ago

I believe this is a duplicate of https://github.com/spine-tools/SpineOpt.jl/discussions/624