Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Jun 18, 2024
1 parent 6d2c7c6 commit 4d27801
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions tests/test_gen_geothermal.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ def test_gen_geothermal(depth, sample_resource_data):
"lcoe_fcr": 12.52,
"nameplate": 200_000,
"resource_temp": 150,
"capital_cost" : 172485199.53989035,
"fixed_operating_cost" : 4885201.7298879623,
"variable_operating_cost" : 0,
"fixed_charge_rate" : 0.098000000000000004,
"base_capital_cost" : 172485199.53989035,
"base_fixed_operating_cost" : 4885201.7298879623,
"base_variable_operating_cost" : 0,
"capital_cost": 172485199.53989035,
"fixed_operating_cost": 4885201.7298879623,
"variable_operating_cost": 0,
"fixed_charge_rate": 0.098000000000000004,
"base_capital_cost": 172485199.53989035,
"base_fixed_operating_cost": 4885201.7298879623,
"base_variable_operating_cost": 0,
"system_capacity": 200_000,
}
for dset in output_request:
Expand Down Expand Up @@ -164,13 +164,13 @@ def test_gen_geothermal_temp_too_low(sample_resource_data):
"lcoe_fcr": 0,
"nameplate": 0,
"resource_temp": 60,
"capital_cost" : 0,
"fixed_operating_cost" : 0,
"variable_operating_cost" : 0,
"fixed_charge_rate" : 0,
"base_capital_cost" : 0,
"base_fixed_operating_cost" : 0,
"base_variable_operating_cost" : 0,
"capital_cost": 0,
"fixed_operating_cost": 0,
"variable_operating_cost": 0,
"fixed_charge_rate": 0,
"base_capital_cost": 0,
"base_fixed_operating_cost": 0,
"base_variable_operating_cost": 0,
"system_capacity": 0,
}
for dset in output_request:
Expand Down Expand Up @@ -223,12 +223,12 @@ def test_per_kw_cost_inputs(sample_resource_data):
truth_vals = {
"capital_cost": 383_086_656,
"fixed_operating_cost": 25539104,
"variable_operating_cost" : 0,
"variable_operating_cost": 0,
"lcoe_fcr": 72.5092,
"fixed_charge_rate" : 0.098000000000000004,
"base_capital_cost" : 383_086_656,
"base_fixed_operating_cost" : 25539104,
"base_variable_operating_cost" : 0,
"fixed_charge_rate": 0.098000000000000004,
"base_capital_cost": 383_086_656,
"base_fixed_operating_cost": 25539104,
"base_variable_operating_cost": 0,
"system_capacity": 383_086_656 / 3_000,
}
for dset in output_request:
Expand Down Expand Up @@ -279,12 +279,12 @@ def test_drill_cost_inputs(sample_resource_data):
truth_vals = {
"capital_cost": 466_134_733,
"fixed_operating_cost": 25539104,
"variable_operating_cost" : 0,
"variable_operating_cost": 0,
"lcoe_fcr": 81.8643,
"fixed_charge_rate" : 0.098000000000000004,
"base_capital_cost" : 466_134_733,
"base_fixed_operating_cost" : 25539104,
"base_variable_operating_cost" : 0,
"fixed_charge_rate": 0.098000000000000004,
"base_capital_cost": 466_134_733,
"base_fixed_operating_cost": 25539104,
"base_variable_operating_cost": 0,
}
for dset in output_request:
truth = truth_vals[dset]
Expand Down Expand Up @@ -342,13 +342,13 @@ def test_gen_with_nameplate_input(sample_resource_data):
"lcoe_fcr": 62.613,
"nameplate": 40_000,
"resource_temp": 150,
"capital_cost" : 172485199.53989035,
"fixed_operating_cost" : 4885201.7298879623,
"variable_operating_cost" : 0,
"fixed_charge_rate" : 0.098000000000000004,
"base_capital_cost" : 172485199.53989035,
"base_fixed_operating_cost" : 4885201.7298879623,
"base_variable_operating_cost" : 0,
"capital_cost": 172485199.53989035,
"fixed_operating_cost": 4885201.7298879623,
"variable_operating_cost": 0,
"fixed_charge_rate": 0.098000000000000004,
"base_capital_cost": 172485199.53989035,
"base_fixed_operating_cost": 4885201.7298879623,
"base_variable_operating_cost": 0,
"system_capacity": 40_000,
}
for dset in output_request:
Expand Down

0 comments on commit 4d27801

Please sign in to comment.