h2integrate.finances.test.test_finances#

Functions

test_parameter_validation_clashing_values()

Test that parameter validation raises an error when plant config and params have different values for the same parameter.

test_parameter_validation_duplicate_parameters()

Test that parameter validation raises an error when plant config and pf_params have different values for the same parameter.

test_profast_config_provided()

Test that inputting ProFAST parameters gives same LCOH as specifying finance parameters directly (as is done in test_electrolyzer_refurb_results).

Classes

TestProFastComp([methodName])

class h2integrate.finances.test.test_finances.TestProFastComp(methodName='runTest')#
setUp()#

Hook method for setting up the test fixture before exercising it.

test_electrolyzer_refurb_results()#
test_modified_lcoe_calc()#
test_lcoe_with_selected_technologies()#
_classSetupFailed = False#
_class_cleanups = []#
h2integrate.finances.test.test_finances.test_profast_config_provided()#

Test that inputting ProFAST parameters gives same LCOH as specifying finance parameters directly (as is done in test_electrolyzer_refurb_results). Output based on output from test_electrolyzer_refurb_results() at time of writing.

h2integrate.finances.test.test_finances.test_parameter_validation_clashing_values()#

Test that parameter validation raises an error when plant config and params have different values for the same parameter.

h2integrate.finances.test.test_finances.test_parameter_validation_duplicate_parameters()#

Test that parameter validation raises an error when plant config and pf_params have different values for the same parameter.