WMS:XPSWMM

From XMS Wiki
Jump to: navigation, search

WMS is integrated with the xpswmm version of the SWMM model and exports XPX files for use in xpswmm using the Export XPX File menu command in the SWMM menu in river module. Several scenarios can exist where WMS is useful for developing a SWMM model. Here are three scenarios the WMS developers have considered:

Case 1: Exporting a hydrologic model to xpswmm

Modeling process:

  1. Delineate watersheds in a drainage coverage and compute the basin data.
  2. In the hydrologic modeling module, make xpswmm the active model; define/compute xpswmm hydrologic data as desired (in a spreadsheet-based dialog).
  3. Save an XPX file or launch xpswmm from WMS. Running will implicitly save an XPX file, start xpswmm, and read the XPX file into xpswmm. The polygons from the drainage coverage are saved to the XPX file as polygons, outlet points are saved as nodes, and streams between outlet points are saved as inactive links.

Case 2: Exporting a storm drain coverage and hydrologic results

Modeling process:

  1. Delineate watersheds in a drainage coverage and compute the basin data.
  2. Create and draw arcs representing pipes or channels in a storm drain coverage.
  3. Convert the storm drain coverage arcs to a hydraulic schematic in the river module.
  4. Link drainage coverage outlet nodes to storm drain coverage inlet nodes.
  5. Define/compute xpswmm hydrologic data as desired as in step 2 of case 1.
  6. Save an XPX file or launch xpswmm from WMS. From the drainage coverage, only the polygons are saved (no outlets or streams). Links and nodes are saved from the storm drain coverage and the hydraulic schematic to the XPX file.

Case 3: Starting a model in xpswmm

Modeling process:

  1. In xpswmm, define the stream network, pipe linkages, and drainage outlet/storm drain inlet nodes. Save this data as an XPX file.
  2. Read the XPX file into WMS. WMS creates a storm drain coverage from the XPX file and reads all the data associated with the links and nodes.
  3. Use the storm drain coverage as a base map for creating a drainage coverage and delineating watersheds (drain inlets become outlets for the drainage coverage). Compute basin data.
  4. Link drainage coverage outlet nodes to storm drain inlet nodes. (Same as #3 in case 2.)
  5. Define/compute xpswmm hydrologic data as desired as in step 2 of case 1.
  6. Save an XPX file or launch xpswmm (as in step 5 for case 2). All the data defined or modified in WMS is written to the new file and updated in the xpswmm model.