5.1.007 bug: conduit capacity limited check

Rob James

No capacity limited checks are performed on conduits after the first DUMMY type conduit is encountered.

Work around:

Place all dummy type conduits at the end of the list of conduits in the input file. Some programs may do this for you if you rename the dummy conduits so that they appear at the end of the list when sorted alphanumerically.

Suggested resolution:

In findLimitedLinks() in dynwave.c:

        // ---- check only non-dummy conduit links
        if ( !isTrueConduit(j) ) return;

After the first DUMMY type conduit is encountered, the loop will stop and no capacity limited checks will be performed for the remaining conduits. Changing the “return” statement to “continue” should fix the issue.