1 Like
>>I'm trying to limit the capacity addition in my optimization to only multiples of a certain value.
Hi Gabriel,
In the General: Basic Parameters screen you first need to enable the option marked "Addition Size Using Mixed Integer Linear Programming" (MILP). Once that is done, you should see an extra variable for your electric generation processes marked "Minimum Addition Size" (when doing an optimization-based scenario). See attached screenshots.
A word of caution. MILP calculations are MUCH slower than LP calculations. If you are using OSEMOSYS with just the free solver (GLPK), then you may have problems with calculations being very slow. I've also seen out of memory issues. The only solution to this right now is to use the CPLEX solver (which is quite expensive). In LEAP2020 we will be introducing a new optimization framework that supports new options such as energy storage modeling and better time slicing (eg 24 hrs each day). It also works with multiple solvers: GLPK, CPLEX, GUROBI, CBC and MOSEK (and possibly others later). Stay tuned for news on this quite soon!
I hope this helps,
Charlie