Skip to content

Ssc 1378 custom generation lifetime#1384

Open
brtietz wants to merge 6 commits intodevelopfrom
ssc_1378_custom_generation_lifetime
Open

Ssc 1378 custom generation lifetime#1384
brtietz wants to merge 6 commits intodevelopfrom
ssc_1378_custom_generation_lifetime

Conversation

@brtietz
Copy link
Copy Markdown
Collaborator

@brtietz brtietz commented Apr 6, 2026

Pull Request Template

Description

Add lifetime mode to custom generation profile with appropriate additional data handling

Fixes #1371 and #1378

Corresponding branches and PRs:

ssc_1378_custom_generation_lifetime on SAM NatLabRockies/SAM#2166

Develop of other branches

Unit Test Impact:

New tests to capture derate handling and lifetime mode

Checklist

  • requires help revision and I added that label
  • adds, removes, modifies, or deletes variables in existing compute modules
  • adds a new compute module
  • changes defaults
  • I've tagged this PR to a milestone

Reminders- this section can be deleted

[Checking for PySAM Incompatible API Changes]
(https://github.com/NREL/SAM/wiki/PySAM-Incompatible-API-Changes-&-Regenerating-PySAM-Files).

[When do the PySAM files need to be regenerated?]
(https://github.com/NREL/SAM/wiki/PySAM-Incompatible-API-Changes-&-Regenerating-PySAM-Files#when-do-the-pysam-files-need-to-be-regenerated-via-export_config)

@coveralls
Copy link
Copy Markdown

Coverage Report for PR #1384

Coverage decreased (-0.02%) to 56.275%

Diff Coverage: No coverable lines changed

Coverage Regressions

42 previously-covered lines in 2 files lost coverage.

File Lines Lost Coverage
ssc/shared/lib_geothermal.cpp 5 65.99%
ssc/ssc/cmod_custom_generation.cpp 37 73.19%

Coverage Status
Change from base Build 23860928407: -0.02%
Covered Lines: 68180
Relevant Lines: 121156

💛 - Coveralls

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.

Add a lifetime input option to custom generation profile plant

2 participants