Set REPORT Option in EPANET configuration
Usage
setReportOptions(
configuration,
pagesize = 0,
file = "",
status = "NO",
summary = "YES",
messages = "YES",
energy = "NO",
nodes = "NONE",
links = "NONE",
variables = defaultReportVariables()
)Arguments
- configuration
EPANET
configuration, representing an EPANET inputfile, as returned byreadEpanetInputFile- pagesize
pagesizesets the number of lines written per page of the output report. The default is 0, meaning that no line limit per page is in effect.- file
filesupplies the name of afileto which the output report will be written. If thefilename contains spaces then it must be surrounded by double quotes. If not supplied then the Reportfile, as specified in the second parameter of the ENopen (or ENepanet) function will be used.- status
statusdetermines whether hydraulicstatusmessagesare written to the Reportfile. If YES is selected themessageswill identify those network components that changestatusduring each time step of the simulation. If FULL is selected, then convergence information will also be included from each trial of each hydraulic analysis. This level of detail is only useful for de-bugging networks that become hydraulically unbalanced. The default is NO.- summary
summarydetermines whether asummarytable of number of network components and key analysis options is generated. The default is YES.- messages
messagesdetermines whether error and warningmessagesgenerated during a hydraulic/water quality analysis are written to the Reportfile. The default is YES.- energy
energydetermines if a table reporting averageenergyusage and cost for each pump is provided. The default is NO.- nodes
nodesidentifies whichnodeswill be reported on. You can either list individual node ID labels or use the keywords NONE or ALL. Additional NODES lines can be used to continue the list. The default is NONE.- links
linksidentifies whichlinkswill be reported on. You can either list individual link ID labels or use the keywords NONE or ALL. Additional LINKS lines can be used to continue the list. The default is NONE.- variables
list of report
variablesas defined byreportVariable, e.g. list(reportVariable(name = "VELOCITY", above = 3.0, precision = 4), reportVariable(name = "F-FACTOR", precision = 4)). Default:defaultReportVariables