Replies: 1 comment
-
This is done in the Delphi or Pascal code in SWMM5. You can get the code for the UX from the EPA Download Site for SWMM5, unit Ucombine; {-------------------------------------------------------------------} |
Beta Was this translation helpful? Give feedback.
-
I have to combine multiple SWMM inflow files into a combined fole. This can be done in the SWMM interface menu:
![image](https://private-user-images.githubusercontent.com/3770190/408301388-22e7aa47-6268-4710-bca8-f99a6c04e149.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjkyOTYsIm5iZiI6MTczOTE2ODk5NiwicGF0aCI6Ii8zNzcwMTkwLzQwODMwMTM4OC0yMmU3YWE0Ny02MjY4LTQ3MTAtYmNhOC1mOTlhNmMwNGUxNDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDYyOTU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2M3MDhlOTdkMTMwYzA3ZTQ2OTdhYTQ4ZDcwODAwNTZiYzk5NWViODhkNjhjMWVkMGNmMjQ1MzNkY2I0Mzk2NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.gvBymEmV99vU8jv7XOwoTREOGcM9Dne3i_PI3OtnEO0)
I have created a python script that does this for my use but since it looks like it is in the SWMM source code, it would be a great enhancement for pyswmm. I would be happy to take a crack at it but do not know where to start. Where is the SWMM source code for this? What kind of function should be added to pyswmm and where? Are there any examples?
My script is a bit hard coded for my use with no error checking, different time steps, etc. but it works
Beta Was this translation helpful? Give feedback.
All reactions