Skip to content

Swap pv-battery FOM configurations from ptc to ITC#2240

Merged
cpaulgilman merged 12 commits into
developfrom
update_itc_ptc_defaults_battery
Jul 6, 2026
Merged

Swap pv-battery FOM configurations from ptc to ITC#2240
cpaulgilman merged 12 commits into
developfrom
update_itc_ptc_defaults_battery

Conversation

@brtietz

@brtietz brtietz commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Pull Request Template

Description

Swap PTC to ITC for batteries

Corresponding branches and PRs:

Develop for other branches

Unit Test Impact:

Updated test_script_ow.lk results for attached defaults changes

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)

@brtietz brtietz self-assigned this Jul 1, 2026
@brtietz brtietz added financial Financial model dev bug Internal bug that should not be included in release notes labels Jul 1, 2026

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

There are some issues here. For example:

PVWatts-Battery / Single Owner has the ITC percentage assigned to Federal Amount instead of Federal Percentage:

Image

Custom Generation-Battery / TPO Host-Developer has ITC percentages set to zero.

I will try to fix these before the release.

Fuel cell state ITC qualification for hybrids to be consistent with fuel cell config
@janinefreeman

Copy link
Copy Markdown
Collaborator

@cpaulgilman let me know if you want me to review your changes before merging, or if you're comfortable with them. I'll be online the rest of this afternoon and a bit this weekend (regularly scheduled working hours), as well as Monday.

@cpaulgilman cpaulgilman self-requested a review July 2, 2026 21:34
@cpaulgilman

Copy link
Copy Markdown
Collaborator

@janinefreeman I think I fixed all the ITC and depreciation defaults for battery configs. It would be helpful for you to review before this gets merged. Thanks.

@janinefreeman

Copy link
Copy Markdown
Collaborator

DO NOT MERGE YET. Some defaults continue to be wrong, so far I've found the inverter got switched for PV-Wind-Battery Host/Developer such that the DC/AC ratio is 0.11. I will continue investigating and fix what I find on this branch.

… where the CEC library upgrades left the wrong module or inverter selected. fixes a variety of sizing messages and one very wrong dc/ac ratio
@janinefreeman

Copy link
Copy Markdown
Collaborator

It seems that the incorrect defaults were likely a result of the CEC module and inverter library upgrades. I manually checked defaults for all detailed PV, PV-battery, and PV-hybrid configs to make sure they were consistent with what we actually want, and updated the few that were wrong. I reviewed the ITC changes to the best of my ability. I think we are ok to merge but could be worth one more review Monday prior to building.

@cpaulgilman

Copy link
Copy Markdown
Collaborator

@janinefreeman This looks good now. I merged PVWatts Battery UI form fixes here to test latest defaults with new battery operating cost inputs for PVWatts Battery configs that were using the wrong form. Should be good to merge once CI tests pass.

@cpaulgilman cpaulgilman merged commit e6935c1 into develop Jul 6, 2026
6 checks passed
@cpaulgilman cpaulgilman deleted the update_itc_ptc_defaults_battery branch July 6, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev bug Internal bug that should not be included in release notes financial Financial model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants