Skip to content

Redrilling costs fixup; Don't display incorrect SAM-EM ITC [v3.9.40] #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 26, 2025

Conversation

softwareengineerprogrammer
Copy link
Owner

@softwareengineerprogrammer softwareengineerprogrammer commented Jul 25, 2025

Description

Redrilling costs fixup

Add Redrilling costs output parameter with tooltip text: "Total redrilling costs over the Plant Lifetime are calculated as (Drilling and completion costs + Stimulation costs) × Number of times redrilling. The total is then divided over Plant Lifetime years to calculate Redrilling costs per year.". OPEX line items now add up to the displayed total for EGS with redrilling (covered by unit test).

Don't display incorrect SAM Economic Models ITC

#88

Workaround for NREL#404: skip displaying the ITC value for SAM Economic Models because it can be/probably is usually mathematically inaccurate, and even if it's not, it's redundant with the cash flow profile and also misleading/confusing/wrong to display it as a capital cost since it is not a capital expenditure.

For example Fervo_Project_Cape-4 displays ITC as $-688.54M but the probably-corresponding line item in cash flow is $791,817,681:
image

Testing & Verification

Redrilling costs fixup

  1. Updated affected existing unit tests - Fervo_Project_Cape-4 and example13
  2. test_redrilling_costs - verify redrilling costs are displayed in opex and opex line items add up to total, both with and without total capital costs specified
  3. Web interface
    1. image
    2. With Total Capital Costs specified: image

SAM ITC

  1. Regenerated impacted example unit tests: Fervo_Project_Cape-4, example_SAM-single-owner-PPA, & example_SAM-single-owner-PPA-2. Their results remain the same except for the removal of the Investment Tax Credit output field.
  2. Web interface: Capital Costs section with same parameters as above, ITC is no longer displayed: image

@softwareengineerprogrammer softwareengineerprogrammer changed the title Redrilling costs fixup Redrilling costs fixup [v3.9.37] Jul 25, 2025
@softwareengineerprogrammer softwareengineerprogrammer changed the title Redrilling costs fixup [v3.9.37] Redrilling costs fixup [v3.9.39] Jul 25, 2025
@softwareengineerprogrammer softwareengineerprogrammer changed the title Redrilling costs fixup [v3.9.39] Redrilling costs fixup; Don't display incorrect SAM-EM ITC [v3.9.40] Jul 26, 2025
@softwareengineerprogrammer softwareengineerprogrammer merged commit a8940cb into main Jul 26, 2025
24 checks passed
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.

1 participant