Skip to content

Fix #1611 issue updating adjust in version upgrader#1614

Merged
janinefreeman merged 1 commit into
version-upgrade-updatesfrom
SAM_1611
Nov 30, 2023
Merged

Fix #1611 issue updating adjust in version upgrader#1614
janinefreeman merged 1 commit into
version-upgrade-updatesfrom
SAM_1611

Conversation

@sjanzou

@sjanzou sjanzou commented Nov 30, 2023

Copy link
Copy Markdown
Collaborator

Issue was that version-upgrade-updates does not have the fix for issue 1608 merged into develop CaseWindow::UpdateConfiguration
image
– so that after upgrading, the inputs are overwritten with the defaults.

Update casewin.cpp with changes from develop and test – working and matching (2022.11.21 on left and updated on right - this branch)
image

with upgrade script
image

@sjanzou sjanzou self-assigned this Nov 30, 2023
@sjanzou sjanzou linked an issue Nov 30, 2023 that may be closed by this pull request

@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.

Seems to fix the issue we were discussing yesterday. I am still having some trouble with the custom period updates but not sure if it is just me.

Steps:

  1. Create a Detailed PV - LCOE calculator in the 2022 release
  2. Save that file, close (don't change anything)
  3. Open that case in this branch
  4. Click Simulate
  5. adjust_periods is shown as [1] in inputs browser, upgrade notes.
    image

@janinefreeman janinefreeman merged commit b73b909 into version-upgrade-updates Nov 30, 2023
@janinefreeman janinefreeman deleted the SAM_1611 branch November 30, 2023 21:43
janinefreeman added a commit that referenced this pull request Nov 30, 2023
* updated version upgrade script to change language in adjust variable notices and updated to correct list of technologies that require the upgrade

* fixed logic for upgrading adjust:periods variable

* updated upgrade script to clarify text for adjust variable changes

* Add labels for adjust variables

* updates to version upgrade script

* updates to version upgrader

* Fix #1611 issue updating adjust in version upgrader (#1614)

* final fix to adjust_periods variable

---------

Co-authored-by: Matt Prilliman <Matthew.Prilliman@nrel.gov>
Co-authored-by: Brian Mirletz <brian.mirletz@nrel.gov>
Co-authored-by: sjanzou <steven@janzouconsulting.com>
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.

Upgrading "adjust" variable doesn't work

3 participants