Skip to content

Commit d1bf1f2

Browse files
authored
Merge pull request NREL#183 from kfbeckers/main
add application type in output for AC, HP and DH
2 parents 0d0ebeb + c5ef5ca commit d1bf1f2

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

src/geophires_x/Outputs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,8 @@ def PrintOutputs(self, model: Model):
15161516
f.write(' ***SUMMARY OF RESULTS***\n')
15171517
f.write(NL)
15181518
f.write(' End-Use Option: ' + str(model.surfaceplant.enduse_option.value.value) + NL)
1519-
1519+
if model.surfaceplant.plant_type.value in [PlantType.ABSORPTION_CHILLER, PlantType.HEAT_PUMP, PlantType.DISTRICT_HEATING]:
1520+
f.write(' Surface Application: ' + str(model.surfaceplant.plant_type.value.value) + NL)
15201521
if model.surfaceplant.enduse_option.value in [EndUseOptions.ELECTRICITY, EndUseOptions.COGENERATION_TOPPING_EXTRA_HEAT, EndUseOptions.COGENERATION_TOPPING_EXTRA_ELECTRICITY, EndUseOptions.COGENERATION_BOTTOMING_EXTRA_ELECTRICITY, EndUseOptions.COGENERATION_BOTTOMING_EXTRA_HEAT, EndUseOptions.COGENERATION_PARALLEL_EXTRA_HEAT, EndUseOptions.COGENERATION_PARALLEL_EXTRA_ELECTRICITY]: # there is an electricity component
15211522
f.write(f' Average Net Electricity Production: {np.average(model.surfaceplant.NetElectricityProduced.value):10.2f} ' + model.surfaceplant.NetElectricityProduced.CurrentUnits.value + NL)
15221523
if model.surfaceplant.enduse_option.value != EndUseOptions.ELECTRICITY: # there is a direct-use component

tests/examples/example10_HP.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Simulation Metadata
1313
***SUMMARY OF RESULTS***
1414

1515
End-Use Option: Direct-Use Heat
16+
Surface Application: Heat Pump
1617
Average Direct-Use Heat Production: 16.64 MW
1718
Direct-Use heat breakeven price (LCOH): 14.49 USD/MMBTU
1819
Number of production wells: 2

tests/examples/example11_AC.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Simulation Metadata
1313
***SUMMARY OF RESULTS***
1414

1515
End-Use Option: Direct-Use Heat
16+
Surface Application: Absorption Chiller
1617
Average Direct-Use Heat Production: 8.49 MW
1718
Average Cooling Production: 5.50 MW
1819
Direct-Use Cooling Breakeven Price (LCOC): 17.52 USD/MMBTU

tests/examples/example12_DH.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Simulation Metadata
1313
***SUMMARY OF RESULTS***
1414

1515
End-Use Option: Direct-Use Heat
16+
Surface Application: District Heating
1617
Average Direct-Use Heat Production: 19.15 MW
1718
Annual District Heating Demand: 242.90 GWh/year
1819
Average Annual Geothermal Heat Production: 144.70 GWh/year

0 commit comments

Comments
 (0)