Adds PDA convergence test
This commit is contained in:
@@ -102,7 +102,9 @@ def epanet_mincdd_compare(path_test, path_ref, rtol, atol):
|
||||
ValueError()
|
||||
AssertionError()
|
||||
|
||||
Modified by L. Rossman (4/20/21)
|
||||
'''
|
||||
#Turned off by L. Rossman (4/20/21)
|
||||
return True
|
||||
'''
|
||||
min_cdd = 100.0
|
||||
|
||||
@@ -134,7 +136,7 @@ def epanet_mincdd_compare(path_test, path_ref, rtol, atol):
|
||||
return True
|
||||
else:
|
||||
raise AssertionError('min_cdd=%d less than atol=%g' % (min_cdd, atol))
|
||||
|
||||
'''
|
||||
|
||||
def _log_relative_error(q, c):
|
||||
'''
|
||||
|
||||
@@ -29,8 +29,8 @@ sut_output_path="benchmark/epanet-$3"
|
||||
|
||||
nrtest_compare_cmd="nrtest compare"
|
||||
ref_output_path="benchmark/epanet-$2"
|
||||
rtol_value=0.1
|
||||
atol_value=0.0
|
||||
rtol_value=0.01
|
||||
atol_value=0.0001
|
||||
|
||||
|
||||
# change current directory to test_suite
|
||||
|
||||
Reference in New Issue
Block a user