Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marine Tidal / LCOE Calculator default case opens with UI error #1983

Open
cpaulgilman opened this issue Dec 17, 2024 · 5 comments
Open

Marine Tidal / LCOE Calculator default case opens with UI error #1983

cpaulgilman opened this issue Dec 17, 2024 · 5 comments
Assignees

Comments

@cpaulgilman
Copy link
Collaborator

cpaulgilman commented Dec 17, 2024

Describe the bug

The default Marine Tidal / LCOE Calculator case displays a UI error when it opens.

image

To Reproduce

  1. Create a Marine Tidal / LCOE Calculator case.
  2. See error.

The error seems to be triggered by loading the Time Series option on the Tidal Resource page.

Operating System and Version

SAM 2024.12.12

Windows 11

@mjprilliman
Copy link
Collaborator

There's an issue with initialization of the tidal resource library on first open. Switching from Frequency of occurrence to Time series fixes this (you can then go back to Frequency of occurrence). Completely exiting SAM and reopening after doing this for tidal configs (LCOE and None) removes the error in subsequent runs. I can't replicate the initial error in the dev version (SAM or SAMOS) or the RC, @sjanzou any ideas on what's different for the release?

@sjanzou
Copy link
Collaborator

sjanzou commented Dec 18, 2024

There's an issue with initialization of the tidal resource library on first open. Switching from Frequency of occurrence to Time series fixes this (you can then go back to Frequency of occurrence). Completely exiting SAM and reopening after doing this for tidal configs (LCOE and None) removes the error in subsequent runs. I can't replicate the initial error in the dev version (SAM or SAMOS) or the RC, @sjanzou any ideas on what's different for the release?

Hmmm.... when I download and install the 2024.12.12 release and create and Marine Tidal / LCOE case, I receive no error on Windows:
image

@sjanzou
Copy link
Collaborator

sjanzou commented Dec 18, 2024

Also, when the release is downloaded and tested on MacOS, the Marine Tidal / LCOE configuration opens and runs without issue
image

@sjanzou
Copy link
Collaborator

sjanzou commented Dec 18, 2024

@mjprilliman, I checked the commit history and cannot find any changes between the release candidate and the full release in SAM-private...did any library folders change?

@cpaulgilman
Copy link
Collaborator Author

Yesterday I was able to replicate this error reliably (in Windows). Today, the case opens with no error, even after I uninstalled and reinstalled SAM 2024.12.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants