Skip to content

Commit 274ca28

Browse files
Change output param name to 'Average Annual Royalty Cost'
1 parent 5c989e9 commit 274ca28

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/geophires_x/EconomicsUtils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,10 @@ def total_capex_parameter_output_parameter() -> OutputParameter:
148148

149149
def royalties_opex_parameter_output_parameter() -> OutputParameter:
150150
return OutputParameter(
151-
Name='Royalties',
151+
Name='Average Annual Royalty Cost',
152152
UnitType=Units.CURRENCYFREQUENCY,
153153
PreferredUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR,
154154
CurrentUnits=CurrencyFrequencyUnit.MDOLLARSPERYEAR,
155-
ToolTipText='Average annual royalties paid (operating expense)'
155+
ToolTipText='The average annual cost paid to a royalty holder, calculated as a percentage of the '
156+
'project\'s gross annual revenue. This is modeled as a variable operating expense.'
156157
)

src/geophires_x_client/geophires_x_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class GeophiresXResult:
290290
'Annual District Heating O&M Cost',
291291
'Average Annual Peaking Fuel Cost',
292292
'Average annual pumping costs',
293-
'Royalties',
293+
'Average Annual Royalty Cost',
294294
# SUTRA
295295
'Average annual auxiliary fuel cost',
296296
'Average annual pumping cost',

src/geophires_x_schema_generator/geophires-result.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,9 @@
480480
"units": "MUSD/yr"
481481
},
482482
"Average annual pumping costs": {},
483-
"Royalties": {
483+
"Average Annual Royalty Cost": {
484484
"type": "number",
485-
"description": "Average annual royalties paid (operating expense)",
485+
"description": "The average annual cost paid to a royalty holder, calculated as a percentage of the project's gross annual revenue. This is modeled as a variable operating expense.",
486486
"units": "MUSD/yr"
487487
},
488488
"Average annual auxiliary fuel cost": {},

tests/test_geophires_x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ def test_redrilling_costs(self):
12961296
self.assertAlmostEqual(expected_annual_redrilling_cost, result_opex['Redrilling costs']['value'], places=2)
12971297

12981298
def test_royalty_rate(self):
1299-
royalties_output_name = 'Royalties'
1299+
royalties_output_name = 'Average Annual Royalty Cost'
13001300

13011301
for royalty_rate in [0, 0.1]:
13021302
result = GeophiresXClient().get_geophires_result(

0 commit comments

Comments
 (0)