@amernesto and I are pleased to announce the release of new software for carrying out EPANET simulations in the R environment. The package epanet2toolkit provides the programmer’s toolkit as R functions.
The simulation engine version 2.1 from Open Water Analytics ships with the package, avoiding the need to compile it for your platform or put the dll/so in the search path for your operating system. Error checking is integrated with the R exception system and happens for every call to EPANET. We have found the functionality convenient for our projects and hope you will too.
The package is available from CRAN or Github under the MIT license.
Most, but not all of the EPANET functions from v2.1 are supported. If you like what you see, stars on github are most welcome. If you are missing a function, or find a bug, or have a suggestion, please send an email or better yet raise an issue on github. Code contributions are welcome via pull request.