Updating docs for added pressure units
This commit is contained in:
@@ -59,7 +59,7 @@ The Prolog section of an EPANET binary output file contains the following data:
|
|||||||
| Water Quality Option - see @ref EN_QualityType | Integer | 4 |
|
| Water Quality Option - see @ref EN_QualityType | Integer | 4 |
|
||||||
| Traced Node Index | Integer | 4 |
|
| Traced Node Index | Integer | 4 |
|
||||||
| Flow Units Option | Integer | 4 |
|
| Flow Units Option | Integer | 4 |
|
||||||
| Pressure Units Option:<br>0 = psi<br>1 = meters<br>2 = kPa | Integer | 4 |
|
| Pressure Units Option:<br>0 = psi<br>1 = kPa<br>2 = meters<br>3 = bar<br>4 = feet | Integer | 4 |
|
||||||
| Report Statistic Type - see @ref EN_StatisticType | Integer | 4 |
|
| Report Statistic Type - see @ref EN_StatisticType | Integer | 4 |
|
||||||
| Reporting Start Time (sec) | Integer | 4 |
|
| Reporting Start Time (sec) | Integer | 4 |
|
||||||
| Reporting Time Step (sec) | Integer | 4 |
|
| Reporting Time Step (sec) | Integer | 4 |
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ __Formats:__
|
|||||||
<table style = "border: 0px solid black">
|
<table style = "border: 0px solid black">
|
||||||
<tr><td><B>UNITS</B></td><td><B>CFS / GPM / MGD / IMGD / AFD /</B></td></tr>
|
<tr><td><B>UNITS</B></td><td><B>CFS / GPM / MGD / IMGD / AFD /</B></td></tr>
|
||||||
<tr><td> </td><td><B>LPS / LPM / MLD / CMS / CMH / CMD</B></td></tr>
|
<tr><td> </td><td><B>LPS / LPM / MLD / CMS / CMH / CMD</B></td></tr>
|
||||||
<tr><td><B>PRESSURE</B></td><td><B>PSI / KPA / METERS</B></td></tr>
|
<tr><td><B>PRESSURE</B></td><td><B>PSI / KPA / METERS / FEET / BAR</B></td></tr>
|
||||||
<tr><td><B>HEADLOSS</B></td><td><B>H-W / D-W / C-M</B></td></tr>
|
<tr><td><B>HEADLOSS</B></td><td><B>H-W / D-W / C-M</B></td></tr>
|
||||||
<tr><td><B>HYDRAULICS</B></td><td><B>USE / SAVE </B><I> filename</I></td></tr>
|
<tr><td><B>HYDRAULICS</B></td><td><B>USE / SAVE </B><I> filename</I></td></tr>
|
||||||
<tr><td><B>VISCOSITY</B></td><td><I>value</I></td></tr>
|
<tr><td><B>VISCOSITY</B></td><td><I>value</I></td></tr>
|
||||||
@@ -342,9 +342,9 @@ __Definitions:__
|
|||||||
- \b CMH = cubic meters per hour
|
- \b CMH = cubic meters per hour
|
||||||
- \b CMD = cubic meters per day
|
- \b CMD = cubic meters per day
|
||||||
|
|
||||||
For <b>CFS, GPM, MGD, IMGD</b>, and <b>AFD</b> other input quantities are expressed in US Customary Units. If flow units are in liters or cubic meters then Metric Units must be used for all other input quantities as well. (See the @ref Units topic). The default flow units are \b GPM.
|
For <b>CFS, GPM, MGD, IMGD</b>, and <b>AFD</b> other input quantities are expressed in US Customary Units. If flow units are in liters or cubic meters then Metric Units must be used for all other input quantities as well. (See the @ref Units topic). An exception is pressure which can use either US or SI units. The default flow units are \b GPM.
|
||||||
|
|
||||||
\b PRESSURE sets the units in which pressure is expressed, for networks using metric units, as determined by the \b UNITS option, the choices are: \b KPA, or \b METERS. For networks using US Customary Units, you can only use \b PSI.
|
\b PRESSURE sets the units in which pressure is expressed, regardless of which unit system is in use. The default pressure unit is \b PSI for US Customary Units and \b METERS for SI Metric Units.
|
||||||
|
|
||||||
\b HEADLOSS selects a formula to use for computing head loss for flow through a pipe. The choices are the Hazen-Williams (\b H-W ), Darcy-Weisbach (\b D-W ), or Chezy-Manning (\b C-M ) formulas. The default is \b H-W.
|
\b HEADLOSS selects a formula to use for computing head loss for flow through a pipe. The choices are the Hazen-Williams (\b H-W ), Darcy-Weisbach (\b D-W ), or Chezy-Manning (\b C-M ) formulas. The default is \b H-W.
|
||||||
|
|
||||||
@@ -374,7 +374,7 @@ The \b HYDRAULICS option allows you to either <B>SAVE</B> the current hydraulics
|
|||||||
|
|
||||||
\b MINIMUM PRESSURE is the pressure below which no demand can be delivered under a pressure driven analysis. It has no effect on a demand driven analysis. Its default value is 0.
|
\b MINIMUM PRESSURE is the pressure below which no demand can be delivered under a pressure driven analysis. It has no effect on a demand driven analysis. Its default value is 0.
|
||||||
|
|
||||||
\b REQUIRED PRESSURE is the pressure required to supply a node's full demand under a pressure driven analysis. It has no effect on a demand driven analysis. It must be at least 0.1 psi or m higher than the MINIMUM PRESSURE, which is also its default value.
|
\b REQUIRED PRESSURE is the pressure required to supply a node's full demand under a pressure driven analysis. It has no effect on a demand driven analysis. It must be at least 0.1 pressure units higher than the MINIMUM PRESSURE, which is also its default value.
|
||||||
|
|
||||||
\b PRESSURE EXPONENT is the power to which pressure is raised when computing the demand delivered to a node under a pressure driven analysis. It has no effect on a demand driven analysis. Its default value is 0.5.
|
\b PRESSURE EXPONENT is the power to which pressure is raised when computing the demand delivered to a node under a pressure driven analysis. It has no effect on a demand driven analysis. Its default value is 0.5.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
@page Units Measurement Units
|
@page Units Measurement Units
|
||||||
|
|
||||||
The toolkit can use data expressed in either US Customary of SI Metric units. A project's unit system depends on the unit system used for its choice of flow units. If the @ref EN_open function is used to supply data to a project from an Input File then its flow units are set in the @ref OptionsPage section of the file. If the @ref EN_init function is used to initialize a project then the choice of flow units is the fourth argument to the function. The following table lists the units used to express the various parameters in an EPANET model.
|
The toolkit can use data expressed in either US Customary of SI Metric units. A project's unit system depends on the unit system used for its choice of flow units. If the @ref EN_open function is used to supply data to a project from an Input File then its flow units are set in the @ref OptionsPage section of the file. If the @ref EN_init function is used to initialize a project then the choice of flow units is the fourth argument to the function. An exception to this convention is pressure whose units can be expressed in either US or SI units. The following table lists the units used to express the various parameters in an EPANET model.
|
||||||
|
|
||||||
| Parameter | US Customary | SI Metric |
|
| Parameter | US Customary | SI Metric |
|
||||||
|----------------|-------------------------|---------------------------|
|
|----------------|-------------------------|---------------------------|
|
||||||
@@ -25,7 +25,9 @@ The toolkit can use data expressed in either US Customary of SI Metric units. A
|
|||||||
|Length | feet | meters |
|
|Length | feet | meters |
|
||||||
|Minor Loss Coeff. | unitless | unitless |
|
|Minor Loss Coeff. | unitless | unitless |
|
||||||
|Power | horsepower | kwatts |
|
|Power | horsepower | kwatts |
|
||||||
|Pressure | psi | meters or kPa |
|
|Pressure | psi (pounds / sq. in.)| meters |
|
||||||
|
| | feet | kPa (kiloPascal) |
|
||||||
|
| | | bar |
|
||||||
|Reaction Coeff. (Bulk) | 1/day (1st-order)| 1/day (1st-order) |
|
|Reaction Coeff. (Bulk) | 1/day (1st-order)| 1/day (1st-order) |
|
||||||
|Reaction Coeff. (Wall) | mass/sq-ft/day (0-order) | mass/sq-m/day (0-order) |
|
|Reaction Coeff. (Wall) | mass/sq-ft/day (0-order) | mass/sq-m/day (0-order) |
|
||||||
| | ft/day (1st-order) | meters/day (1st-order) |
|
| | ft/day (1st-order) | meters/day (1st-order) |
|
||||||
|
|||||||
@@ -432,7 +432,6 @@ void initunits(Project *pr)
|
|||||||
strcpy(rpt->Field[DEMAND].Units, RptFlowUnitsTxt[parser->Flowflag]);
|
strcpy(rpt->Field[DEMAND].Units, RptFlowUnitsTxt[parser->Flowflag]);
|
||||||
strcpy(rpt->Field[ELEV].Units, u_FEET);
|
strcpy(rpt->Field[ELEV].Units, u_FEET);
|
||||||
strcpy(rpt->Field[HEAD].Units, u_FEET);
|
strcpy(rpt->Field[HEAD].Units, u_FEET);
|
||||||
strcpy(rpt->Field[PRESSURE].Units, u_PSI);
|
|
||||||
strcpy(rpt->Field[LENGTH].Units, u_FEET);
|
strcpy(rpt->Field[LENGTH].Units, u_FEET);
|
||||||
strcpy(rpt->Field[DIAM].Units, u_INCHES);
|
strcpy(rpt->Field[DIAM].Units, u_INCHES);
|
||||||
strcpy(rpt->Field[FLOW].Units, RptFlowUnitsTxt[parser->Flowflag]);
|
strcpy(rpt->Field[FLOW].Units, RptFlowUnitsTxt[parser->Flowflag]);
|
||||||
|
|||||||
@@ -1884,8 +1884,8 @@ int optionchoice(Project *pr, int n)
|
|||||||
** those listed below, or -1 otherwise
|
** those listed below, or -1 otherwise
|
||||||
** Purpose: processes fixed choice [OPTIONS] data
|
** Purpose: processes fixed choice [OPTIONS] data
|
||||||
** Formats:
|
** Formats:
|
||||||
** UNITS CFS/GPM/MGD/IMGD/AFD/LPS/LPM/MLD/CMH/CMD/CMS/SI
|
** UNITS CFS/GPM/MGD/IMGD/AFD/LPS/LPM/MLD/CMH/CMD/CMS
|
||||||
** PRESSURE PSI/KPA/M
|
** PRESSURE PSI/KPA/METERS/BAR/FEET
|
||||||
** HEADLOSS H-W/D-W/C-M
|
** HEADLOSS H-W/D-W/C-M
|
||||||
** HYDRAULICS USE/SAVE filename
|
** HYDRAULICS USE/SAVE filename
|
||||||
** QUALITY NONE/AGE/TRACE/CHEMICAL (TraceNode)
|
** QUALITY NONE/AGE/TRACE/CHEMICAL (TraceNode)
|
||||||
|
|||||||
Reference in New Issue
Block a user