Call 'EPANET' Functions to Simulate Pipe Networks
Retrieve a code number indicating the units used to express all flow r...
Retrieves index of head curve used by a pump
Retrieve the ID label of a link
Retrieve the index of a link
Retrieve the index of the end nodes of a link
Retrieve the type code for a link
Retrieve the ID label a time pattern
Retrieve the index a time pattern.
Retrieve the number of time periods in a time pattern.
Retrieve the multiplier factor for a specific time period
Gets the properties of a premise in a rule-based control.
Retrieves type of head curve used by a pump
Get quality analysis information
Retrieve the type of water quality analysis called for.
Retrieves the order in which a node or link appears in an output file.
Retrieves summary information about a rule-based control.
Gets the ID name of a rule-based control given its index.
Analysis convergence statistics.
Gets properties of THEN action in rule-based control
Get the value of one or more specific analysis time parameters.
ENgettitle
Retrieve the current version number of the EPANET Toolkit.
Get vertex coordinates
Get number of vertices for a link
ENinit
Initialize hydraulic engine
Initialize water quality analysis
determine the next hydraulic step
Advances WQ simulation to start of the next hydraulic time period.
Open the EPANET Toolkit.
Open hydraulics analysis system.
Sets up for Water Quality analysis
Write simulation report to the report file
Resets a project's report options to their default values.
run hydraulics engine
Computs WQ results at current time .
ENsaveHSaves hydraulic results to binary file
Saves temporary hydraulics file to disk
ENaveinpfileSaves current data to "INP" formatted text file.
Sets the base demand for one of a node's demand categories.
Change a link's type
Sets the properties of a premise in a rule-based control.
Sets the index of an object in a premise of a rule-based control
Sets the status being compared to in a premise of a rule-based control
Sets the value in a premise of a rule-based control
Delete a link from the project.
Deletes a node
Delete a new time pattern
Deletes an existing rule-based control
ENepanet
Get average of all time factors in a pattern
Gets the base demand for one of a node's demand categories.
ENgetcontrol
Get coordinates for a node
Get number of network elements.
Retrieves the ID name of a curve given its index.
Retrieves the index of a curve given its ID name.
Retrieves the number of points in a curve.
Retrieves a curve's type
Retrieves the value of a single data point for a curve.
Retrieves the index of a node's named demand category
Get type of demand model in use and its parameters
Retrieves the name of a node's demand category.
Gets the base demand for one of a node's demand categories.
Gets the properties of an ELSE action in a rule-based control.
Returns the text of an error message generated by an error code
Delete a demand from a junction node
close hydraulics engine
Close water quality analysis and free allocated memory
Copies the current contents of a project's report file to another file
Deletes an existing simple control
Close down the EPANET Toolkit system.
Deletes a data curve from a project
Add a new simple control
Adds a new data curve to a project.
Appends a new demand to a junction node demands list.
Add a link to the network
Adds a new node
Add a new time pattern
Adds a new rule-based control to a project
Clears the contents of a project's report file.
Retrieve parameter value for a link
Retrieve the ID label a node.
Retrieve the index of a node
Retrieve the node-type code
Retrieve node parameter value.
Get number of demands for a junction node
Retrieve the value of an analysis option.
Set the parameters of a simple control statement
Set coordinates for a node
Changes the ID name of a data curve given its index.
Sets the value of a single data point for a curve.
Sets the type of demand model to use and its parameters.
Sets the name of a node's demand category.
Sets the index of a time pattern used for one of a node's demand categ...
Set properties of an ELSE action in a rule-based control
Sets flow units.
Sets index of head curve used by a pump
Sets properties for a junction
Change the ID of a link
Set the indexes of a link's start- and end-nodes
Set a parameter value for a link
Changes the ID name of a node
Set the parameter value for a node.
Set the value of a particular analysis option.
Set all of the multiplier factors for a specific time pattern.
Change the ID name of a time pattern given its index.
set pattern value
Uses previously saved binary hydraulics file to supply a project's hyd...
Set the type of water quality analysis called for.
Processes a reporting format command.
Sets the priority of a rule-based control.
Sets the level of hydraulic status reporting.
Sets properties for a tank
Set properties of THEN action in a rule-based control
Set the value of a time parameter.
Set a link's vertices
ENsolveH
Solve network water quality for all time periods
Advances WQ simulation one water quality time step.
epanet2toolkit: Call 'EPANET' Functions to Simulate Pipe Networks
Enables simulation of water piping networks using 'EPANET'. The package provides functions from the 'EPANET' programmer's toolkit as R functions so that basic or customized simulations can be carried out from R. The package uses 'EPANET' version 2.2 from Open Water Analytics <https://github.com/OpenWaterAnalytics/EPANET/releases/tag/v2.2>.