Skip to content

fix gen length issue that broke REopt sizing call#952

Merged
brtietz merged 1 commit into
patchfrom
sam_1290_fix_reopt_api_call_pvwatts
Dec 15, 2022
Merged

fix gen length issue that broke REopt sizing call#952
brtietz merged 1 commit into
patchfrom
sam_1290_fix_reopt_api_call_pvwatts

Conversation

@brtietz

@brtietz brtietz commented Dec 8, 2022

Copy link
Copy Markdown
Collaborator

Properly account for the fact that PVWatts only generates one year of data when calling the REopt API. Fixes NatLabRockies/SAM#1290

Rigorous testing would include multiple timesteps and analysis periods for both PVWatts-Battery and Detailed PV-Battery

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

Looks good. Tested with hourly data / analysis_period = 25 and 15-minute data / analysis_period = 30.

@brtietz brtietz merged commit a20b1ce into patch Dec 15, 2022
@brtietz brtietz deleted the sam_1290_fix_reopt_api_call_pvwatts branch December 13, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REopt API call fails for PVWatts cases

2 participants