Redrilling costs fixup; Don't display incorrect SAM-EM ITC [v3.9.40] #87
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
:Testing & Verification
Redrilling costs fixup
Fervo_Project_Cape-4
andexample13
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 specifiedTotal Capital Costs
specified:SAM ITC
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 theInvestment Tax Credit
output field.