forked from NREL/GEOPHIRES-X
-
Notifications
You must be signed in to change notification settings - Fork 1
[v0] SAM single owner PPA economic model [v3.9] #69
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
Closed
softwareengineerprogrammer
wants to merge
166
commits into
main
from
econ-model-single-owner-ppa-sam-2
Closed
[v0] SAM single owner PPA economic model [v3.9] #69
softwareengineerprogrammer
wants to merge
166
commits into
main
from
econ-model-single-owner-ppa-sam-2
Conversation
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
…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 - NREL#365" - doesn't work This reverts commit fa32232.
Rebased and moved to #70 |
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.txt
example_SAM-single-owner-PPA.out
SAM CASH FLOW PROFILE
screenshot (see full case report example text at the end of the PR description):Relevant to top customer feature request to standardize specific costs: NREL#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-PPA
EconomicsSamTestCase
TODO
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_economics
internal variable: 1b7dff1Immediate solution blocked by Multi-year custom generation profile? NREL/SAM#2069 / Add lifetime simulation to windpower NREL/ssc#1300May be possible to workaround by using Geothermal module instead of CustomGenerationFull SAM Cash Flow case report text example