Skip to content

Commit d88cc07

Browse files
remove commented code
1 parent f294752 commit d88cc07

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

src/geophires_x/Economics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,6 @@ def __init__(self, model: Model):
18891889
# local variable initialization
18901890
self.OPEX_cost_electricity_plant = 0.0 # TODO should be proper output parameter
18911891
self.OPEX_cost_heat_plant = 0.0 # TODO should be proper output parameter
1892-
# self.CAPEX_heat_electricity_plant_ratio.value = 0.0
18931892
self.Claborcorrelation = 0.0
18941893
self.Cpumps = 0.0
18951894
self.annualelectricityincome = 0.0

src/geophires_x/EconomicsSam.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,6 @@ def _get_lcoe_nominal_cents_per_kwh(
337337
lcoe_row_name = 'LCOE Levelized cost of energy nominal (cents/kWh)'
338338
ret = _cash_flow_profile_row(sam_cash_flow_profile, lcoe_row_name)[0]
339339

340-
# model.logger.info(f'Single Owner LCOE nominal (cents/kWh): {single_owner.Outputs.lcoe_nom}');
341-
342340
return ret
343341

344342

@@ -356,8 +354,6 @@ def _get_levelized_cost_non_electricity_type_nominal_usd_per_mmbtu(
356354

357355
ret = levelized_cost_row[0]
358356

359-
# model.logger.info(f'Single Owner LCOE nominal (cents/kWh): {single_owner.Outputs.lcoe_nom}');
360-
361357
return ret
362358

363359

@@ -603,7 +599,6 @@ def _get_utility_rate_parameters(m: Model) -> dict[str, Any]:
603599
ret['degradation'] = degradation_total
604600
else:
605601
# Occurs for non-electricity end-use options
606-
# net_kwh_produced_series = [net_kwh_produced_series] * m.surfaceplant.plant_lifetime.value
607602
ret['degradation'] = [100.0] * m.surfaceplant.plant_lifetime.value
608603

609604
return ret

tests/geophires_x_tests/test_economics_sam.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,6 @@ def r_0(r):
307307
)[1:]
308308

309309
def test_direct_use_heat_end_use_supported(self):
310-
# import warnings
311-
# warnings.filterwarnings('error', message='divide by zero', category=RuntimeWarning)
312-
313310
self.assertIsNotNone(self._get_result({'End-Use Option': 2}))
314311

315312
def test_supported_plant_types(self):

0 commit comments

Comments
 (0)