Skip to content

Commit ca93cca

Browse files
Merge pull request NREL#220 from softwareengineerprogrammer/main
Fervo Case Study Updates [v.3.4.30] NREL#202
2 parents c255e7e + 321322b commit ca93cca

33 files changed

+1756
-1802
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.29
2+
current_version = 3.4.30
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.29
57+
version: 3.4.30
5858
version_manager: "bump2version"
5959
website: "https://github.com/NREL"
6060
year_from: "2023"

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ requirements.txt
1111
*~
1212
*.bak
1313
.DS_Store
14-
.lock
14+
*.lock
15+
*.json
1516

1617
# C extensions
1718
*.so

README.rst

Lines changed: 2 additions & 2 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.29.svg
50+
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.4.30.svg
5151
:alt: Commits since latest release
52-
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.4.29...main
52+
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.4.30...main
5353

5454
.. |docs| image:: https://readthedocs.org/projects/GEOPHIRES-X/badge/?style=flat
5555
:target: https://nrel.github.io/GEOPHIRES-X
Binary file not shown.

References/fervo_energy_white_paper.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

References/fervo_references.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* [fervo_energy_white_paper.pdf](https://github.com/NREL/GEOPHIRES-X/blob/703c967b0b1fe9f6d619b1e786686ba07fb0fe59/References/fervo_energy_white_paper.pdf)
2+
* [fervo_drilling costs.pdf](https://github.com/softwareengineerprogrammer/GEOPHIRES-X/blob/62ecc37385cc89dcac36a3684c258e454bcc0241/References/fervo_drilling%20costs.pdf)

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

src/geophires_x/SurfacePlant.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def __init__(self, model: Model):
342342
"Plant Outlet Pressure",
343343
DefaultValue=100.0,
344344
Min=0.01,
345-
Max=10000.0,
345+
Max=15000.0,
346346
UnitType=Units.PRESSURE,
347347
PreferredUnits=PressureUnit.KPASCAL,
348348
CurrentUnits=PressureUnit.KPASCAL,
@@ -576,16 +576,16 @@ def read_parameters(self, model:Model) -> None:
576576
model.wellbores.impedancemodelallowed.value = False
577577
self.setinjectionpressurefixed = True
578578
elif ParameterToModify.Name == 'Plant Outlet Pressure':
579-
if ParameterToModify.value < 0 or ParameterToModify.value > 10000:
579+
if ParameterToModify.value < self.plant_outlet_pressure.Min or ParameterToModify.value > self.plant_outlet_pressure.Max:
580580
if self.setinjectionpressurefixed:
581581
ParameterToModify.value = 100
582-
msg = (f'Provided plant outlet pressure outside of range 0-10000. GEOPHIRES will '
582+
msg = (f'Provided plant outlet pressure outside of range defined valid range. GEOPHIRES will '
583583
f'assume default plant outlet pressure ({ParameterToModify.value} kPa)')
584584
print(f'Warning: {msg}')
585585
model.logger.warning(msg)
586586
else:
587587
self.usebuiltinoutletplantcorrelation.value = True
588-
msg = ('Provided plant outlet pressure outside of range 0-10000 kPa. '
588+
msg = ('Provided plant outlet pressure outside of defined valid range. '
589589
'GEOPHIRES will calculate plant outlet pressure based on production '
590590
'wellhead pressure and surface equipment pressure drop of 10 psi')
591591
print(f'Warning: {msg}')

0 commit comments

Comments
 (0)