purchased
binary variable isn't linked to energy_cap
if energy_cap_max
/_min
/_equals
isn't defined
#565
Labels
bug
has-workaround
The issue describes a valid workaround until the primary issue is solved
v0.6
Version 0.6
What happened?
If the
purchase
cost is defined but some limit onenergy_cap
isn't defined, then there is no constraint to linkpurchase
withenergy_cap
. This means that you get zeroes across the board forpurchase
even when technologies that are using this binary decision variable have a non-zeroenergy_cap
.The straightforward workaround is to set
energy_cap_max
to some value that is akin tobigM
: large enough not to impact model results but small enough not to cause numerical trouble.Which operating systems have you used?
Version
v0.6.10
Relevant log output
No response
The text was updated successfully, but these errors were encountered: