![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Header file for SWMM constants. More...
#include "version.h"Go to the source code of this file.
Macros | |
| #define | VERSION PROJECT_VERSION_SWMM_FORMAT |
| SWMM version number. | |
| #define | MAGICNUMBER 516114522 |
| Magic number used to identify a SWMM binary file. | |
| #define | EOFMARK 0x1A |
| End of file mark used in SWMM binary files. | |
| #define | MAXTITLE 3 |
| Maximum number of title lines. | |
| #define | MAXMSG 1024 |
| Maximum number of characters in a message. | |
| #define | MAXLINE 1024 |
| Maximum number of characters per input line. | |
| #define | MAXFNAME 259 |
| Maximum number of characters in a file name. | |
| #define | MAXTOKS 40 |
| Maximum number of items per line of input. | |
| #define | MAXSTATES 10 |
| Maximum number of computed hydraulic variables. | |
| #define | MAXODES 4 |
| Maximum number of ODE's to be solved. | |
| #define | NA -1 |
| NOT APPLICABLE code. | |
| #define | TRUE 1 |
| Value for TRUE state. | |
| #define | FALSE 0 |
| Value for FALSE state. | |
| #define | BIG 1.E10 |
| Generic large value. | |
| #define | TINY 1.E-6 |
| Generic small value. | |
| #define | ZERO 1.E-10 |
| Effective zero value. | |
| #define | MISSING -1.E10 |
| Missing value code. | |
| #define | PI 3.141592654 |
| Value of pi. | |
| #define | GRAVITY 32.2 |
| Acceleration of gravity in US units. | |
| #define | SI_GRAVITY 9.81 |
| Acceleration of gravity in SI units. | |
| #define | MAXHOTSTARTFILES 10 |
| Maximum number of hotstart files. | |
| #define | MAXTIMESERIESCACHESIZE 10 |
| Maximum number of time series rows that can be cached to memory to speed up simulation \TODO Allow users to set this value in the input file and GUI. | |
| #define | PHI 1.486 |
| Units factor in Manning Equation. | |
| #define | MIN_RUNOFF_FLOW 0.001 |
| Minimum runoff flow (cfs) | |
| #define | MIN_EXCESS_DEPTH 0.0001 |
| Minimum excess depth (ft) = 0.03 mm. | |
| #define | MIN_TOTAL_DEPTH 0.004167 |
| Minimum total depth (ft). = 0.05 inches. | |
| #define | MIN_RUNOFF 2.31481e-8 |
| Minimum runoff (ft/sec) = 0.001 in/hr. | |
| #define | FLOW_TOL 0.00001 |
| Flow tolerance (cfs) | |
| #define | DEPTH_TOL 0.00001 |
| Depth tolerance (ft) | |
| #define | VOLUME_TOL 0.01 |
| Volume tolerance (ft3) | |
| #define | FUDGE 0.0001 |
| Fudge factor (ft or ft2) | |
| #define | GPMperCFS 448.831 |
| Gallons per minute per cfs. | |
| #define | AFDperCFS 1.9837 |
| Acre-feet per day per cfs. | |
| #define | MGDperCFS 0.64632 |
| Million gallons per day per cfs. | |
| #define | IMGDperCFS 0.5382 |
| Imperial million gallons per day per cfs. | |
| #define | LPSperCFS 28.317 |
| Liters per second per cfs. | |
| #define | LPMperCFS 1699.0 |
| Liters per minute per cfs. | |
| #define | CMHperCFS 101.94 |
| Cubic meters per hour per cfs. | |
| #define | CMDperCFS 2446.6 |
| Cubic meters per day per cfs. | |
| #define | MLDperCFS 2.4466 |
| Million liters per day per cfs. | |
| #define | M3perFT3 0.028317 |
| Cubic meters per ft3. | |
| #define | LperFT3 28.317 |
| Liters per ft3. | |
| #define | MperFT 0.3048 |
| Meters per ft. | |
| #define | PSIperFT 0.4333 |
| Pounds per square inch per ft. | |
| #define | KPAperPSI 6.895 |
| Kilopascals per psi. | |
| #define | KWperHP 0.7457 |
| Kilowatts per horsepower. | |
| #define | SECperDAY 86400 |
| Seconds per day. | |
| #define | MSECperDAY 8.64e7 |
| Milliseconds per day. | |
| #define | MMperINCH 25.40 |
| Millimeters per inch. | |
| #define | SEPSTR " \t\n\r" |
| Separator string. | |
| #define | TBLSEPSTR " \t\n\r," |