ENinit | R Documentation |
Initializes an empty EPANET network
ENinit(rptFile, outFile, unitsType, headLossType)
rptFile |
the name of a report file to be created (or "" if not needed). |
outFile |
the name of a binary output file to be created (or "" if not needed). |
unitsType |
the choice of flow units. One of: "EN_CFS", "EN_GPM", "EN_MGD", "EN_IMGD", "EN_AFD", "EN_LPS", "EN_LPM", "EN_MLD", "EN_CMH", "EN_CMD" |
headLossType |
the choice of head loss formula . One of: EN_HW, EN_DW, EN_CM |
This function should be called to create an empty EPANET project without an EPANET-formatted input file. If the project receives it's network data from an input file then there is no need to call this function; use ENopen instead.
Returns NULL invisibly; called for side effect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.