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