Skip to content

Commit ff894e1

Browse files
Merge pull request NREL#387 from softwareengineerprogrammer/main
SAM Single Owner PPA Economic Model [v3.9]
2 parents 081c67d + 581e93b commit ff894e1

File tree

66 files changed

+16914
-442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+16914
-442
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.8.14
2+
current_version = 3.9.7
33
commit = True
44
tag = True
55

.cookiecutterrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ default_context:
5454
sphinx_doctest: "no"
5555
sphinx_theme: "sphinx-py3doc-enhanced-theme"
5656
test_matrix_separate_coverage: "no"
57-
version: 3.8.14
57+
version: 3.9.7
5858
version_manager: "bump2version"
5959
website: "https://github.com/NREL"
6060
year_from: "2023"

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
# pre-commit install --install-hooks
33
# To update the versions:
44
# pre-commit autoupdate
5-
exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg|src/geophires_x)(/|$)'
5+
exclude: '^(\.tox|ci/templates|\.bumpversion\.cfg|src/geophires_x(?!/(GEOPHIRESv3|EconomicsSam|EconomicsSamCashFlow)\.py))(/|$)'
66
# Note the order is intentional to avoid multiple passes of the hooks
77
repos:
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.3.1
9+
rev: v0.11.4
1010
hooks:
1111
- id: ruff
1212
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
1313
- repo: https://github.com/psf/black
14-
rev: 24.2.0
14+
rev: 25.1.0
1515
hooks:
1616
- id: black
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v4.5.0
18+
rev: v5.0.0
1919
hooks:
2020
- id: trailing-whitespace
2121
- id: end-of-file-fixer

CHANGELOG.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ Changelog
55
GEOPHIRES-X (2023-2025)
66
------------------------
77

8+
3.9
9+
^^^
10+
11+
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.7>`__
12+
13+
v3.9 adds the `SAM Single Owner PPA Economic Model <https://softwareengineerprogrammer.github.io/GEOPHIRES/SAM-Economic-Models.html>`__
14+
15+
.. TODO switch link to nrel.github.io version once merged into main repo
16+
17+
818
3.8
919
^^^
1020

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ include How-to-extend-GEOPHIRES-X.md
2323
include geophires-logo.png
2424

2525
prune References
26+
prune geophires_sam_economics
2627

2728
global-exclude *.py[cod] __pycache__/* *.so *.dylib

README.rst

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ Free software: `MIT license <LICENSE>`__
5656
:alt: Supported implementations
5757
:target: https://pypi.org/project/geophires-x
5858

59-
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.8.14.svg
59+
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.9.7.svg
6060
:alt: Commits since latest release
61-
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.8.14...main
61+
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.9.7...main
6262

6363
.. |docs| image:: https://readthedocs.org/projects/GEOPHIRES-X/badge/?style=flat
6464
:target: https://nrel.github.io/GEOPHIRES-X
@@ -288,18 +288,22 @@ direct-use heat (e.g. for industrial processing heating or residential space hea
288288
(3) co-generation of heat and electricity. The co-generation option considers bottoming
289289
cycle, topping cycle, and parallel cycle.
290290

291-
GEOPHIRES has 4 economic models to calculate the levelized cost of heat or
291+
GEOPHIRES has 5 economic models to calculate the levelized cost of heat or
292292
electricity: (1) fixed charge rate (FCR) model;
293293
(2) standard discounting levelized cost model;
294294
(3) BICYCLE model;
295-
(4) CLGS.
295+
(4) CLGS;
296+
(5) SAM Single-owner PPA.
297+
298+
.. TODO link to SAM Economic Model docs
296299
297300
The capital and O&M costs for the different geothermal system components (exploration,
298301
well drilling, surface plant, etc.) are either provided by the user or calculated with built-in
299302
correlations.
300303

301304
For more information on the theoretical basis for GEOPHIRES see
302-
`GEOPHIRES v2.0: updated geothermal techno‐economic simulation tool (Beckers & McCabe, 2019) <https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/GEOPHIRES%20v2.0%20User%20Manual.pdf>`__.
305+
`GEOPHIRES v2.0: updated geothermal techno‐economic simulation tool (Beckers & McCabe, 2019) <https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/GEOPHIRES%20v2.0%20User%20Manual.pdf>`__
306+
and `GEOPHIRES reference materials <References/references.md#geophires>`__.
303307

304308
Parameters
305309
----------
@@ -458,6 +462,10 @@ Example-specific web interface deeplinks are listed in the Link column.
458462
- `example_SHR-2.txt <tests/examples/example_SHR-2.txt>`__
459463
- `.out <tests/examples/example_SHR-2.out>`__
460464
- `link <https://gtp.scientificwebservices.com/geophires?geophires-example-id=example_SHR-2>`__
465+
* - SAM Single Owner PPA
466+
- `example_SAM-single-owner-PPA.txt <tests/examples/example_SAM-single-owner-PPA.txt>`__
467+
- `.out <tests/examples/example_SAM-single-owner-PPA.out>`__
468+
- `link <https://gtp.scientificwebservices.com/geophires?geophires-example-id=example_SAM-single-owner-PPA>`__
461469

462470
.. raw:: html
463471

References/references.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
# GEOPHIRES
3-
* [GEOPHIRES v2.0 User Manual.pdf](https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/GEOPHIRES%20v2.0%20User%20Manual.pdf) ![https://doi.org/10.1186/s40517-019-0119-6](https://zenodo.org/badge/doi/10.1186/s40517-019-0119-6.svg)
3+
* [GEOPHIRES v2.0 User Manual.pdf](https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/GEOPHIRES%20v2.0%20User%20Manual.pdf) [![](https://zenodo.org/badge/doi/10.1186/s40517-019-0119-6.svg)](https://doi.org/10.1186/s40517-019-0119-6)
44
* [Beckers 2019 GEOPHIRES v2.pdf](https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/Beckers%202019%20GEOPHIRES%20v2.pdf)
55
* [Beckers 2018 Introducing GEOPHIRES v2.pdf](https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/Beckers%202018%20Introducing%20GEOPHIRES%20v2.pdf)
6-
* [Beckers 2016 Dissertation.pdf](https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/Beckers%202016%20Dissertation.pdf)
6+
* [Beckers 2016 Dissertation.pdf](https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/Beckers%202016%20Dissertation.pdf) [![](https://zenodo.org/badge/doi/10.7298/X4736NTC.svg)](https://doi.org/10.7298/X4736NTC)
77
* [Beckers 2013 GEOPHIRES v1.pdf](https://github.com/NREL/GEOPHIRES-X/blob/fb5caadfa419c3bd05de656a33700d085fbc0432/References/Beckers%202013%20GEOPHIRES%20v1.pdf)
88

99
# Reference

docs/Monte-Carlo-User-Guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,7 @@ python -mgeophires_monte_carlo GEOPHIRESv3.py GEOPHIRES-example1.txt MC_GEOPHIRE
118118
## Documentation
119119

120120
See [module documentation](reference/geophires_monte_carlo.html)
121+
122+
## Web Interface
123+
124+
Monte Carlo is available in the web interface at [gtp.scientificwebservices.com/monte-carlo](https://gtp.scientificwebservices.com/monte-carlo)

0 commit comments

Comments
 (0)