Skip to content

Commit 3d1fa97

Browse files
Merge pull request NREL#411 from softwareengineerprogrammer/main
Add-Ons support for SAM Economic Models [v3.9.47]
2 parents 10b80cc + b806da0 commit 3d1fa97

28 files changed

+1109
-238
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.9.43
2+
current_version = 3.9.47
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.9.43
57+
version: 3.9.47
5858
version_manager: "bump2version"
5959
website: "https://github.com/NREL"
6060
year_from: "2023"

CHANGELOG.rst

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,36 @@ GEOPHIRES v3 (2023-2025)
88
3.9
99
^^^
1010

11-
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.7>`__
11+
3.9.47: `Add-Ons support for SAM Economic Models <https://nrel.github.io/GEOPHIRES-X/SAM-Economic-Models.html#add-ons>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.47>`__
1212

13-
v3.9 adds the `SAM Single Owner PPA Economic Model <https://nrel.github.io/GEOPHIRES-X/SAM-Economic-Models.html>`__
13+
3.9.43: `Inflation costs <https://github.com/NREL/GEOPHIRES-X/pull/409>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.43>`__
1414

15+
3.9.40: `Redrilling costs fixup; Don't display incorrect SAM-EM ITC <https://github.com/NREL/GEOPHIRES-X/pull/405>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.40>`__
16+
17+
3.9.36: `Increase max exploration cost <https://github.com/NREL/GEOPHIRES-X/pull/403>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.36>`__
18+
19+
3.39.35: `Parameterize contingency <https://github.com/NREL/GEOPHIRES-X/pull/402>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.35>`__
20+
21+
3.9.34: `Parameterize indirect costs <https://github.com/NREL/GEOPHIRES-X/pull/401>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.34>`__
22+
23+
3.9.33: `Parameterize Reservoir Stimulation Capital Cost per well <https://github.com/NREL/GEOPHIRES-X/pull/399>`__, `Allow input parameters in CSV <https://github.com/NREL/GEOPHIRES-X/pull/398>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.33>`__
24+
25+
3.9.31: `Fix client cwd stashing regression <https://github.com/NREL/GEOPHIRES-X/pull/397>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.31>`__
26+
27+
3.9.29: `Move Getting Started to separate documentation page; MPF Gringarten name <https://github.com/NREL/GEOPHIRES-X/pull/396>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.29>`__
28+
29+
3.9.28: `Peaking Boiler Cost per kW; Increase allowed fractures; Honor Capital Cost for Power Plant; Client caching fix; Cape-4 laterals & res. vol.; Doublets parameter <https://github.com/NREL/GEOPHIRES-X/pull/394>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.28>`__
30+
31+
3.9.16: `Fervo Cape Station 500 MWe Update + 50 MWe SAM Example <https://github.com/NREL/GEOPHIRES-X/pull/389>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.16>`__
32+
33+
3.9.8: `Missing percent unit fixes <https://github.com/NREL/GEOPHIRES-X/pull/388>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.8>`__
34+
35+
3.9: `SAM Single Owner PPA Economic Model <https://nrel.github.io/GEOPHIRES-X/SAM-Economic-Models.html>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.7>`__
1536

1637
3.8
1738
^^^
1839

19-
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.8.0>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.7.0...v3.8.0>`__
40+
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.8.14>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.7.23...v3.8.14>`__
2041

2142
Revenue & Cashflow Profile period output aligned with NREL convention used to calculate NPV.
2243
See https://github.com/NREL/GEOPHIRES-X/discussions/344
@@ -30,7 +51,7 @@ DOE 2019. "GeoVision" p. 163. https://www.energy.gov/sites/prod/files/2019/06/f6
3051
3.7
3152
^^^
3253

33-
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.7.0>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.6.0...v3.7.0>`__
54+
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.7.23>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.6.9...v3.7.23>`__
3455

3556
"Well depth (or total length, if not vertical)" output field renamed to "Well depth" per https://github.com/NREL/GEOPHIRES-X/issues/321
3657

@@ -51,7 +72,7 @@ DOE 2019. "GeoVision" p. 163. https://www.energy.gov/sites/prod/files/2019/06/f6
5172
3.6
5273
^^^
5374

54-
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.6.0>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.5.0...v3.6.0>`__
75+
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.6.9>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.5.7...v3.6.9>`__
5576

5677
Changes default output file path to the original working directory instead of the the GEOPHIRES module source directory (usually ``geophires-x`` or ``src/geophires_x``, depending on package installation type).
5778
This affects:
@@ -71,7 +92,7 @@ Affected users who do not want the new behavior can specify absolute output path
7192
3.5
7293
^^^
7394

74-
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.5.0>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.4.0...v3.5.0>`__
95+
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.5.7>`__ | `diff <https://github.com/NREL/GEOPHIRES-X/compare/v3.4.0...v3.5.7>`__
7596

7697
Milestone version for case studies, SHR temperatures, and other changes since 3.0.
7798
An overview is given in the July 2024 NREL GEOPHIRES Workshop `Version 3.5 Announcement session recording <https://youtu.be/Bi_l6y6_LQk>`__.

README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ Free software: `MIT license <LICENSE>`__
5858
:alt: Supported implementations
5959
:target: https://pypi.org/project/geophires-x
6060

61-
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.9.43.svg
61+
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.9.47.svg
6262
:alt: Commits since latest release
63-
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.9.43...main
63+
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.9.47...main
6464

6565
.. |docs| image:: https://readthedocs.org/projects/GEOPHIRES-X/badge/?style=flat
6666
:target: https://nrel.github.io/GEOPHIRES-X
@@ -308,7 +308,10 @@ Example-specific web interface deeplinks are listed in the Link column.
308308
- `example_SAM-single-owner-PPA-2.txt <tests/examples/example_SAM-single-owner-PPA-2.txt>`__
309309
- `.out <tests/examples/example_SAM-single-owner-PPA-2.out>`__
310310
- `link <https://gtp.scientificwebservices.com/geophires?geophires-example-id=example_SAM-single-owner-PPA-2>`__
311-
311+
* - SAM Single Owner PPA: 50 MWe with Add-on
312+
- `example_SAM-single-owner-PPA-3.txt <tests/examples/example_SAM-single-owner-PPA-3.txt>`__
313+
- `.out <tests/examples/example_SAM-single-owner-PPA-3.out>`__
314+
- `link <https://gtp.scientificwebservices.com/geophires?geophires-example-id=example_SAM-single-owner-PPA-3>`__
312315
.. raw:: html
313316

314317
<embed>

docs/SAM-Economic-Models.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The following table describes how GEOPHIRES parameters are transformed into SAM
3030
| `Fraction of Investment in Bonds` | Financial Parameters → Project Term Debt | `Debt percent` | `Singleowner` | `debt_percent` | .. N/A |
3131
| `Inflated Bond Interest Rate` | Financial Parameters → Project Term Debt | `Annual interest rate` | `Singleowner` | `term_int_rate` | .. N/A |
3232
| `Starting Electricity Sale Price`, `Ending Electricity Sale Price`, `Electricity Escalation Rate Per Year`, `Electricity Escalation Start Year` | Revenue | `PPA price` | `Singleowner` | `ppa_price_input` | GEOPHIRES's pricing model is used to create a PPA price schedule that is passed to SAM. |
33+
| `Total AddOn Profit Gained` | Revenue → Capacity Payments | `Fixed amount`, `Capacity payment amount` | `Singleowner` | `cp_capacity_payment_type = 1`, `cp_capacity_payment_amount` | |
3334
| `Investment Tax Credit Rate` | Incentives → Investment Tax Credit (ITC) | `Federal``Percentage (%)` | `Singleowner` | `itc_fed_percent` | Note that unlike the BICYCLE Economic Model's `Total capital costs`, SAM Economic Model's `Total CAPEX` is the total installed cost and does not subtract ITC value (if present). |
3435
| `Production Tax Credit Electricity` | Incentives → Production Tax Credit (PTC) | `Federal``Amount ($/kWh)` | `Singleowner` | `ptc_fed_amount` | .. N/A |
3536
| `Production Tax Credit Duration` | Incentives → Production Tax Credit (PTC) | `Federal``Term (years)` | `Singleowner` | `ptc_fed_term` | .. N/A |
@@ -48,7 +49,9 @@ The following table describes how GEOPHIRES parameters are transformed into SAM
4849
### Limitations
4950

5051
1. Only Electricity end-use is supported
51-
2. Only 1 construction year is supported. Note that the `Inflation Rate During Construction` parameter can be used to partially account for longer construction periods.
52+
2. Only 1 construction year is supported. Note that the `Inflation Rate During Construction` parameter can be used to
53+
partially account for longer construction periods.
54+
3. Add-ons with electricity and heat are not currently supported. (Add-ons CAPEX, OPEX, and profit are supported.)
5255

5356
## Using SAM Economic Models with Existing GEOPHIRES Inputs
5457

@@ -135,6 +138,17 @@ You can then manually enter the parameters from the logged mapping into the SAM
135138

136139
![](sam-desktop-app-manually-enter-system-capacity-from-geophires-log.png)
137140

141+
## Add-Ons
142+
143+
SAM Economic Models incorporate add-ons directly, unlike other GEOPHIRES economic models, which calculate separate
144+
extended economics.
145+
Total Add-on CAPEX is added to Total CAPEX.
146+
Total Add-on OPEX is added to Total operating and maintenance costs.
147+
Total AddOn Profit Gained per year is treated as fixed amount Capacity payment revenue.
148+
149+
Add-ons CAPEX, OPEX, and profit are supported.
150+
Add-ons with electricity and heat are not currently supported, but may be supported in the future.
151+
138152
## Examples
139153

140154
### SAM Single Owner PPA: 50 MWe

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
year = '2025'
1919
author = 'NREL'
2020
copyright = f'{year}, {author}'
21-
version = release = '3.9.43'
21+
version = release = '3.9.47'
2222

2323
pygments_style = 'trac'
2424
templates_path = ['./templates']

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def read(*names, **kwargs):
1313

1414
setup(
1515
name='geophires-x',
16-
version='3.9.43',
16+
version='3.9.47',
1717
license='MIT',
1818
description='GEOPHIRES is a free and open-source geothermal techno-economic simulator.',
1919
long_description='{}\n{}'.format(

0 commit comments

Comments
 (0)