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