An R package for EPANET simulations
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.