OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
text.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// text.h
3
//
4
// Project: EPA SWMM5
5
// Version: 5.2
6
// Date: 07/15/23 (Build 5.2.4)
7
// Author: L. Rossman
8
//
9
// Text strings
10
//
11
// Update History
12
// ==============
13
// Build 5.2.0:
14
// - Moved strings used in swmm_run() (in swmm5.c) to that function.
15
// - Added text strings used for storage shapes, streets & inlets.
16
//-----------------------------------------------------------------------------
17
18
#ifndef TEXT_H
19
#define TEXT_H
20
21
22
#define FMT01 \
23
"\tswmm5 <input file> <report file> <output file>\n"
24
25
#define FMT03 " There are errors.\n"
26
#define FMT04 " There are warnings.\n"
27
#define FMT08 \
28
"\n EPA STORM WATER MANAGEMENT MODEL - VERSION 5.2 (Build 5.2.4)"
29
#define FMT09 \
30
"\n ------------------------------------------------------------"
31
#define FMT10 "\n"
32
#define FMT11 "\n Cannot use duplicate file names."
33
#define FMT12 "\n Cannot open input file "
34
#define FMT13 "\n Cannot open report file "
35
#define FMT14 "\n Cannot open output file "
36
#define FMT15 "\n Cannot open temporary output file"
37
#define FMT16 "\n ERROR %d detected. Execution halted."
38
#define FMT17 "at line %ld of input file:"
39
#define FMT18 "at line %ld of %s] section:"
40
#define FMT19 "\n Maximum error count exceeded."
41
#define FMT20 "\n\n Analysis begun on: %s"
42
#define FMT20a " Analysis ended on: %s"
43
#define FMT21 " Total elapsed time: "
44
45
// Warning messages
46
#define WARN01 "WARNING 01: wet weather time step reduced to recording interval for Rain Gage"
47
#define WARN02 "WARNING 02: maximum depth increased for Node"
48
#define WARN03 "WARNING 03: negative offset ignored for Link"
49
#define WARN04 "WARNING 04: minimum elevation drop used for Conduit"
50
#define WARN05 "WARNING 05: minimum slope used for Conduit"
51
#define WARN06 "WARNING 06: dry weather time step increased to the wet weather time step"
52
#define WARN07 "WARNING 07: routing time step reduced to the wet weather time step"
53
#define WARN08 "WARNING 08: elevation drop exceeds length for Conduit"
54
#define WARN09 "WARNING 09: time series interval greater than recording interval for Rain Gage"
55
#define WARN10a \
56
"WARNING 10: crest elevation is below downstream invert for regulator Link"
57
#define WARN10b \
58
"WARNING 10: crest elevation raised to downstream invert for regulator Link"
59
#define WARN11 "WARNING 11: non-matching attributes in Control Rule"
60
#define WARN12 \
61
"WARNING 12: inlet removed due to unsupported shape for Conduit"
62
63
// Analysis Option Keywords
64
#define w_FLOW_UNITS "FLOW_UNITS"
65
#define w_INFIL_MODEL "INFILTRATION"
66
#define w_ROUTE_MODEL "FLOW_ROUTING"
67
#define w_START_DATE "START_DATE"
68
#define w_START_TIME "START_TIME"
69
#define w_END_DATE "END_DATE"
70
#define w_END_TIME "END_TIME"
71
#define w_REPORT_START_DATE "REPORT_START_DATE"
72
#define w_REPORT_START_TIME "REPORT_START_TIME"
73
#define w_SWEEP_START "SWEEP_START"
74
#define w_SWEEP_END "SWEEP_END"
75
#define w_START_DRY_DAYS "DRY_DAYS"
76
#define w_WET_STEP "WET_STEP"
77
#define w_DRY_STEP "DRY_STEP"
78
#define w_ROUTE_STEP "ROUTING_STEP"
79
#define w_REPORT_STEP "REPORT_STEP"
80
#define w_RULE_STEP "RULE_STEP"
81
#define w_ALLOW_PONDING "ALLOW_PONDING"
82
#define w_INERT_DAMPING "INERTIAL_DAMPING"
83
#define w_SLOPE_WEIGHTING "SLOPE_WEIGHTING"
84
#define w_VARIABLE_STEP "VARIABLE_STEP"
85
#define w_NORMAL_FLOW_LTD "NORMAL_FLOW_LIMITED"
86
#define w_LENGTHENING_STEP "LENGTHENING_STEP"
87
#define w_MIN_SURFAREA "MIN_SURFAREA"
88
#define w_COMPATIBILITY "COMPATIBILITY"
89
#define w_SKIP_STEADY_STATE "SKIP_STEADY_STATE"
90
#define w_TEMPDIR "TEMPDIR"
91
#define w_IGNORE_RAINFALL "IGNORE_RAINFALL"
92
#define w_FORCE_MAIN_EQN "FORCE_MAIN_EQUATION"
93
#define w_LINK_OFFSETS "LINK_OFFSETS"
94
#define w_MIN_SLOPE "MIN_SLOPE"
95
#define w_IGNORE_SNOWMELT "IGNORE_SNOWMELT"
96
#define w_IGNORE_GWATER "IGNORE_GROUNDWATER"
97
#define w_IGNORE_ROUTING "IGNORE_ROUTING"
98
#define w_IGNORE_QUALITY "IGNORE_QUALITY"
99
#define w_MAX_TRIALS "MAX_TRIALS"
100
#define w_HEAD_TOL "HEAD_TOLERANCE"
101
#define w_SYS_FLOW_TOL "SYS_FLOW_TOL"
102
#define w_LAT_FLOW_TOL "LAT_FLOW_TOL"
103
#define w_IGNORE_RDII "IGNORE_RDII"
104
#define w_MIN_ROUTE_STEP "MINIMUM_STEP"
105
#define w_NUM_THREADS "THREADS"
106
#define w_SURCHARGE_METHOD "SURCHARGE_METHOD"
107
108
// Flow Units
109
#define w_CFS "CFS"
110
#define w_GPM "GPM"
111
#define w_MGD "MGD"
112
#define w_CMS "CMS"
113
#define w_LPS "LPS"
114
#define w_MLD "MLD"
115
116
// Flow Routing Methods
117
#define w_NF "NF"
118
#define w_KW "KW"
119
#define w_EKW "EKW"
120
#define w_DW "DW"
121
122
#define w_STEADY "STEADY"
123
#define w_KINWAVE "KINWAVE"
124
#define w_XKINWAVE "XKINWAVE"
125
#define w_DYNWAVE "DYNWAVE"
126
127
// Surcharge Methods
128
#define w_EXTRAN "EXTRAN"
129
#define w_SLOT "SLOT"
130
131
// Infiltration Methods
132
#define w_HORTON "HORTON"
133
#define w_MOD_HORTON "MODIFIED_HORTON"
134
#define w_GREEN_AMPT "GREEN_AMPT"
135
#define w_MOD_GREEN_AMPT "MODIFIED_GREEN_AMPT"
136
#define w_CURVE_NUMEBR "CURVE_NUMBER"
137
138
// Normal Flow Criteria
139
#define w_SLOPE "SLOPE"
140
#define w_FROUDE "FROUDE"
141
#define w_BOTH "BOTH"
142
143
// Snowmelt Data Keywords
144
#define w_WINDSPEED "WINDSPEED"
145
#define w_SNOWMELT "SNOWMELT"
146
#define w_ADC "ADC"
147
#define w_PLOWABLE "PLOWABLE"
148
149
// Evaporation Data Options
150
#define w_CONSTANT "CONSTANT"
151
#define w_TIMESERIES "TIMESERIES"
152
#define w_TEMPERATURE "TEMPERATURE"
153
#define w_FILE "FILE"
154
#define w_RECOVERY "RECOVERY"
155
#define w_DRYONLY "DRY_ONLY"
156
157
// DWF Time Pattern Types
158
#define w_MONTHLY "MONTHLY"
159
#define w_DAILY "DAILY"
160
#define w_HOURLY "HOURLY"
161
#define w_WEEKEND "WEEKEND"
162
163
// Rainfall Record Types
164
#define w_INTENSITY "INTENSITY"
165
#define w_VOLUME "VOLUME"
166
#define w_CUMULATIVE "CUMULATIVE"
167
168
// Unit Hydrograph Types
169
#define w_SHORT "SHORT"
170
#define w_MEDIUM "MEDIUM"
171
#define w_LONG "LONG"
172
173
// Internal Runoff Routing Options
174
#define w_OUTLET "OUTLET"
175
#define w_IMPERV "IMPERV"
176
#define w_PERV "PERV"
177
178
// Outfall Node Types
179
#define w_FREE "FREE"
180
#define w_FIXED "FIXED"
181
#define w_TIDAL "TIDAL"
182
#define w_CRITICAL "CRITICAL"
183
#define w_NORMAL "NORMAL"
184
185
// Flow Divider Node Types
186
#define w_FUNCTIONAL "FUNCTIONAL"
187
#define w_TABULAR "TABULAR"
188
#define w_CUTOFF "CUTOFF"
189
#define w_OVERFLOW "OVERFLOW"
190
191
// Storage Node Shapes
192
#define w_CYLINDRICAL "CYLINDRICAL"
193
#define w_CONICAL "CONICAL"
194
#define w_PARABOLOID "PARABOLIC"
195
#define w_PYRAMIDAL "PYRAMIDAL"
196
197
// Pump Curve Types
198
#define w_TYPE1 "TYPE1"
199
#define w_TYPE2 "TYPE2"
200
#define w_TYPE3 "TYPE3"
201
#define w_TYPE4 "TYPE4"
202
#define w_TYPE5 "TYPE5"
203
#define w_IDEAL "IDEAL"
204
205
// Pump Curve Variables
206
#define w_VOLUME "VOLUME"
207
#define w_DEPTH "DEPTH"
208
#define w_HEAD "HEAD"
209
210
// Orifice Types
211
#define w_SIDE "SIDE"
212
#define w_BOTTOM "BOTTOM"
213
214
// Weir Types
215
#define w_TRANSVERSE "TRANSVERSE"
216
#define w_SIDEFLOW "SIDEFLOW"
217
#define w_VNOTCH "V-NOTCH"
218
#define w_ROADWAY "ROADWAY"
219
220
// Conduit Cross-Section Shapes
221
#define w_DUMMY "DUMMY"
222
#define w_CIRCULAR "CIRCULAR"
223
#define w_FILLED_CIRCULAR "FILLED_CIRCULAR"
224
#define w_RECT_CLOSED "RECT_CLOSED"
225
#define w_RECT_OPEN "RECT_OPEN"
226
#define w_TRAPEZOIDAL "TRAPEZOIDAL"
227
#define w_TRIANGULAR "TRIANGULAR"
228
#define w_PARABOLIC "PARABOLIC"
229
#define w_POWERFUNC "POWER"
230
#define w_STREET "STREET"
231
#define w_RECT_TRIANG "RECT_TRIANGULAR"
232
#define w_RECT_ROUND "RECT_ROUND"
233
#define w_MOD_BASKET "MODBASKETHANDLE"
234
#define w_HORIZELLIPSE "HORIZ_ELLIPSE"
235
#define w_VERTELLIPSE "VERT_ELLIPSE"
236
#define w_ARCH "ARCH"
237
#define w_EGGSHAPED "EGG"
238
#define w_HORSESHOE "HORSESHOE"
239
#define w_GOTHIC "GOTHIC"
240
#define w_CATENARY "CATENARY"
241
#define w_SEMIELLIPTICAL "SEMIELLIPTICAL"
242
#define w_BASKETHANDLE "BASKETHANDLE"
243
#define w_SEMICIRCULAR "SEMICIRCULAR"
244
#define w_IRREGULAR "IRREGULAR"
245
#define w_CUSTOM "CUSTOM"
246
#define w_FORCE_MAIN "FORCE_MAIN"
247
#define w_H_W "H-W"
248
#define w_D_W "D-W"
249
250
// Link Offset Options
251
#define w_ELEVATION "ELEVATION"
252
253
// Transect Data Input Codes
254
#define w_NC "NC"
255
#define w_X1 "X1"
256
#define w_GR "GR"
257
258
// Rain Volume Units
259
#define w_INCHES "IN"
260
#define w_MMETER "MM"
261
262
// Flow Volume Units
263
#define w_MGAL "10^6 gal"
264
#define w_MLTRS "10^6 ltr"
265
#define w_GAL "gal"
266
#define w_LTR "ltr"
267
268
// Ponded Depth Units
269
#define w_PONDED_FEET "Feet"
270
#define w_PONDED_METERS "Meters"
271
272
// Concentration Units
273
#define w_MGperL "MG/L"
274
#define w_UGperL "UG/L"
275
#define w_COUNTperL "#/L"
276
277
// Mass Units
278
#define w_MG "MG"
279
#define w_UG "UG"
280
#define w_COUNT "#"
281
282
// Load Units
283
#define w_LBS "lbs"
284
#define w_KG "kg"
285
#define w_LOGN "LogN"
286
287
// Pollutant Buildup Functions
288
#define w_POW "POW"
289
#define w_EXP "EXP"
290
#define w_SAT "SAT"
291
#define w_EXT "EXT"
292
293
// Normalizing Variables for Pollutant Buildup
294
#define w_PER_AREA "AREA"
295
#define w_PER_CURB "CURB"
296
297
// Pollutant Washoff Functions
298
// (EXP function defined above)
299
#define w_RC "RC"
300
#define w_EMC "EMC"
301
302
// Treatment Keywords
303
#define w_REMOVAL "REMOVAL"
304
#define w_RATE "RATE"
305
#define w_HRT "HRT"
306
#define w_DT "DT"
307
#define w_AREA "AREA"
308
309
// Curve Types
310
//define w_STORAGE (defined below)
311
#define w_DIVERSION "DIVERSION"
312
#define w_TIDAL "TIDAL"
313
#define w_RATING "RATING"
314
#define w_SHAPE "SHAPE"
315
#define w_PUMP1 "PUMP1"
316
#define w_PUMP2 "PUMP2"
317
#define w_PUMP3 "PUMP3"
318
#define w_PUMP4 "PUMP4"
319
#define w_PUMP5 "PUMP5"
320
#define w_INLET "INLET"
321
322
// Reporting Options
323
#define w_DISABLED "DISABLED"
324
#define w_INPUT "INPUT"
325
#define w_CONTINUITY "CONTINUITY"
326
#define w_FLOWSTATS "FLOWSTATS"
327
#define w_CONTROLS "CONTROL"
328
#define w_NODESTATS "NODESTATS"
329
#define w_AVERAGES "AVERAGES"
330
331
// Interface File Types
332
#define w_RAINFALL "RAINFALL"
333
#define w_RUNOFF "RUNOFF"
334
#define w_HOTSTART "HOTSTART"
335
#define w_RDII "RDII"
336
#define w_ROUTING "ROUTING"
337
#define w_INFLOWS "INFLOWS"
338
#define w_OUTFLOWS "OUTFLOWS"
339
340
// Miscellaneous Keywords
341
#define w_OFF "OFF"
342
#define w_ON "ON"
343
#define w_NO "NO"
344
#define w_YES "YES"
345
#define w_NONE "NONE"
346
#define w_ALL "ALL"
347
#define w_SCRATCH "SCRATCH"
348
#define w_USE "USE"
349
#define w_SAVE "SAVE"
350
#define w_FULL "FULL"
351
#define w_PARTIAL "PARTIAL"
352
353
// Major Object Types
354
#define w_GAGE "RAINGAGE"
355
#define w_SUBCATCH "SUBCATCH"
356
#define w_NODE "NODE"
357
#define w_LINK "LINK"
358
#define w_POLLUT "POLLUTANT"
359
#define w_LANDUSE "LANDUSE"
360
#define w_TSERIES "TIME SERIES"
361
#define w_TABLE "TABLE"
362
#define w_UNITHYD "HYDROGRAPH"
363
364
// Node Sub-Types
365
#define w_JUNCTION "JUNCTION"
366
#define w_OUTFALL "OUTFALL"
367
#define w_STORAGE "STORAGE"
368
#define w_DIVIDER "DIVIDER"
369
370
// Link Sub-Types
371
#define w_CONDUIT "CONDUIT"
372
#define w_PUMP "PUMP"
373
#define w_ORIFICE "ORIFICE"
374
#define w_WEIR "WEIR"
375
376
// Control Rule Keywords
377
#define w_RULE "RULE"
378
#define w_IF "IF"
379
#define w_AND "AND"
380
#define w_OR "OR"
381
#define w_THEN "THEN"
382
#define w_ELSE "ELSE"
383
#define w_PRIORITY "PRIORITY"
384
385
#define w_VARIABLE "VARIABLE"
386
#define w_EXPRESSION "EXPRESSION"
387
388
// External Inflow Types
389
#define w_FLOW "FLOW"
390
#define w_CONCEN "CONCEN"
391
#define w_MASS "MASS"
392
393
// Variable Units
394
#define w_FEET "FEET"
395
#define w_METERS "METERS"
396
#define w_FPS "FT/SEC"
397
#define w_MPS "M/SEC"
398
#define w_PCNT "PERCENT"
399
#define w_ACRE "acre"
400
#define w_HECTARE "hectare"
401
402
// Input File Sections
403
#define ws_TITLE "[TITLE"
404
#define ws_OPTION "[OPTION"
405
#define ws_FILE "[FILE"
406
#define ws_RAINGAGE "[RAINGAGE"
407
#define ws_TEMP "[TEMPERATURE"
408
#define ws_EVAP "[EVAP"
409
#define ws_SUBCATCH "[SUBCATCHMENT"
410
#define ws_SUBAREA "[SUBAREA"
411
#define ws_INFIL "[INFIL"
412
#define ws_AQUIFER "[AQUIFER"
413
#define ws_GROUNDWATER "[GROUNDWATER"
414
#define ws_SNOWMELT "[SNOWPACK"
415
#define ws_JUNCTION "[JUNC"
416
#define ws_OUTFALL "[OUTFALL"
417
#define ws_STORAGE "[STORAGE"
418
#define ws_DIVIDER "[DIVIDER"
419
#define ws_CONDUIT "[CONDUIT"
420
#define ws_PUMP "[PUMP"
421
#define ws_ORIFICE "[ORIFICE"
422
#define ws_WEIR "[WEIR"
423
#define ws_OUTLET "[OUTLET"
424
#define ws_XSECTION "[XSECT"
425
#define ws_TRANSECT "[TRANSECT"
426
#define ws_LOSS "[LOSS"
427
#define ws_CONTROL "[CONTROL"
428
#define ws_POLLUTANT "[POLLUT"
429
#define ws_LANDUSE "[LANDUSE"
430
#define ws_BUILDUP "[BUILDUP"
431
#define ws_WASHOFF "[WASHOFF"
432
#define ws_COVERAGE "[COVERAGE"
433
#define ws_INFLOW "[INFLOW"
434
#define ws_DWF "[DWF"
435
#define ws_PATTERN "[PATTERN"
436
#define ws_RDII "[RDII"
437
#define ws_UNITHYD "[HYDROGRAPH"
438
#define ws_LOADING "[LOADING"
439
#define ws_TREATMENT "[TREATMENT"
440
#define ws_CURVE "[CURVE"
441
#define ws_TIMESERIES "[TIMESERIES"
442
#define ws_REPORT "[REPORT"
443
#define ws_MAP "[MAP"
444
#define ws_COORDINATE "[COORDINATE"
445
#define ws_VERTICES "[VERTICES"
446
#define ws_POLYGON "[POLYGON"
447
#define ws_SYMBOL "[SYMBOL"
448
#define ws_LABEL "[LABEL"
449
#define ws_BACKDROP "[BACKDROP"
450
#define ws_TAG "[TAG"
451
#define ws_PROFILE "[PROFILE"
452
#define ws_LID_CONTROL "[LID_CONTROL"
453
#define ws_LID_USAGE "[LID_USAGE"
454
#define ws_GW_FLOW "[GW_FLOW"
//Deprecated
455
#define ws_GWF "[GWF"
456
#define ws_ADJUST "[ADJUSTMENT"
457
#define ws_EVENT "[EVENT"
458
#define ws_STREET "[STREET"
459
#define ws_INLET "[INLET"
460
#define ws_INLET_USAGE "[INLET_USAGE"
461
462
#endif
//TEXT_H
src
legacy
engine
text.h
Generated by
1.9.8