Skip to content

Commit 227a5e9

Browse files
Merge pull request NREL#215 from softwareengineerprogrammer/main
Miscellaneous fixes & improvements [v3.4.29]
2 parents 703c967 + d72d04f commit 227a5e9

File tree

61 files changed

+259
-69
lines changed

Some content is hidden

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

61 files changed

+259
-69
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.4.28
2+
current_version = 3.4.29
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.4.28
57+
version: 3.4.29
5858
version_manager: "bump2version"
5959
website: "https://github.com/NREL"
6060
year_from: "2023"

README.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ Free software: `MIT license <LICENSE>`__
4747
:alt: Supported implementations
4848
:target: https://pypi.org/project/geophires-x
4949

50-
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.4.28.svg
50+
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.4.29.svg
5151
:alt: Commits since latest release
52-
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.4.28...main
52+
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.4.29...main
5353

5454
.. |docs| image:: https://readthedocs.org/projects/GEOPHIRES-X/badge/?style=flat
5555
:target: https://nrel.github.io/GEOPHIRES-X
@@ -65,7 +65,9 @@ Getting Started
6565
Web Interface
6666
-------------
6767

68-
A web interface is available at `bit.ly/GEOPHIRES <https://bit.ly/GEOPHIRES>`__
68+
A web interface is available at `scientificwebservices.com/tools/geophires <https://scientificwebservices.com/tools/geophires>`__.
69+
70+
The short URL `bit.ly/GEOPHIRES <https://bit.ly/GEOPHIRES>`__ redirects to the same location.
6971

7072
Installation
7173
------------
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[fervo_energy_white_paper.pdf](https://github.com/NREL/GEOPHIRES-X/blob/703c967b0b1fe9f6d619b1e786686ba07fb0fe59/References/fervo_energy_white_paper.pdf)
-12.2 MB
Binary file not shown.

docs/conf.py

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

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

docs/reference/geophires_x.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ geophires_x
1111
.. automodule:: geophires_x.TDPReservoir
1212
:members:
1313

14+
.. automodule:: geophires_x.LHSReservoir
15+
:members:
16+
17+
.. automodule:: geophires_x.MPFReservoir
18+
:members:
19+
20+
.. automodule:: geophires_x.SFReservoir
21+
:members:
22+
1423
.. automodule:: geophires_x.CylindricalReservoir
1524
:members:
1625

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.4.28',
16+
version='3.4.29',
1717
license='MIT',
1818
description='GEOPHIRES is a free and open-source geothermal techno-economic simulator.',
1919
long_description='{}\n{}'.format(

src/geophires_x/AGSOutputs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def PrintOutputs(self, model: Model):
8383
f.write("Simulation Metadata\n")
8484
f.write("----------------------\n")
8585
f.write(f' GEOPHIRES Version: {geophires_x.__version__}\n')
86-
f.write(" GEOPHIRES Build Date: 2022-06-30\n")
8786
f.write(" Simulation Date: " + datetime.datetime.now().strftime("%Y-%m-%d\n"))
8887
f.write(" Simulation Time: " + datetime.datetime.now().strftime("%H:%M\n"))
8988
f.write(" Calculation Time: " + "{0:10.3f}".format((time.time() - model.tic)) + " sec\n")

src/geophires_x/AGSWellBores.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -578,21 +578,21 @@ def read_parameters(self, model: Model) -> None:
578578

579579
# handle error checking and special cases:
580580
if model.reserv.numseg.value > 1:
581-
msg = "Warning: CLGS model can only handle a single layer gradient segment. Number of Segments set to 1, \
582-
Gradient set to Gradient[0], and Depth set to Reservoir Depth."
581+
msg = ('Warning: CLGS model can only handle a single layer gradient segment. '
582+
'Number of Segments set to 1, Gradient set to Gradient[0], and Depth set to Reservoir Depth.')
583583
print(msg)
584584
model.logger.warning(msg)
585585
model.reserv.numseg.value = 1
586586

587587
if self.ninj.value > 0:
588-
msg = "Warning: CLGS model considers the only the production wellbore parameters. Anything related to the \
589-
injection wellbore is ignored."
588+
msg = ('Warning: CLGS model considers the only the production wellbore parameters. '
589+
'Anything related to the injection wellbore is ignored.')
590590
print(msg)
591591
model.logger.warning(msg)
592592

593593
if self.nprod.value != 1:
594-
msg = "Warning: CLGS model considers the only a single production wellbore (coaxial or uloop). \
595-
Number of production wellboreset set 1."
594+
msg = ('Warning: CLGS model considers the only a single production wellbore (coaxial or uloop). '
595+
'Number of production wellboreset set 1.')
596596
print(msg)
597597
model.logger.warning(msg)
598598

0 commit comments

Comments
 (0)