ENinit {epanet2toolkit}R Documentation

ENinit

Description

Initializes an empty EPANET network

Usage

ENinit(rptFile, outFile, unitsType, headLossType)

Arguments

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

Details

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.

Value

Returns NULL invisibly; called for side effect


[Package epanet2toolkit version 1.0.4 Index]