• 105 views | 2 messages Discussion: LEAP
    Topic: OSeMOSYS Optimization failed with errorSubscribe | Previous | Next
  • Zsombor Garzo 3/3/2021

    Hello,

    I am using LEAP for my masters and I keep running to this error message. Any suggestions on how to troubleshoot it? I can run the model if I turn off optimization but the results are rather strange. I attach screenshots of the error message. Thank you in advance!


    Screenshot (1).png
    Screenshot (2).png
  • Charlie Heaps 3/3/2021
      Best Response

    I think this error occurs in older versions of LEAP (2020.1.20 and earlier) when using optimization with OSeMOSYS in cases where you have not specified any emission factors. I believe this error has been fixed in the latest release of LEAP, so please update to the latest version (currently v2020.1.24). The error also goes away if you have one or more emission factors in your model.

    I would also recommend transitioning to NEMO instead of OSeMOSYS as it is much more capable for optimization modeling. Also, with the release of LEAP v2020.1.24 I strongly recommend using NEMO with the free CBC solver as it is now much faster.

    Best,

    Charlie