diff --git a/ReleaseNotes2_3.md b/ReleaseNotes2_3.md index f6b2f68..8d47c19 100644 --- a/ReleaseNotes2_3.md +++ b/ReleaseNotes2_3.md @@ -11,6 +11,7 @@ This document describes the changes and updates that have been made in version 2 - For `EN_CUSTOM` type pump curves the maximum head value is now extrapolated to the y-axis intercept instead of being based on the first curve data point. Similarly, the maximum flow value is extrapolated to the x-axis intercept. - Status checking for a pump not able to deliver enough head has been replaced by adding a penalty term to the pump's operating curve that prevents it from having negative flow (i.e., from crossing the y-axis). - Status checking for Flow Control Valves has been eliminated by using a continuous head v. flow function. If the current flow is below the valve setting then the normal open head loss relation is used; otherwise a linear penalty function is applied to any flow in excess of the setting. Warnings are no longer issued when the valve operates fully opened at flows below the setting. + - The maximum link head loss error convergence criterion is now evaluated using the most recently computed link flows instead of flows from the previous iteration. diff --git a/tests/test_report.cpp b/tests/test_report.cpp index 5b5850c..c2c2a0d 100644 --- a/tests/test_report.cpp +++ b/tests/test_report.cpp @@ -25,8 +25,11 @@ BOOST_FIXTURE_TEST_CASE(test_rprt_anlysstats, FixtureOpenClose) std::vector test(5); double *array = test.data(); - std::vector ref = {3.0, 7.0799498320679432e-06, 1.6680242187483429e-08, - 0.0089173150106518495, 0.99999998187144024}; + std::vector ref = +// {3.0, 7.0799498320679432e-06, 1.6680242187483429e-08, // v2.2 +// 0.0089173150106518495, 0.99999998187144024}; + {3.0, 8.3792202148e-6, 2.63983750e-8, // v2.3_dev + 0.0112012133155924, 0.9999999807954413}; error = EN_solveH(ph); BOOST_REQUIRE(error == 0);