Skip to content

Refactor discharge coefficient case statements#820

Merged
ponceta merged 11 commits intoteksi:mainfrom
iggroup:iggroup_issue_803
Nov 12, 2025
Merged

Refactor discharge coefficient case statements#820
ponceta merged 11 commits intoteksi:mainfrom
iggroup:iggroup_issue_803

Conversation

@tproduit
Copy link
Contributor

Updated discharge coefficient cases to check for NULL values before assignment.
To solve issue: #803

Updated discharge coefficient cases to check for NULL values before assignment.
@sjib
Copy link
Contributor

sjib commented Nov 11, 2025

@tproduit I found this old pull request on QGEP that seems to also touch the subject of missing / NULL values: QGEP/datamodel#232

Maybe you could also integrate this here.

@ponceta ponceta added fix Fixing something not working swmm concerns SWMM export labels Nov 11, 2025
@sjib
Copy link
Contributor

sjib commented Nov 11, 2025

 syntax error at or near "NOT"
LINE 10:     WHEN waterlevel_hydraulic NOT IS NULL THEN 'FIXED'

Should be IS NOT NULL

Typo from QGEP commit
waterlevel_hydraulic is not available for infiltration installation
@tproduit
Copy link
Contributor Author

@sjib can you double check the modifications? I was not able to solve the pre-commit issues. It might be a right issue since the fork is hosted by the organisation iggroup

@sjib
Copy link
Contributor

sjib commented Nov 11, 2025

I installed the Demodata Arbon with TMMT on this pull request branch and was able to create an inp.

test_fix_830.inp.zip

@TriformMoritz Please have a look.

The vw_outfalls seems ok with the adaptions from qgep.

grafik

@ponceta ponceta closed this Nov 12, 2025
@ponceta ponceta reopened this Nov 12, 2025
@ponceta ponceta merged commit 51282d4 into teksi:main Nov 12, 2025
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fixing something not working swmm concerns SWMM export

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants