Package: swmmr 0.9.1.9000

Dominik Leutnant

swmmr: R Interface for US EPA's SWMM

Functions to connect the widely used Storm Water Management Model (SWMM) of the United States Environmental Protection Agency (US EPA) <https://www.epa.gov/water-research/storm-water-management-model-swmm> to R with currently two main goals: (1) Run a SWMM simulation from R and (2) provide fast access to simulation results, i.e. SWMM's binary '.out'-files. High performance is achieved with help of Rcpp. Additionally, reading SWMM's '.inp' and '.rpt' files is supported to glance model structures and to get direct access to simulation summaries.

Authors:Dominik Leutnant [aut, cre], Anneke Doering [aut], Malte Henrichs [ctb], Hauke Sonnenberg [ctb]

swmmr_0.9.1.9000.tar.gz
swmmr_0.9.1.9000.zip(r-4.7)swmmr_0.9.1.9000.zip(r-4.6)swmmr_0.9.1.9000.zip(r-4.5)
swmmr_0.9.1.9000.tgz(r-4.6-x86_64)swmmr_0.9.1.9000.tgz(r-4.6-arm64)swmmr_0.9.1.9000.tgz(r-4.5-x86_64)swmmr_0.9.1.9000.tgz(r-4.5-arm64)
swmmr_0.9.1.9000.tar.gz(r-4.7-arm64)swmmr_0.9.1.9000.tar.gz(r-4.7-x86_64)swmmr_0.9.1.9000.tar.gz(r-4.6-arm64)swmmr_0.9.1.9000.tar.gz(r-4.6-x86_64)
swmmr_0.9.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
swmmr/json (API)

# Install 'swmmr' in R:
install.packages('swmmr', repos = c('https://hsonne.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dleutnant/swmmr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

4.96 score 2 packages 34 scripts 19 downloads 20 exports 34 dependencies

Last updated from:820fe76a47. Checks:11 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR137
linux-devel-x86_64ERROR133
source / vignettesOK193
linux-release-arm64ERROR142
linux-release-x86_64ERROR191
macos-release-arm64ERROR91
macos-release-x86_64ERROR233
macos-oldrel-arm64ERROR82
macos-oldrel-x86_64ERROR175
windows-develERROR79
windows-releaseERROR81
windows-oldrelERROR102
wasm-releaseOK171

Exports:get_out_contentget_out_versioninp_to_filesinp_to_sfjunctions_to_sflinks_to_sforifices_to_sfoutfalls_to_sfpumps_to_sfraingages_to_sfread_inpread_lid_rptread_outread_rptrun_swmmshp_to_inpstorages_to_sfsubcatchments_to_sfweirs_to_sfwrite_inp

Dependencies:bitbit64clicliprcpp11crayondplyrgenericsgluehmslatticelifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6Rcppreadrrlangstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithrxtszoo

How swmmr reads and writes SWMM files
What is a inp file? | Which inp sections are allowed? | What happens on read_inp? | What happens on write_inp? | What is a rpt file? | Which rpt sections are parsed? | What happens on read_rpt?

Last update: 2022-02-02
Started: 2018-01-15

How to autocalibrate a SWMM model with swmmr
Introduction | Setup | Goodness-of-fit criteria | Objective function | Optimization

Last update: 2019-03-16
Started: 2018-01-15

Conversion between GIS data and SWMM with swmmr
swmmr's function inp_to_files | swmmr's function shp_to_inp | Conversion of Example1 files to one inp file | setup a new SWMM project using shp_to_inp | supplementary R objects:

Last update: 2018-02-27
Started: 2018-02-22