Skip to content

Commit

Permalink
Merge branch 'NREL:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolm-dsider authored Nov 6, 2023
2 parents b93a923 + 4335d5b commit 3e407dc
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.2.0
current_version = 3.2.1
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion .cookiecutterrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ default_context:
sphinx_doctest: "no"
sphinx_theme: "sphinx-py3doc-enhanced-theme"
test_matrix_separate_coverage: "no"
version: "3.2.0"
version: 3.2.1
version_manager: "bump2version"
website: "https://github.com/NREL"
year_from: "2023"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:
deploy_docs:
name: Deploy docs to GitHub Pages
if: github.ref == 'refs/heads/main' # Prevent from running on PRs, tags
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ Free software: `MIT license <LICENSE>`_
:alt: Supported implementations
:target: https://pypi.org/project/geophires-x

.. |commits-since| image:: https://img.shields.io/github/commits-since/NREL/python-geophires-x/v3.2.0.svg
.. |commits-since| image:: https://img.shields.io/github/commits-since/NREL/python-geophires-x/v3.2.1.svg
:alt: Commits since latest release
:target: https://github.com/NREL/python-geophires-x/compare/v3.2.0...main
:target: https://github.com/NREL/python-geophires-x/compare/v3.2.1...main

.. |docs| image:: https://readthedocs.org/projects/python-geophires-x/badge/?style=flat
:target: https://nrel.github.io/python-geophires-x
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
year = '2023'
author = 'NREL'
copyright = f'{year}, {author}'
version = release = '3.2.0'
version = release = '3.2.1'

pygments_style = 'trac'
templates_path = ['./templates']
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read(*names, **kwargs):

setup(
name='geophires-x',
version='3.2.0',
version='3.2.1',
license='MIT',
description='GEOPHIRES is a free and open-source geothermal techno-economic simulator.',
long_description='{}\n{}'.format(
Expand Down
4 changes: 2 additions & 2 deletions src/geophires_x/Economics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2053,8 +2053,8 @@ def Calculate(self, model: Model) -> None:

if model.wellbores.redrill.value > 0:
# account for well redrilling
model.Coam.value = model.Coam.value + \
(self.Cwell.value + model.reserv.Cstim.value) * model.wellbores.redrill.value / model.surfaceplant.plantlifetime.value
self.Coam.value = self.Coam.value + \
(self.Cwell.value + self.Cstim.value) * model.wellbores.redrill.value / model.surfaceplant.plantlifetime.value

# The Reservoir depth measure was arbitrarily changed to meters despite being defined in the docs as kilometers.
# For display consistency sake, we need to convert it back
Expand Down
2 changes: 1 addition & 1 deletion src/geophires_x/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.0"
__version__ = '3.2.1'
4 changes: 4 additions & 0 deletions src/geophires_x_client/geophires_x_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ class GeophiresXResult:
'Accrued financing during construction',
'Project lifetime',
'Capacity factor',
'Project NPV',
'Project IRR',
'Project VIR=PI=PIR',
'Project MOIC',
],
'ENGINEERING PARAMETERS': [
'Number of Production Wells',
Expand Down

0 comments on commit 3e407dc

Please sign in to comment.