swmmio icon indicating copy to clipboard operation
swmmio copied to clipboard

error in updating XSECTION when pipe exists in baseline model

Open shisakimi99 opened this issue 7 years ago • 2 comments

It looks like in swmmio.version_control, the create_combinations function doesn't correctly update the XSECTIONS part of the *.inp when a pipe already exists. The CONDUITS section is correctly updated (US/DS nodes, length, n, etc.).

shisakimi99 avatar Mar 01 '18 14:03 shisakimi99

I believe this case should be tagged as an "altered" model element, as noted here.

Can you create or share a very small baseline/alternative dummy model that reproduces this issue? I can use that to help debug this.

aerispaha avatar Mar 03 '18 01:03 aerispaha

The baseline model contains two circular pipes (pipe names are the same). In the first alternative, one circular pipe is turned into a rectangular closed with one dimension. in the second alternative, the second pipe is also turned into a rectangular closes with a different dimension. test_files.zip

shisakimi99 avatar Mar 05 '18 14:03 shisakimi99