An R package for EPANET simulations. (September 2018) - Arandia, Ernesto
Abstract: The EPANET software for modeling piping networks is widely used for the design and analysis of water systems. This short communication describes epanet2toolkit, a package for accessing the EPANET simulation engine and application programming interface from the R environment for computing and graphics. Users of the package may run extended period simulations of hydraulics and water quality or create custom applications using the data exploration, visualization, and analysis capabilities of R. epanet2toolkit enables interactive use of EPANET on a variety of computing platforms, provides integrated error checking, and contributes a publicly available test suite. The package is available through the Comprehensive R Archive Network and GitHub.com . Highlights: The paper documents an R package for water network simulations. The package compiles on most operating systems and automatically links the EPANET simulation engine to R. The package enables interactive EPANET calls, integrates error checking, and provides a test suite.