KWB-R / kwb.swmm

R Package with Functions for Working with EPA`s Storm Water Management Model (SWMM)
https://kwb-r.github.io/kwb.swmm/
MIT License
0 stars 0 forks source link

feat: check Python package "pyswmm" #1

Open mrustl opened 3 years ago

mrustl commented 3 years ago

More people contribute to pyswmm compared to swmmr, which we currently use in different projects.

However, pyswmm could be also accessed from R via the reticulate R package.

Using pyswmm would improve the readability of the code e.g. for LID definition which is cumbersome with swmmr (e.g. LID parameters defined by their column position instead of their names: https://github.com/KWB-R/LIDsensitivity/blob/master/sensitivityAnalysis.R#L85): https://pyswmm.readthedocs.io/en/latest/tutorial/tutorial.html#lid-controls

mrustl commented 3 years ago

DLL load Error occing in case of importing pyswmm is shown here:

https://github.com/KWB-R/kwb.swmm/blob/93441fcfebb297459fce7f3cd527a2b94af3a553/vignettes/swmm_python.Rmd

Is probably related to problems in R package reticulate to deal with different Cindy environments/Python Versions: https://github.com/rstudio/reticulate/issues/367