Skip to content

Stretch multi hour gen outputs to 8760 array for CombineCases#765

Merged
mjprilliman merged 2 commits into
developfrom
combine_cases_multihour
Nov 16, 2021
Merged

Stretch multi hour gen outputs to 8760 array for CombineCases#765
mjprilliman merged 2 commits into
developfrom
combine_cases_multihour

Conversation

@mjprilliman

Copy link
Copy Markdown
Collaborator

-Check for array lengths that are multiple of 8760 (ex. 2920) to stretch out into 8760 gen array of kW values for Combine Cases
-Designed for MEwave, should be flexible for any uniform arrays of > 1 hour
-Should this be extended to include sub-hourly?

@mjprilliman mjprilliman added this to the SAM Fall 2021 Release milestone Nov 14, 2021
@mjprilliman mjprilliman self-assigned this Nov 14, 2021

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

Seems to work for Generic-Battery combining Wind and ME Wave, so I think this is good.

We can consider handling subhourly in the future based on actual use cases as we get feedback from users.

@mjprilliman mjprilliman merged commit c24d141 into develop Nov 16, 2021
@mjprilliman mjprilliman deleted the combine_cases_multihour branch November 16, 2021 03:49
@cpaulgilman cpaulgilman added the added to release notes PR and/or issue has been added to release notes for a public release label Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

added to release notes PR and/or issue has been added to release notes for a public release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants