Skip to content

Commit 656b353

Browse files
committed
Merge branch 'main' into SBT-errors
2 parents c8136a2 + 3c259f9 commit 656b353

22 files changed

+886
-113
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.8.9
2+
current_version = 3.8.10
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.8.9
57+
version: 3.8.10
5858
version_manager: "bump2version"
5959
website: "https://github.com/NREL"
6060
year_from: "2023"

README.rst

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

59-
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.8.9.svg
59+
.. |commits-since| image:: https://img.shields.io/github/commits-since/softwareengineerprogrammer/GEOPHIRES-X/v3.8.10.svg
6060
:alt: Commits since latest release
61-
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.8.9...main
61+
:target: https://github.com/softwareengineerprogrammer/GEOPHIRES-X/compare/v3.8.10...main
6262

6363
.. |docs| image:: https://readthedocs.org/projects/GEOPHIRES-X/badge/?style=flat
6464
:target: https://nrel.github.io/GEOPHIRES-X

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

src/geophires_x/Economics.py

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def CalculateLCOELCOHLCOC(self, model: Model) -> tuple:
535535
NPVgrt = self.GTR.value / (1 - self.GTR.value) * (NPVcap + NPVoandm + NPVfc + NPVit - NPVitc)
536536
LCOH = (NPVcap + NPVoandm + NPVfc + NPVit + NPVgrt - NPVitc) / np.sum(
537537
model.surfaceplant.HeatkWhProduced.value * inflationvector * discountvector) * 1E8
538-
LCOH = self.LCOH.value * 2.931 # $/MMBTU
538+
LCOH = LCOH * 2.931 # $/MMBTU
539539

540540
elif model.surfaceplant.enduse_option.value == EndUseOptions.HEAT and model.surfaceplant.plant_type.value == PlantType.DISTRICT_HEATING:
541541
PumpingCosts = model.surfaceplant.PumpingkWh.value * model.surfaceplant.electricity_cost_to_buy.value / 1E6
@@ -1575,38 +1575,43 @@ def __init__(self, model: Model):
15751575

15761576
self.LCOC = self.OutputParameterDict[self.LCOC.Name] = OutputParameter(
15771577
Name="LCOC",
1578+
display_name='Direct-Use Cooling Breakeven Price (LCOC)',
15781579
UnitType=Units.ENERGYCOST,
15791580
PreferredUnits=EnergyCostUnit.DOLLARSPERMMBTU,
15801581
CurrentUnits=EnergyCostUnit.DOLLARSPERMMBTU
15811582
)
15821583

15831584
self.LCOE = self.OutputParameterDict[self.LCOE.Name] = OutputParameter(
15841585
Name="LCOE",
1586+
display_name='Electricity breakeven price',
15851587
UnitType=Units.ENERGYCOST,
15861588
PreferredUnits=EnergyCostUnit.CENTSSPERKWH,
15871589
CurrentUnits=EnergyCostUnit.CENTSSPERKWH
15881590
)
15891591
self.LCOH = self.OutputParameterDict[self.LCOH.Name] = OutputParameter(
15901592
Name="LCOH",
1593+
display_name='Direct-Use heat breakeven price (LCOH)',
15911594
UnitType=Units.ENERGYCOST,
1592-
PreferredUnits=EnergyCostUnit.DOLLARSPERMMBTU,
1595+
PreferredUnits=EnergyCostUnit.DOLLARSPERMMBTU, # $/MMBTU
15931596
CurrentUnits=EnergyCostUnit.DOLLARSPERMMBTU
1594-
) # $/MMBTU
1597+
)
15951598
self.Cstim = self.OutputParameterDict[self.Cstim.Name] = OutputParameter(
1596-
Name="O&M Surface Plant costs", # FIXME wrong name - should be Stimulation Costs
1599+
Name="O&M Surface Plant costs", # FIXME wrong name - should be Stimulation Costs
15971600
UnitType=Units.CURRENCY,
15981601
PreferredUnits=CurrencyUnit.MDOLLARS,
15991602
CurrentUnits=CurrencyUnit.MDOLLARS
16001603
)
16011604
self.Cexpl = self.OutputParameterDict[self.Cexpl.Name] = OutputParameter(
16021605
Name="Exploration cost",
1606+
display_name='Exploration costs',
16031607
UnitType=Units.CURRENCY,
16041608
PreferredUnits=CurrencyUnit.MDOLLARS,
16051609
CurrentUnits=CurrencyUnit.MDOLLARS
16061610
)
16071611

16081612
self.Cwell = self.OutputParameterDict[self.Cwell.Name] = OutputParameter(
16091613
Name="Wellfield cost",
1614+
display_name='Drilling and completion costs',
16101615
UnitType=Units.CURRENCY,
16111616
PreferredUnits=CurrencyUnit.MDOLLARS,
16121617
CurrentUnits=CurrencyUnit.MDOLLARS,
@@ -1617,6 +1622,7 @@ def __init__(self, model: Model):
16171622
)
16181623
self.Coamwell = self.OutputParameterDict[self.Coamwell.Name] = OutputParameter(
16191624
Name="O&M Wellfield cost",
1625+
display_name='Wellfield maintenance costs',
16201626
UnitType=Units.CURRENCYFREQUENCY,
16211627
PreferredUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR,
16221628
CurrentUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR
@@ -1629,30 +1635,35 @@ def __init__(self, model: Model):
16291635
)
16301636
self.Coamplant = self.OutputParameterDict[self.Coamplant.Name] = OutputParameter(
16311637
Name="O&M Surface Plant costs",
1638+
display_name='Power plant maintenance costs',
16321639
UnitType=Units.CURRENCYFREQUENCY,
16331640
PreferredUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR,
16341641
CurrentUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR
16351642
)
16361643
self.Cgath = self.OutputParameterDict[self.Cgath.Name] = OutputParameter(
16371644
Name="Field gathering system cost",
1645+
display_name='Field gathering system costs',
16381646
UnitType=Units.CURRENCY,
16391647
PreferredUnits=CurrencyUnit.MDOLLARS,
16401648
CurrentUnits=CurrencyUnit.MDOLLARS
16411649
)
16421650
self.Cpiping = self.OutputParameterDict[self.Cpiping.Name] = OutputParameter(
16431651
Name="Transmission pipeline costs",
1652+
display_name='Transmission pipeline cost',
16441653
UnitType=Units.CURRENCY,
16451654
PreferredUnits=CurrencyUnit.MDOLLARS,
16461655
CurrentUnits=CurrencyUnit.MDOLLARS
16471656
)
16481657
self.Coamwater = self.OutputParameterDict[self.Coamwater.Name] = OutputParameter(
16491658
Name="O&M Make-up Water costs",
1659+
display_name='Water costs',
16501660
UnitType=Units.CURRENCYFREQUENCY,
16511661
PreferredUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR,
16521662
CurrentUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR
16531663
)
16541664
self.CCap = self.OutputParameterDict[self.CCap.Name] = OutputParameter(
16551665
Name="Total Capital Cost",
1666+
display_name='Total capital costs',
16561667
UnitType=Units.CURRENCY,
16571668
PreferredUnits=CurrencyUnit.MDOLLARS,
16581669
CurrentUnits=CurrencyUnit.MDOLLARS
@@ -1663,8 +1674,6 @@ def __init__(self, model: Model):
16631674
PreferredUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR,
16641675
CurrentUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR
16651676
)
1666-
# self.averageannualpumpingcosts = self.OutputParameterDict[
1667-
# self.averageannualpumpingcosts.Name] = OutputParameter( #typo here!??!
16681677
self.averageannualpumpingcosts = OutputParameter(
16691678
Name="Average Annual Pumping Costs",
16701679
UnitType=Units.CURRENCYFREQUENCY,
@@ -1775,6 +1784,7 @@ def __init__(self, model: Model):
17751784
self.CarbonThatWouldHaveBeenProducedTotal = self.OutputParameterDict[
17761785
self.CarbonThatWouldHaveBeenProducedTotal.Name] = OutputParameter(
17771786
"Total Saved Carbon Production",
1787+
display_name='Total Avoided Carbon Emissions',
17781788
UnitType=Units.MASS,
17791789
PreferredUnits=MassUnit.LB,
17801790
CurrentUnits=MassUnit.LB
@@ -1806,6 +1816,7 @@ def __init__(self, model: Model):
18061816

18071817
self.ProjectNPV = self.OutputParameterDict[self.ProjectNPV.Name] = OutputParameter(
18081818
"Project Net Present Value",
1819+
display_name='Project NPV',
18091820
UnitType=Units.CURRENCY,
18101821
PreferredUnits=CurrencyUnit.MDOLLARS,
18111822
CurrentUnits=CurrencyUnit.MDOLLARS,
@@ -1817,12 +1828,14 @@ def __init__(self, model: Model):
18171828
)
18181829
self.ProjectIRR = self.OutputParameterDict[self.ProjectIRR.Name] = OutputParameter(
18191830
"Project Internal Rate of Return",
1831+
display_name='Project IRR',
18201832
UnitType=Units.PERCENT,
18211833
CurrentUnits=PercentUnit.PERCENT,
18221834
PreferredUnits=PercentUnit.PERCENT,
18231835
)
18241836
self.ProjectVIR = self.OutputParameterDict[self.ProjectVIR.Name] = OutputParameter(
18251837
"Project Value Investment Ratio",
1838+
display_name='Project VIR=PI=PIR',
18261839
UnitType=Units.PERCENT,
18271840
PreferredUnits=PercentUnit.TENTH,
18281841
CurrentUnits=PercentUnit.TENTH
@@ -1842,6 +1855,7 @@ def __init__(self, model: Model):
18421855
)
18431856
self.RITCValue = self.OutputParameterDict[self.RITCValue.Name] = OutputParameter(
18441857
Name="Investment Tax Credit Value",
1858+
display_name='Investment Tax Credit',
18451859
UnitType=Units.CURRENCY,
18461860
PreferredUnits=CurrencyUnit.MDOLLARS,
18471861
CurrentUnits=CurrencyUnit.MDOLLARS
@@ -2687,7 +2701,7 @@ def Calculate(self, model: Model) -> None:
26872701
else:
26882702
self.CCap.value = self.totalcapcost.value
26892703

2690-
# update the capitol costs, assuming the entire ITC is used to reduce the capitol costs
2704+
# update the capital costs, assuming the entire ITC is used to reduce the capital costs
26912705
if self.RITC.Provided:
26922706
self.RITCValue.value = self.RITC.value * self.CCap.value
26932707
self.CCap.value = self.CCap.value - self.RITCValue.value

src/geophires_x/EconomicsS_DAC_GT.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def __init__(self, model: Model):
267267
)
268268
self.LCOH = self.OutputParameterDict[self.LCOH.Name] = OutputParameter(
269269
Name="LCOH",
270+
display_name='Direct-Use heat breakeven price (LCOH)',
270271
UnitType=Units.ENERGYCOST,
271272
PreferredUnits=EnergyCostUnit.DOLLARSPERKWH,
272273
CurrentUnits=EnergyCostUnit.DOLLARSPERKWH

0 commit comments

Comments
 (0)