Skip to content

Fixes SAM issue 1004#823

Merged
sjanzou merged 2 commits into
patchfrom
SAM_1004
May 28, 2022
Merged

Fixes SAM issue 1004#823
sjanzou merged 2 commits into
patchfrom
SAM_1004

Conversation

@sjanzou

@sjanzou sjanzou commented May 26, 2022

Copy link
Copy Markdown
Collaborator

cmod_merchant_plant_eqns updated to handle single value inputs
extrapolate_timeseries updated to handle single value array input

cmod_merchant_plant_eqns updated to handle single value inputs
extrapolate_timeseries updated to handle single value array input

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

Fix works well for a single value, but annual, monthly, and weekly all appear to be broken (no revenue with price set to $10/MWh and 100% cleared capacity). I've updated the test file with those additional cases:
merchant-single-value-bug.zip

@sjanzou sjanzou requested a review from brtietz May 27, 2022 11:15
@sjanzou

sjanzou commented May 27, 2022

Copy link
Copy Markdown
Collaborator Author

All modes fixed nd tested for all merchant plant revenue streams.

Test project files with 25 year and 2 year analysis period with one and all 5 merchant plant revenue streams enabled
SAM_1004.zip
.

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

Works great, thank you!

@sjanzou sjanzou merged commit fdc5be0 into patch May 28, 2022
@sjanzou sjanzou deleted the SAM_1004 branch May 28, 2022 04:55
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.

2 participants