How to use utility rate calculator in another project

  • Si Chen
  • Topic Author
  • New Member
  • New Member
More
24 Jan 2020 17:57 #7892 by Si Chen
Hi everybody,

I've just started working with SAM and am really impressed!  

We're working on another open source project (opentaps.org) and would like to calculate the value of energy savings and energy generated from renewables based on utility rates.  I saw that SAM had the utility rate database and utility calculator, and we'd like to be able to use this in our project.  Was this originally developed in SAM or from another open source project? 

Thanks!

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

  • Paul Gilman
  • Paul Gilman's Avatar
  • Platinum Member
  • Platinum Member
More
27 Jan 2020 17:38 #7903 by Paul Gilman
Hi Si Chen,

The source code for SAM's electricity bill calculator is here:

github.com/NREL/ssc/blob/develop/ssc/cmod_utilityrate5.cpp

I answered your other questions here:

sam.nrel.gov/forum/forum-sdk/2895-how-to-use-utility-rate-calculator-in-another-project.html

Best regards,
Paul.

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

Moderators: Paul Gilman
Powered by Kunena Forum