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