[v0] SAM single owner PPA economic model [v3.9]#69
Closed
softwareengineerprogrammer wants to merge 166 commits into
Closed
[v0] SAM single owner PPA economic model [v3.9]#69softwareengineerprogrammer wants to merge 166 commits into
softwareengineerprogrammer wants to merge 166 commits into
Conversation
…giving up for now
…nchronize PySAM JSON template to match
…t rate from SAM example since they're unsupported
…djust degradation accordingly
…ximately in sync with Fervo_Project_Cape-3
…HIRES_DEV_DEBUGGING env var set to true
…tion re: numpy package requirements (appears to be tripped up by python-version-conditional numpy requirements in setup.py)
…model is specified, including unit test that carbon calculation is still performed
…t was accidentally not
… Actions and OS is windows, since GHA macos apparently doesn't like Agg backend (https://github.com/softwareengineerprogrammer/GEOPHIRES/actions/runs/14779862524/job/41496253000\#step:5:721)
…tting MPLBACKEND=Agg per https://github.com/orgs/community/discussions/26434#discussioncomment-3251926 - NatLabRockies#365" - doesn't work This reverts commit fa32232.
Owner
Author
|
Rebased and moved to #70 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR has been rebased and moved to #70
Description below represents pre-rebase state of PR on 2025-05-02
Description
This change adds a new SAM Single Owner PPA economic model (
EconomicModel.SAM_SINGLE_OWNER_PPA) to GEOPHIRES. When this economic model is specified, relevant GEOPHIRES input parameters and calculations are transformed into SAM financial model equivalents. The SAM financial model is then run using PySAM and the outputs are incorporated into the GEOPHIRES result.example_SAM-single-owner-PPA.txtexample_SAM-single-owner-PPA.outSAM CASH FLOW PROFILEscreenshot (see full case report example text at the end of the PR description):Relevant to top customer feature request to standardize specific costs: NatLabRockies#311
Requirements
SAM cash flow table must:
Total construction financing cost ($)andOther financing cost ($)GEOPHIRES to SAM Parameters Mapping
Testing & Verification
example_SAM-single-owner-PPAEconomicsSamTestCaseTODO
In approximate order of priority/likelihood to be treated as follow-up:
Done
geophires_sam_economics- how it was/should be used to generate/update metadata/config: f892ddeEconomics.sam_economicsinternal variable: 1b7dff1Immediate solution blocked by Multi-year custom generation profile? NatLabRockies/SAM#2069 / Add lifetime simulation to windpower NatLabRockies/ssc#1300May be possible to workaround by using Geothermal module instead of CustomGenerationFull SAM Cash Flow case report text example