Replies: 5 comments 6 replies
-
You would, for example, need to fix units_invested_available = 1 and have candidate units = 1 also. Make sure it is not fix_units_invested that you are using (this is the point in time investment decision whereas units_invested_available represents the number of already invested-in units that are available at a point in time. Also, what is the issue with using number_of_units if this achieves what you want? Although it would be good to understand the precise source of your infeasibility. |
Beta Was this translation helpful? Give feedback.
-
This is the database of a minimum case example that shows the issue. If you run this database through a "run spineopt" block, it should show you the infeasibility I mentioned. If you change the windfarm "fix_units_investment" for "fix_units_investment_available" it will show the error I showed you before. Finally, if you just erase "fix_units_investment" from the windfarm, it should run without issues. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
from the
@manuelma @DillonJ could this be related to some changes in SpineInterface possibly? @fbozzolo a (very dirty, not recommded) quick fix would be to update both SpineInterface and SpineOpt, load the most recent template, and comment ouy line 773 |
Beta Was this translation helpful? Give feedback.
-
@manuelma Has this been fixed or should we make an issue? |
Beta Was this translation helpful? Give feedback.
-
@fbozzolo a relatively new way to do what you are trying to do is to use the Edit: see more here: https://spine-tools.github.io/SpineOpt.jl/latest/concept_reference/Object%20Classes/#investment_group and here: https://spine-tools.github.io/SpineOpt.jl/latest/concept_reference/Parameters/#minimum_entities_invested_available |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I have a system in which I have several investment decisions happening at the same time. Once I optimize the system, I take the optimized values of investment and add them as "fixed investment" (either units or storage). The system appears to be unfeasible once I do that.
Two other important things are:
This issue was discussed during our last new users meeting and I was suggested to try to change the tolerance and/or the solver. I did it and tried with HiGHG, Clp, GLPK, and Cbc, in both mip and lp solver. The problem remains to appear as unfeasible. Any help will be appreciated. I could send the file if someone wants to take a look at it.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions