• 214 views | 3 messages Discussion: LEAP
    Topic: Error OptimizationSubscribe | Previous | Next
  • Etis Meilandari 10/7/2019

    Hi,

    I'm using LEAP 2018 version. When I tried to generate the result of my optimization model I've got a message "Optimization failed with error: Unknown error during optimization. Branch: Transformation\Electricity Generation." and when I said yes for "view debug information", I found this information below

    GLPSOL: GLPK LP/MIP Solver, v4.64

    Parameter(s) specified in the command line:

    --mipgap 0.01 --model OSeMOSYS.TXT --data OpData10.txt --output SelectedResults10.txt

    Reading model section from OSeMOSYS.TXT ...

    498 lines were read

    Reading data section from OpData10.txt...

    1704088 lines were read

    Generating cost...

    Generating CAa4_Constraint_Capacity...

    glp_alloc: no memory available

    Error detected in file ..\src\env\alloc.c at line 91

    could you help me in advance what happened with my simulation? and during the optimization scenario, we should not add power generation capacity endogenously right?

    I look forward to your reply.

    Thanks so much.

    Best regards,

    Etis Meilandari


  • Emily Ghosh 10/7/2019
      Best Response

    Hi Etis,

    An error during optimization often occurs if there are conflicting constraints in your inputs. Make sure that any Exogenous Capacity or Renewable Targets that are specified are greater than or equal to the Maximum Capacity variables.

    If you continue to get an error after checking the inputs, feel free to send a backed up copy of your model to leap@sei.org and we can take a look.

    Thanks,
    Emily

  • Etis Meilandari 10/8/2019
      Best Response

    Hi Emily,

    Thank you so much for your fast response.

    so, is it possible or not to set "unlimited" for maximum capacity?
    because it means the maximum capacity will be greater than exogenous or renewable targets.
    and is there any possibility this error occurs because I updated the software?
    my friend also said she can not run the simulation when she updated the software, and an error message is about out of memory.. but everything's okay when she used the old version.
    if you don't mind, I'll send my backup file, and please look for it.
    Thank you so much for your help.

    Best regards,
    Etis Meilandari