-
|
I have a pretty complex model based on a real system that I'm running. At least one generator, but in this case as many as 30, have their max capacity set to -1 so the model should theoretically be able to deploy as much of these generators as it needs. This has been working fine, except I just went in and removed some generators that were providing a lot of the load and ran it. This resulted in a math opt interface error. "LoadError: Result index of attribute MathOptInterface.ObjectiveValue(1) out of bounds. There are currently 0 solution(s) in the model." This is not the first time this has happened, I've taken it to mean that there is not enough generation available to fulfill the demand set in Load_data. But I don't understand how this is possible if it could just provide from other generation sources. I know this would likely be very inefficient and/ or expensive and not the optimal solution, but it is the best solution for the generation capacity I have provided. So what gives? I'm not sure if people really use these discussion boards but I thought I'd try. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
|
Hi Ivyseidel (Ivy?), Can you tell us what version of GenX you're running? That could help track down precisely what's happening. If there's a finite Value of Lost Load in I'm not 100% confident about this error message, but it looks like you might have an out-of-bounds objective value. That might be what happens when the objective can become arbitrary low, like if an infinite amount of some subsidized generator operation could be performed. What if you set a finite but very high I could also be wrong about the error message and there could be some policy constraint which is causing the model to be infeasible. I recently troubleshooted a situation like that; it turns out I was missing input values for some classes generators for the Capacity Reserve Margin policy, so this policy constraint could not be satisfied. If this is the case you might try turning off policies and seeing which combinations of on/off give the error. |
Beta Was this translation helpful? Give feedback.



Looking at my notes, I once got that Gurobi error ("Model is infeasible or unbounded") when I had a problem which was infeasible.
You said that you had a problem when you removed the generators with unbounded supply, right?
You might check that the remaining resources include firm generators that can supply each Capacity Reserve Margin zone.
It's also worth checking for problems like a resource which can be built but not retired but
Existing_Cap_MWexceedsMax_Cap_MW. There can also be problems with storage withMin_Duration/Max_Durationconstraints which can't be fulfilled by theNew_Buildsettings and combinations ofMin_Cap_MW/Max_Cap_MW/Min_Cap_MWh/Max_Cap_MWh.