Combine Cases Macro doesn't work anymore.

  • pedroaquino
  • Topic Author
More
26 Mar 2018 15:11 #6160 by pedroaquino
Combine Cases Macro doesn't work anymore. was created by pedroaquino
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.

Please Log in or Create an account to join the conversation.

  • pgilman
More
28 Mar 2018 12:39 - 18 May 2023 09:33 #6161 by pgilman
Replied by pgilman on topic Combine Cases Macro doesn't work anymore.
UPDATE: As of SAM 2021.12.02, the Combine Cases macro is replaced by the Calculate generation profiles and nameplate capacity from open cases option on the Power Plant page for the Generic System model and Generic Battery model. See the SAM YouTube channel for a short tutorial .

Dear Pedro,

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

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

sam.nrel.gov/contact

Best regards,
Paul.
Last edit: 18 May 2023 09:33 by pgilman.

Please Log in or Create an account to join the conversation.

  • pgilman
More
10 Apr 2018 11:58 #6162 by pgilman
Replied by pgilman on topic Combine Cases Macro doesn't work anymore.
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
Code:
Combine Cases.lk
file. Then replace the old version of the file in the
Code:
runtime/macros
folder in your SAM installation folder. By default in Windows the folder is
Code:
c:/SAM/2017.9.5/runtime/macros
.

Download the file from this link:

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

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

  • pedroaquino
  • Topic Author
More
10 Apr 2018 14:38 #6163 by pedroaquino
Replied by pedroaquino on topic Combine Cases Macro doesn't work anymore.
Works like a charm!
Thank you so much for the solutions, Mr. Gilman.

Best regards,
Pedro.

Please Log in or Create an account to join the conversation.

  • UMLSTU
More
21 Jun 2019 12:10 #7475 by UMLSTU
Replied by UMLSTU on topic Combine Cases Macro doesn't work anymore.
page not found??

Please Log in or Create an account to join the conversation.

  • UMLSTU
More
21 Jun 2019 12:13 #7476 by UMLSTU
Replied by UMLSTU on topic Combine Cases Macro doesn't work anymore.
Hello, I can not combine cases in SAM I have a multi-array PV simulation that I would like to connect to a single battery system.  Possibly use a backup generator as well. but one thing at a time

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum