OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
SimulationOptions.hpp File Reference

Simulation options parsed from the [OPTIONS] section. More...

#include <string>
#include <vector>
#include <unordered_map>
#include <cstdint>
Include dependency graph for SimulationOptions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmm::SimulationOptions
 All SWMM simulation options parsed from [OPTIONS] section. More...
 

Namespaces

namespace  openswmm
 

Enumerations

enum class  openswmm::FlowUnits : int {
  openswmm::CFS = 0 ,
  openswmm::GPM = 1 ,
  openswmm::MGD = 2 ,
  openswmm::CMS = 3 ,
  openswmm::LPS = 4 ,
  openswmm::MLD = 5
}
 Flow unit systems. More...
 
enum class  openswmm::RoutingModel : int {
  openswmm::STEADY = 0 ,
  openswmm::KINWAVE = 1 ,
  openswmm::DYNWAVE = 2
}
 Flow routing methods. More...
 
enum class  openswmm::InfiltrationModel : int {
  openswmm::HORTON = 0 ,
  openswmm::MOD_HORTON = 1 ,
  openswmm::GREEN_AMPT = 2 ,
  openswmm::MOD_GREEN_AMPT = 3 ,
  openswmm::CURVE_NUMBER = 4
}
 Infiltration methods. More...
 
enum class  openswmm::RunoffModel : int {
  openswmm::NONE = 0 ,
  openswmm::NL_POND = 1
}
 Runoff routing methods. More...
 

Detailed Description

Simulation options parsed from the [OPTIONS] section.

Contains all standard SWMM options plus an extension map for unknown keys (R05) and a CRS field (R06).

Standard SWMM 5.x options are documented in:

See also
Legacy reference: src/solver/input.c — readOption()
Legacy reference: src/solver/globals.h — global option variables

New in 6.0.0:

  • crs: Coordinate reference system (EPSG code or PROJ string). R06.
  • ext_options: Key-value map for unknown/extension option keys. R05.