The viewvars.txt
file contains definitions for various view variables (also known as map themes) used in EPA SWMM5 (Storm Water Management Model) for visualization purposes. These view variables represent key metrics and data related to subcatchments, nodes, links, and system-wide statistics.
Key Components of viewvars.txt
:
-
Constants and Variables:
- MAXINTERVALS: Maximum number of intervals for color scaling.
- MapObjectName: Array that categorizes map themes into three types:
Subcatchments
,Nodes
, andLinks
.
-
Subcatchment Variables:
- Input Data:
- Variables like AREA, WIDTH, SUBCATCHSLOPE, IMPERVIOUSNESS, and LID_USAGE represent subcatchment characteristics.
- Summary Report:
- Variables such as TOTAL_PRECIP, TOTAL_EVAP, TOTAL_INFIL, TOTAL_RUNOFF, PEAK_RUNOFF, RUNOFF_COEFF provide key summary statistics for subcatchments.
- Time Series Output:
- Includes variables such as RAINFALL, SNOWDEPTH, EVAP, INFIL, RUNOFF, GW_FLOW, GW_ELEV, and SUBCATCHQUAL, representing various outputs for subcatchments over time.
- Input Data:
-
Node Variables:
- Input Data:
- Variables like INVERT and MAX_DEPTH describe the basic properties of nodes.
- Summary Report:
- Variables such as MAX_LATFLOW, TOT_LATFLOW, MAX_FLOODING, TOT_FLOODING, HRS_FLOODED summarize node performance.
- Time Series Output:
- Time-dependent variables like NODEDEPTH, HEAD, VOLUME, LATFLOW, INFLOW, OVERFLOW, NODEQUAL.
- Input Data:
-
Link Variables:
- Input Data:
- Variables like DIAMETER, ROUGHNESS, LINKSLOPE represent the basic attributes of links.
- Summary Report:
- Variables like MAX_FLOW, MAX_VELOC, MAX_FULL, HRS_SURCH, HRS_CAP_LTD provide link-related statistics.
- Time Series Output:
- Variables such as FLOW, LINKDEPTH, VELOCITY, LINKVOLUME, CAPACITY, LINKQUAL represent time-dependent outputs for links.
- Input Data:
-
System-Wide Variables:
- Variables like SYS_TEMPERATURE, SYS_RAINFALL, SYS_RUNOFF, SYS_DWFLOW, SYS_GWFLOW, and SYS_OUTFLOW represent system-wide statistics over time.
- SYSVIEWS is used to define the maximum system-wide display variables.
-
TViewVariable:
- Represents the structure for each view variable.
- Includes the Name of the variable, its SourceIndex (which determines where it is sourced from in the data), and DefIntervals (which define default color legend intervals).
-
Base Units:
- Different variables have units assigned in the BaseSubcatchUnits, BaseNodeUnits, and BaseLinkUnits arrays.
- The units are used for visualization and are specific to the type of object (e.g.,
Subcatchments
,Nodes
,Links
).- Examples include
ac
(acres),ft
(feet),CFS
(cubic feet per second),mg/L
(milligrams per liter).
- Examples include
Summary:
The viewvars.txt
file in SWMM5 defines various view variables used for visualizing the results of a simulation. These variables cover a wide range of parameters related to subcatchments, nodes, links, and system-wide statistics. Each variable has a corresponding SourceIndex, which maps it to the appropriate data source, and DefIntervals, which define default intervals for color scaling in the visualization. This file is critical for generating graphical outputs such as maps and charts, enabling users to understand and interpret the simulation results effectively.
No comments:
Post a Comment