If the purchase cost is defined but some limit on energy_capisn't defined, then there is no constraint to link purchase with energy_cap. This means that you get zeroes across the board for purchase even when technologies that are using this binary decision variable have a non-zero energy_cap.
The straightforward workaround is to set energy_cap_max to some value that is akin to bigM: large enough not to impact model results but small enough not to cause numerical trouble.
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