EPANET
3.0
EPANET Development Project
|
User-supplied options for analyzing a pipe network. More...
#include <options.h>
Public Member Functions | |
int | flowUnits () |
int | pressureUnits () |
std::string | stringOption (StringOption option) |
int | indexOption (IndexOption option) |
double | valueOption (ValueOption option) |
int | timeOption (TimeOption option) |
void | setDefaults () |
void | adjustOptions () |
int | setOption (StringOption option, const std::string &value) |
int | setOption (IndexOption option, const std::string &value, Network *nw) |
void | setOption (IndexOption option, int value) |
void | setOption (ValueOption option, double value) |
void | setOption (TimeOption option, int value) |
void | setReportFieldOption (int fieldType, int fieldIndex, int enabled, int precision, double lowerLimit, double upperLimit) |
std::string | hydOptionsToStr () |
std::string | qualOptionsToStr () |
std::string | demandOptionsToStr () |
std::string | timeOptionsToStr () |
std::string | reactOptionsToStr () |
std::string | energyOptionsToStr (Network *network) |
std::string | reportOptionsToStr () |
User-supplied options for analyzing a pipe network.
enum Options::IndexOption |
Enumerator | |
---|---|
UNIT_SYSTEM |
Choice of units system. |
FLOW_UNITS |
Choice of flow rate units. |
PRESSURE_UNITS |
Choice of pressure units. |
MAX_TRIALS |
Maximum hydraulic trials. |
IF_UNBALANCED |
Stop or continue if network is unbalanced. |
HYD_FILE_MODE |
Binary hydraulics file mode. |
DEMAND_PATTERN |
Global demand pattern index. |
ENERGY_PRICE_PATTERN |
Global energy price pattern index. |
QUAL_TYPE |
Type of water quality analysis. |
QUAL_UNITS |
Units of the quality constituent. |
TRACE_NODE |
Node index for source tracing. |
REPORT_SUMMARY |
report input/output summary |
REPORT_ENERGY |
report energy usage |
REPORT_STATUS |
report system status |
REPORT_TRIALS |
report result of each trial |
REPORT_NODES |
report node results |
REPORT_LINKS |
report link results |
enum Options::TimeOption |
enum Options::ValueOption |