Skip to content

Commit 9f8cca0

Browse files
1 parent cb09226 commit 9f8cca0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/geophires_x/Economics.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,6 +1509,15 @@ def __init__(self, model: Model):
15091509
ToolTipText="Production tax credit inflation adjusted"
15101510
)
15111511

1512+
self.jobs_created_per_MW_electricity = self.ParameterDict[
1513+
self.jobs_created_per_MW_electricity.Name] = floatParameter(
1514+
"Estimated Jobs Created per MW of Electricity Produced",
1515+
DefaultValue=2.13,
1516+
UnitType=Units.NONE,
1517+
Required=False,
1518+
ToolTipText="Estimated jobs created per MW of electricity produced, per https://geothermal.org/resources/geothermal-basics"
1519+
)
1520+
15121521
# local variable initialization
15131522
self.CAPEX_cost_electricity_plant = 0.0
15141523
self.CAPEX_cost_heat_plant = 0.0
@@ -2896,7 +2905,8 @@ def Calculate(self, model: Model) -> None:
28962905

28972906
# https://github.com/NREL/GEOPHIRES-X/issues/232
28982907
self.jobs_created.value = round(
2899-
np.average(model.surfaceplant.ElectricityProduced.quantity().to('MW').magnitude * 2.13))
2908+
np.average(model.surfaceplant.ElectricityProduced.quantity().to(
2909+
'MW').magnitude * self.jobs_created_per_MW_electricity.value))
29002910

29012911
model.logger.info(f'complete {__class__!s}: {sys._getframe().f_code.co_name}')
29022912

0 commit comments

Comments
 (0)