Sunday, October 22, 2023

SWMM5 Enum Overview


1. 🌧️ Object Types

These are the major objects in the stormwater system.

Enum ValueDescription
GAGERain gage
SUBCATCHSubcatchment
......
STREETStreet cross-section
INLETStreet inlet design

2. 🚧 Node Sub-types

Specific types of nodes in the system.

Enum ValueDescription
JUNCTIONStandard junction
OUTFALLOutlet of the system
......

3. 🔗 Link Sub-types

Types of connections or links.

Enum ValueDescription
CONDUITStandard conduit or pipe
PUMPPump
......

4. 📂 File Types

Kinds of files used in the model.

Enum ValueDescription
RAINFALL_FILEFile with rainfall data
RUNOFF_FILEFile with runoff data
......

5. 💾 File Usage Types

How files are used in the system.

Enum ValueDescription
NO_FILENo file being used
SCRATCH_FILETemporary file
......

6. ☔ Gage Data Types

Source of rainfall data.

Enum ValueDescription
RAIN_TSERIESRainfall data from a time series
RAIN_FILERainfall data from an external file

7. ⛓️ Cross Section Shape Types

Different channel shapes.

Enum ValueDescription
DUMMYPlaceholder type
CIRCULARCircular shape
......

8. 📏 Measurement Units

Different unit systems and measurements.

Enum ValueDescription
USUS units
SIMetric units

9. 📊 Subcatchment Quantities

Computed metrics for subcatchments.

Enum ValueDescription
SUBCATCH_RAINFALLRainfall intensity
SUBCATCH_SNOWDEPTHDepth of snow
......

10. 🌐 Node Quantities

Metrics associated with nodes.

Enum ValueDescription
NODE_DEPTHWater depth above the node's base
NODE_HEADHydraulic head
......

11. 📈 Link Quantities

Metrics associated with links or connections.

Enum ValueDescription
LINK_FLOWFlow rate through the link
LINK_DEPTHDepth of flow
......

... (and so on for other sections)

This detailed breakdown with tables and emojis provides a more visually engaging summary of the code's contents. The tables allow for quick reference of each enumeration type and its associated values, while the emojis add a touch of visual flair and can help in quickly identifying sections.

🚀 Culvert Constants Overview 🚀 in SWMM5 Overview

 🚀 Culvert Constants Overview 🚀

🔢 Culvert Parameters Enum:

  • FORM 📐
  • K 🌊
  • M ⛰️
  • C 🌀
  • Y 📏

📌 We have a MAX_CULVERT_CODE set at 57, ensuring we cover a wide range of culvert types.

🔎 Insight into the Culvert Types:

  1. Circular Concrete Culverts 🌀: Ranges from square edges with headwalls to grooved ends that project out.
  2. Circular Corrugated Metal Pipe 🌪️: Options from headwall designs to projecting types.
  3. Ellipse Concrete Designs 🥚: From square-edged headwalls to grooved ends that project.
  4. Rectangular Boxes 📦: Diverse designs with flared wingwalls, chamfered or beveled inlet edges, and skewed headwalls.
  5. Corrugated Metal Boxes & Arches 🌉: From 90° headwalls to mitered slopes and projecting designs.
  6. Culverts with Tapered Inlets 🕳️: Smooth and rough variants for circular and elliptical inlets.
  7. Rectangular Concrete Designs 🏢: Side and slope tapered options with different edge favorability.

These constants provide a comprehensive understanding of the different culvert types and their related parameters, ensuring accurate modeling and simulation for water flow systems. 💦🔧🛠️🌊

AI Rivers of Wisdom about ICM SWMM

Here's the text "Rivers of Wisdom" formatted with one sentence per line: [Verse 1] 🌊 Beneath the ancient oak, where shadows p...