Skip to content

Commit

Permalink
updated LCOH values because changed EOL efficiency loss in greenheart…
Browse files Browse the repository at this point in the history
…_config.yaml
  • Loading branch information
elenya-grant committed Feb 28, 2024
1 parent dc823a0 commit 859fa9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/greenheart/test_hydrogen/test_greenheart_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def setUpClass(self):
self.lcoe, self.lcoh, _ = run_simulation(filename_hopp_config, filename_greenheart_config, filename_turbine_config, filename_orbit_config, filename_floris_config, verbose=False, show_plots=False, save_plots=False, use_profast=True, post_processing=False,incentive_option=1, plant_design_scenario=1, output_level=4)

def test_lcoh(self):
assert self.lcoh == approx(7.107862503799653) # TODO base this test value on something
assert self.lcoh == approx(7.057994298603964) # TODO base this test value on something
def test_lcoe(self):
assert self.lcoe == approx(0.10816180445700445) # TODO base this test value on something

Expand All @@ -62,7 +62,7 @@ def setUpClass(self):
self.lcoe, self.lcoh, _ = run_simulation(filename_hopp_config, filename_greenheart_config, filename_turbine_config, filename_orbit_config, filename_floris_config, verbose=False, show_plots=False, save_plots=False, use_profast=True, post_processing=False,incentive_option=1, plant_design_scenario=1, output_level=4)

def test_lcoh(self):
assert self.lcoh == approx(8.20299188544499) #TODO base this test value on something
assert self.lcoh == approx(8.12006529664307) #TODO base this test value on something
def test_lcoe(self):
assert self.lcoe == approx(0.12863386719193057) # prior to 20240207 value was approx(0.11051228251811765) # TODO base this test value on something

Expand Down Expand Up @@ -96,7 +96,7 @@ def setUpClass(self):
output_level=4)

def test_lcoh(self):
assert self.lcoh == approx(12.803750099199748) # prior to 20240207 value was approx(10.823798551850347) #TODO base this test value on something. Currently just based on output at writing.
assert self.lcoh == approx(12.583155204831298) # prior to 20240207 value was approx(10.823798551850347) #TODO base this test value on something. Currently just based on output at writing.
def test_lcoe(self):
assert self.lcoe == approx(0.1284376127848134) # prior to 20240207 value was approx(0.11035426429749774) # TODO base this test value on something. Currently just based on output at writing.

Expand Down Expand Up @@ -130,7 +130,7 @@ def setUpClass(self):
output_level=4)

def test_lcoh(self):
assert self.lcoh == approx(13.458575242178437) #TODO base this test value on something. Currently just based on output at writing.
assert self.lcoh == approx(13.22669818008385) #TODO base this test value on something. Currently just based on output at writing.
def test_lcoe(self):
assert self.lcoe == approx(0.13955940183722207) # TODO base this test value on something. Currently just based on output at writing.

Expand Down

0 comments on commit 859fa9b

Please sign in to comment.