Skip to content

Commit 3706d0d

Browse files
Merge branch 'main' into softwareengineerprogrammer_sherrboldt_tough-updates
2 parents d256964 + 8cbf801 commit 3706d0d

File tree

127 files changed

+5305
-1806
lines changed

Some content is hidden

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

127 files changed

+5305
-1806
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.31
2+
current_version = 3.9.65
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.31
57+
version: 3.9.65
5858
version_manager: "bump2version"
5959
website: "https://github.com/NREL"
6060
year_from: "2023"

.github/pull_request_template.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Description
2+
3+
*Describe your change, including links to relevant tracking issue(s), implementation approach, new/updated documentation,
4+
and any other relevant information.*
5+
6+
# Testing & Verification
7+
8+
1. Unit tests added: *Describe new unit tests added, if any.*
9+
1. Unit tests updated: *Describe existing unit tests that were updated, if any.*
10+
1. Manual testing: *Describe any additional manual testing steps that were performed, such as running the change on a pre-existing data set you own.*
11+
12+
---
13+
14+
**Change Checklist**:
15+
16+
Observe the following checklist items if your change includes a new version (see [versioning notes](https://github.com/NREL/GEOPHIRES-X/blob/main/CHANGELOG.rst#versioning-notes) and [version management docs](https://github.com/NREL/GEOPHIRES-X/blob/main/CONTRIBUTING.rst#version-management)).
17+
18+
Before merging:
19+
1. [ ] Add a CHANGELOG entry ([example](https://github.com/NREL/GEOPHIRES-X/commit/15e10e5c3c08633a16645e41dfb7e8131805483f)). RST Template:
20+
```restructuredtext
21+
M.m.P: `TITLE <https://github.com/NREL/GEOPHIRES-X/pull/PR-NUMBER>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/vM.m.P>`__
22+
```
23+
24+
After merging:
25+
1. [ ] Push tag(s) to GitHub: `git push origin refs/tags/vM.m.P`
26+
1. [ ] Post a change announcement to the [GEOPHIRES Change Announcements Discussion](https://github.com/NREL/GEOPHIRES-X/discussions/428) ([example](https://github.com/NREL/GEOPHIRES-X/discussions/428#discussioncomment-14593405)). Markdown template:
27+
```markdown
28+
M.m.p: [TITLE](https://github.com/NREL/GEOPHIRES-X/pull/PR-NUMBER) | [release](https://github.com/NREL/GEOPHIRES-X/releases/tag/vM.m.P)
29+
```
30+
31+
---
32+
33+
*Additional metadata such as TODO items or link to your initial self-review (PR into your own fork created prior to submission)*

.github/workflows/github-actions.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,18 @@ jobs:
3838
python_arch: 'x64'
3939
tox_env: 'py39'
4040
os: 'ubuntu-latest'
41-
- name: 'py39 (windows)'
42-
python: '3.9'
43-
toxpython: 'python3.9'
44-
python_arch: 'x64'
45-
tox_env: 'py39'
46-
os: 'windows-latest'
4741
- name: 'py310 (ubuntu)'
4842
python: '3.10'
4943
toxpython: 'python3.10'
5044
python_arch: 'x64'
5145
tox_env: 'py310'
5246
os: 'ubuntu-latest'
53-
- name: 'py310 (windows)'
54-
python: '3.10'
55-
toxpython: 'python3.10'
56-
python_arch: 'x64'
57-
tox_env: 'py310'
58-
os: 'windows-latest'
47+
# - name: 'py310 (windows)'
48+
# python: '3.10'
49+
# toxpython: 'python3.10'
50+
# python_arch: 'x64'
51+
# tox_env: 'py310'
52+
# os: 'windows-latest'
5953
- name: 'py311 (ubuntu)'
6054
python: '3.11'
6155
toxpython: 'python3.11'
@@ -74,7 +68,12 @@ jobs:
7468
python_arch: 'x64'
7569
tox_env: 'py311'
7670
os: 'windows-latest'
77-
71+
- name: 'py312 (ubuntu)'
72+
python: '3.12'
73+
toxpython: 'python3.12'
74+
python_arch: 'x64'
75+
tox_env: 'py312'
76+
os: 'ubuntu-latest'
7877
# - name: 'pypy38 (ubuntu)'
7978
# python: 'pypy-3.8'
8079
# toxpython: 'pypy3.8'

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Geothermal_district_heating_system_with_peaking_boilers.png
2323
*.html
2424
!docs/*.html
2525

26+
# TODO may want to add this to source
27+
regenerate-schemas.sh
28+
requirements_2025-08-11.txt
29+
2630
# C extensions
2731
*.so
2832

@@ -80,6 +84,8 @@ nosetests.xml
8084
.pydevproject
8185
.vscode
8286

87+
ai.md
88+
8389
# Complexity
8490
output/*.html
8591
output/*/index.html
@@ -100,6 +106,9 @@ _site/
100106
/Useful sites for Sphinx docstrings.txt
101107
/.github/workflows/workflows.7z
102108

109+
# TODO unignore once favicon is correctly configured
110+
docs/_images/geophires-favicon.png
111+
103112
# Mypy Cache
104113
.mypy_cache/
105114

@@ -110,6 +119,21 @@ _site/
110119
/src/geophires_x/CLG Simulator/clg_tea_v3_SCO2_elec.py
111120
/src/geophires_x/CLG Simulator/clgs_v2.py
112121

122+
# TOUGH
123+
CO2TAB
124+
Doublet.dat
125+
Doublet.out
126+
FOFT_*.csv
127+
GENER
128+
GOFT_*.csv
129+
INCON
130+
INFILE
131+
MESH*
132+
OUTPUT_ELEME.csv
133+
SAVE
134+
TABLE
135+
rcc3.out
136+
tough_debug_output/
113137

114138
# Temp
115139
ai.md

CHANGELOG.rst

Lines changed: 55 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,59 @@
22
Changelog
33
=========
44

5-
GEOPHIRES-X (2023-2025)
5+
GEOPHIRES v3 (2023-2025)
66
------------------------
77

88
3.9
99
^^^
10+
3.9.65: `GEOPHIRES v3 User Manual, GEOPHIRES Project Tenets, example_SAM-Single-Owner-PPA PI/II pumping power <https://github.com/NREL/GEOPHIRES-X/pull/432>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.65>`__
1011

11-
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.7>`__
12+
3.9.64: `Update tooltip texts from theoretical basis <https://github.com/NREL/GEOPHIRES-X/pull/430>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.64>`__
1213

13-
v3.9 adds the `SAM Single Owner PPA Economic Model <https://nrel.github.io/GEOPHIRES-X/SAM-Economic-Models.html>`__
14+
3.9.62: `Change notifications, typo fixes, royalties example PI/II <https://github.com/NREL/GEOPHIRES-X/pull/429>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.62>`__
1415

16+
3.9.61: `Royalties <https://github.com/NREL/GEOPHIRES-X/pull/425>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.61>`__
17+
18+
3.9.54: `List parameter read fix <https://github.com/NREL/GEOPHIRES-X/pull/418>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.54>`__
19+
20+
3.9.53: `Gringarten-Stehfest Precision <https://github.com/NREL/GEOPHIRES-X/pull/417>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.53>`__
21+
22+
3.9.50: `HIP-RA-X Print Output to Console parameter <https://github.com/NREL/GEOPHIRES-X/pull/416>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.50>`__
23+
24+
3.9.49: `Fervo_Project_Cape-4 Stimulation Costs Update <https://github.com/NREL/GEOPHIRES-X/pull/414>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.49>`__
25+
26+
3.9.48: `Well diameter outputs, surface plant cost, non-SAM-EM Inflation costs during construction <https://github.com/NREL/GEOPHIRES-X/pull/412>`__ | `release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.9.48>`__
27+
28+
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>`__
29+
30+
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>`__
31+
32+
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>`__
33+
34+
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>`__
35+
36+
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>`__
37+
38+
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>`__
39+
40+
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>`__
41+
42+
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>`__
43+
44+
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>`__
45+
46+
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>`__
47+
48+
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>`__
49+
50+
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>`__
51+
52+
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>`__
1553

1654
3.8
1755
^^^
1856

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>`__
57+
`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>`__
2058

2159
Revenue & Cashflow Profile period output aligned with NREL convention used to calculate NPV.
2260
See https://github.com/NREL/GEOPHIRES-X/discussions/344
@@ -30,7 +68,7 @@ DOE 2019. "GeoVision" p. 163. https://www.energy.gov/sites/prod/files/2019/06/f6
3068
3.7
3169
^^^
3270

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>`__
71+
`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>`__
3472

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

@@ -51,7 +89,7 @@ DOE 2019. "GeoVision" p. 163. https://www.energy.gov/sites/prod/files/2019/06/f6
5189
3.6
5290
^^^
5391

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>`__
92+
`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>`__
5593

5694
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).
5795
This affects:
@@ -71,7 +109,7 @@ Affected users who do not want the new behavior can specify absolute output path
71109
3.5
72110
^^^
73111

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>`__
112+
`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>`__
75113

76114
Milestone version for case studies, SHR temperatures, and other changes since 3.0.
77115
An overview is given in the July 2024 NREL GEOPHIRES Workshop `Version 3.5 Announcement session recording <https://youtu.be/Bi_l6y6_LQk>`__.
@@ -108,8 +146,8 @@ Bug fixes
108146
Internal changes to support unit testing
109147

110148

111-
3.0
112-
^^^
149+
3.0: GEOPHIRES-X
150+
^^^^^^^^^^^^^^^^
113151
`release <https://github.com/NREL/GEOPHIRES-X/releases/tag/v3.0.0>`__
114152

115153
- New repository: https://github.com/NREL/GEOPHIRES-X (Originally https://github.com/NREL/python-geophires-x, renamed to GEOPHIRES-X 2023-12-15 per https://github.com/NREL/GEOPHIRES-X/issues/48.)
@@ -144,3 +182,11 @@ as intermediate internal-only patch versions are sometimes introduced during the
144182
(Improved designation and distribution of releases for public consumption may eventually be addressed by
145183
`publishing to PyPI <https://github.com/NREL/GEOPHIRES-X/issues/117>`__ and/or use of
146184
`GitHub releases <https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases>`__.)
185+
186+
Change Notifications
187+
--------------------
188+
To receive email notifications of changes:
189+
190+
1. Create or log in to your GitHub account.
191+
2. Go to the `GEOPHIRES Change Announcements Discussion <https://github.com/NREL/GEOPHIRES-X/discussions/428>`__.
192+
3. Click the Subscribe button in the Notifications section in the right panel.

CONTRIBUTING.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ Contributing
44

55
Contributions are welcome and greatly appreciated. GEOPHIRES is free and open source software that is built with collaboration and knowledge sharing. Don't hesitate to reach out to `the authors <AUTHORS.rst>`__ if you are interested in contributing in any way — big or small!
66

7+
GEOPHIRES Project Tenets
8+
========================
9+
10+
1. **Empower Users to Develop & Deploy Geothermal Technology**: GEOPHIRES's core tenet is to serve the geothermal techno-economic analysis needs of our users including public sector, industry, and academic, especially with regards to the development and deployment of next-generation geothermal technology.
11+
12+
2. **Correctness & Credibility**: GEOPHIRES strives to be maximally accurate according to state-of-the-art research consensus. SME review is required for all changes.
13+
14+
3. **Build Open Consensus & Community**: We build geothermal industry and stakeholder consensus through open source transparency into GEOPHIRES methodology and calculations. We embrace geothermal community participation and contribution as core aspects of fostering consensus.
15+
16+
4. **Continuous Improvement**: GEOPHIRES is updated continuously to reflect the latest geothermal industry research and developments. Software engineering best practices including automated test coverage ensure code quality and compliance with specifications.
17+
18+
719
Feature requests and feedback
820
=============================
921

0 commit comments

Comments
 (0)