Combine Cases Macro doesn't work anymore.

4 posts / 0 new
Last post
pedroaquino
pedroaquino's picture
Combine Cases Macro doesn't work anymore.

Good day, beloved fellows of the SAM community.

Recently a accepted the update for a brand new SAM's version (sam-windows-2017-9-5-r4) and now all my analyses using the Combine Cases Macro has stopped to work. The System Costs information that used to be imported from the other cases as a negative value at the year 0 now it is zero and the financial analyses results as payback period, Levelized LCOE (real and nominal) has came as zeros.

Does anyone have the same problem as me?

Thanks for the attention.

Paul Gilman

Dear Pedro,

Would you mind emailing me a copy of your SAM file?

You can use the contact form to find my email address:

https://sam.nrel.gov/contact

Best regards,
Paul.

Paul Gilman

Dear Pedro,

Thank you for emailing me your file.

The problem is caused by changes we made to the Generic System Costs input page. To fix the problem, please use the link below to download a new Combine Cases.lk file. Then replace the old version of the file in the runtime/macros folder in your SAM installation folder. By default in Windows the folder is c:/SAM/2017.9.5/runtime/macros.

Download the file from this link:

https://github.com/NREL/SAM/blob/patch_release/deploy/runtime/macros/Combine%20Cases.lk

Best regards,
Paul.

pedroaquino
pedroaquino's picture

Works like a charm!
Thank you so much for the solutions, Mr. Gilman.

Best regards,
Pedro.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer