25-10-2021, 08:59 PM
> Is it normal that these slacks are still there in the outputs by 2050?
Hmm... the dummy import flows are not slack variables. But the UC constraints do always have slack variables, VAR_UCxxx. And yes, it is normal that these slacks appear in the results, either with non-zero levels or marginals.
If you mean that the dummy flows are still there in the outputs by 2050, I am not sure what you mean by "in the outputs". But if you mean that the flows have positive values in the results, even though you have bounded them to zero, that would certainly not be normal. Defining FLO_BND(r,t,'IMPNRGZ',com,'ANNUAL','UP') = EPS would generate equations forcing the IMPNRGZ flows of com to zero.
Hmm... the dummy import flows are not slack variables. But the UC constraints do always have slack variables, VAR_UCxxx. And yes, it is normal that these slacks appear in the results, either with non-zero levels or marginals.
If you mean that the dummy flows are still there in the outputs by 2050, I am not sure what you mean by "in the outputs". But if you mean that the flows have positive values in the results, even though you have bounded them to zero, that would certainly not be normal. Defining FLO_BND(r,t,'IMPNRGZ',com,'ANNUAL','UP') = EPS would generate equations forcing the IMPNRGZ flows of com to zero.