Adds PDA convergence test

This commit is contained in:
Lew Rossman
2022-02-14 11:19:00 -05:00
parent 070901d6bf
commit a63f553b5f
4 changed files with 18 additions and 12 deletions

View File

@@ -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):
'''