Skip to content

First batch of nlr.gov api changes#2157

Merged
brtietz merged 5 commits into
patchfrom
2156_pt1_nrel_dot_gov
Mar 31, 2026
Merged

First batch of nlr.gov api changes#2157
brtietz merged 5 commits into
patchfrom
2156_pt1_nrel_dot_gov

Conversation

@brtietz

@brtietz brtietz commented Mar 27, 2026

Copy link
Copy Markdown
Collaborator

Pull Request Template

Description

Update nrel.gov to nlr.gov in the SAM repo

Corresponding branches and PRs:

Patch for lk, wex, ssc.

2156_pt1_nrel_dot_gov for sam-private

cmake command given non-ortools build:

cmake -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES="Debug;Release" -DCMAKE_SYSTEM_VERSION=10.0 -DSAMAPI_EXPORT=1 -DSAM_SKIP_AUTOGEN=0 -DSAMPRIVATE=1 ..

Old batch CMakeLists.txt:
CMakeLists_patch.txt

Unit Test Impact:

No changes for others

Checklist

  • [?] requires help revision and I added that label
  • adds, removes, modifies, or deletes variables in existing compute modules
  • adds a new compute module
  • changes defaults
  • I've tagged this PR to a milestone

@janinefreeman

Copy link
Copy Markdown
Collaborator

Visual inspection of changes look fine, but after fighting substantially with my build I can't get it working to test it. I'm not sure if it's interacting with or-tools settings (although I did try deleting the build folder and running an old cmake command to no avail)- will try again when other resources are online for help 😝

@brtietz

brtietz commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator Author

Visual inspection of changes look fine, but after fighting substantially with my build I can't get it working to test it. I'm not sure if it's interacting with or-tools settings (although I did try deleting the build folder and running an old cmake command to no avail)- will try again when other resources are online for help 😝

https://github.com/NatLabRockies/SAM/wiki/Windows-Build-Instructions is up to date, what other resources are you waiting for? I personally have had some issues with that cmake command, and transitioned the % syntax to $ to get it working. Happy to jump on a call to debug.

@janinefreeman

Copy link
Copy Markdown
Collaborator

You being available to jump on a call to debug my build was exactly the "resource" I had in mind 😄 I didn't mean to imply incompleteness in documentation, I believe this is user error 🤣

@mjprilliman mjprilliman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the API's I could think to check work. Still some NREL in various places, but the high priority links all appear to be good.

Comment thread README.md Outdated
Comment thread samples/Python Scripts/End Use Load Profiles/load-data-example.py Outdated
Comment thread deploy/runtime/macros/All Equity Partnership Flip/Cambium Time Series Prices.lk Outdated

@janinefreeman janinefreeman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally got everything building correctly (thanks @mjprilliman and @brtietz ) and looks good here. Tested user registration, welcome window, NSRDB download, and wind toolkit download.

@brtietz brtietz merged commit 935f92b into patch Mar 31, 2026
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants