Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A small limitation when extracting multi-variate water quality results. #429

Open
QianyangWang opened this issue Apr 21, 2023 · 0 comments

Comments

@QianyangWang
Copy link

When extract water quality results using the Output object in pyswmm, users need to use the classes in swmm.toolkit.shared_enum as an argument for the method Output.link_attribute(). This will result in problem and failures when there are more than one pollutants defined in the SWMM input file. For example, when I have 4 pollutants, the swmm.toolkit.shared_enum.LinkAttribute class only has the attribute POLLUT_CONC_0, I've found that this problem can be fixed when I added POLLUT_CONC_1, POLLUT_CONC_2, POLLUT_CONC_3 manually in shared_enum.py (see also https://github.com/QianyangWang/Modified_swmmtoolkit_files.git). Maybe this problem can be easily fixed by some minor edits on the original code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant