Closed noneaddress closed 4 months ago
@noneaddress, from that failed model run, what does that RPT file say about the error? I’m guessing your optimizer is setting a value that is not okay with SWMM.
@bemcdonnell ,thank you very much for your reply.
Here is the RPT file generated by python code using dll file
without optimization.
EPA STORM WATER MANAGEMENT MODEL - VERSION 5.2 (Build 5.2.4)
------------------------------------------------------------
SWMM
WARNING 09: time series interval greater than recording interval for Rain Gage RG1
WARNING 01: wet weather time step reduced to recording interval for Rain Gage RG1
WARNING 07: routing time step reduced to the wet weather time step
*************
Element Count
*************
Number of rain gages ...... 1
Number of subcatchments ... 52
Number of nodes ........... 53
Number of links ........... 52
Number of pollutants ...... 0
Number of land uses ....... 0
*******************
LID Control Summary
*******************
No. of Unit Unit % Area % Imperv % Perv
Subcatchment LID Control Units Area Width Covered Treated Treated
---------------------------------------------------------------------------------------------------
S0 VegetativeSwale 1 23.82 1.85 3.24 0.00 0.00
S0 Bio-RetentionCell 1 31.76 2.46 4.32 0.00 0.00
S0 RainGarden 1 47.63 3.69 6.48 0.00 0.00
S0 GreenRoof 1 15.88 1.23 2.16 0.00 0.00
S0 PermeablePavement 1 39.69 3.08 5.40 0.00 0.00
S1 VegetativeSwale 1 19.67 1.68 2.95 0.00 0.00
S1 Bio-RetentionCell 1 26.22 2.24 3.93 0.00 0.00
S1 RainGarden 1 39.34 3.36 5.90 0.00 0.00
S1 GreenRoof 1 13.11 1.12 1.97 0.00 0.00
S1 PermeablePavement 1 32.78 2.80 4.91 0.00 0.00
S2 VegetativeSwale 1 14.63 1.95 2.42 0.00 0.00
S2 Bio-RetentionCell 1 30.50 2.60 5.05 0.00 0.00
S2 RainGarden 1 46.00 3.91 7.61 0.00 0.00
S2 GreenRoof 1 17.75 1.30 2.94 0.00 0.00
S2 PermeablePavement 1 44.38 3.26 7.34 0.00 0.00
S3 VegetativeSwale 1 14.99 1.56 2.50 0.00 0.00
S3 Bio-RetentionCell 1 22.66 2.08 3.78 0.00 0.00
S3 RainGarden 1 33.99 3.12 5.66 0.00 0.00
S3 GreenRoof 1 11.33 1.04 1.89 0.00 0.00
S3 PermeablePavement 1 28.32 2.60 4.72 0.00 0.00
S4 VegetativeSwale 1 0.00 4.03 0.00 0.00 0.00
S4 Bio-RetentionCell 1 0.00 5.38 0.00 0.00 0.00
S4 RainGarden 1 0.00 8.07 0.00 0.00 0.00
S4 GreenRoof 1 75.73 2.69 4.99 0.00 0.00
S4 PermeablePavement 1 189.33 6.72 12.46 0.00 0.00
S5 VegetativeSwale 1 7.36 1.03 0.73 0.00 0.00
S5 Bio-RetentionCell 1 9.81 1.37 0.97 0.00 0.00
S5 RainGarden 1 14.72 2.05 1.45 0.00 0.00
S5 GreenRoof 1 4.91 0.68 0.48 0.00 0.00
S5 PermeablePavement 1 12.26 1.71 1.21 0.00 0.00
S6 VegetativeSwale 1 33.05 2.18 1.70 0.00 0.00
S6 Bio-RetentionCell 1 44.06 2.90 2.26 0.00 0.00
S6 RainGarden 1 66.10 4.35 3.40 0.00 0.00
S6 GreenRoof 1 22.03 1.45 1.13 0.00 0.00
S6 PermeablePavement 1 55.08 3.63 2.83 0.00 0.00
S7 VegetativeSwale 1 0.13 0.14 0.04 0.00 0.00
S7 Bio-RetentionCell 1 0.18 0.18 0.06 0.00 0.00
S7 RainGarden 1 0.27 0.28 0.09 0.00 0.00
S7 GreenRoof 1 0.09 0.09 0.03 0.00 0.00
S7 PermeablePavement 1 0.22 0.23 0.07 0.00 0.00
S8 VegetativeSwale 1 18.27 1.75 3.46 0.00 0.00
S8 Bio-RetentionCell 1 28.37 2.33 5.36 0.00 0.00
S8 RainGarden 1 42.55 3.49 8.05 0.00 0.00
S8 GreenRoof 1 14.18 1.16 2.68 0.00 0.00
S8 PermeablePavement 1 35.46 2.91 6.71 0.00 0.00
S9 VegetativeSwale 1 0.00 4.13 0.00 0.00 0.00
S9 Bio-RetentionCell 1 0.00 5.50 0.00 0.00 0.00
S9 RainGarden 1 0.00 8.25 0.00 0.00 0.00
S9 GreenRoof 1 79.21 2.75 4.00 0.00 0.00
S9 PermeablePavement 1 198.02 6.88 9.99 0.00 0.00
S10 VegetativeSwale 1 27.30 1.98 2.16 0.00 0.00
S10 Bio-RetentionCell 1 36.39 2.64 2.87 0.00 0.00
S10 RainGarden 1 54.59 3.96 4.31 0.00 0.00
S10 GreenRoof 1 18.20 1.32 1.44 0.00 0.00
S10 PermeablePavement 1 45.49 3.30 3.59 0.00 0.00
S11 VegetativeSwale 1 0.00 2.92 0.00 0.00 0.00
S11 Bio-RetentionCell 1 0.00 3.89 0.00 0.00 0.00
S11 RainGarden 1 0.00 5.84 0.00 0.00 0.00
S11 GreenRoof 1 39.69 1.95 3.64 0.00 0.00
S11 PermeablePavement 1 99.23 4.87 9.11 0.00 0.00
S12 VegetativeSwale 1 17.93 1.60 2.59 0.00 0.00
S12 Bio-RetentionCell 1 23.91 2.14 3.45 0.00 0.00
S12 RainGarden 1 35.86 3.21 5.18 0.00 0.00
S12 GreenRoof 1 11.95 1.07 1.73 0.00 0.00
S12 PermeablePavement 1 29.88 2.67 4.32 0.00 0.00
S13 VegetativeSwale 1 8.16 1.08 1.48 0.00 0.00
S13 Bio-RetentionCell 1 10.88 1.44 1.97 0.00 0.00
S13 RainGarden 1 16.32 2.16 2.95 0.00 0.00
S13 GreenRoof 1 5.44 0.72 0.98 0.00 0.00
S13 PermeablePavement 1 13.60 1.80 2.46 0.00 0.00
S14 VegetativeSwale 1 27.03 1.97 2.65 0.00 0.00
S14 Bio-RetentionCell 1 36.04 2.62 3.54 0.00 0.00
S14 RainGarden 1 54.06 3.94 5.30 0.00 0.00
S14 GreenRoof 1 18.02 1.31 1.77 0.00 0.00
S14 PermeablePavement 1 45.05 3.28 4.42 0.00 0.00
S15 VegetativeSwale 1 11.77 1.30 2.62 0.00 0.00
S15 Bio-RetentionCell 1 15.70 1.73 3.49 0.00 0.00
S15 RainGarden 1 23.55 2.60 5.23 0.00 0.00
S15 GreenRoof 1 7.85 0.87 1.74 0.00 0.00
S15 PermeablePavement 1 19.62 2.17 4.36 0.00 0.00
S16 VegetativeSwale 1 52.40 2.87 2.77 0.00 0.00
S16 Bio-RetentionCell 1 76.53 3.82 4.05 0.00 0.00
S16 RainGarden 1 114.80 5.74 6.07 0.00 0.00
S16 GreenRoof 1 38.27 1.91 2.02 0.00 0.00
S16 PermeablePavement 1 95.67 4.78 5.06 0.00 0.00
S17 VegetativeSwale 1 11.63 2.03 1.72 0.00 0.00
S17 Bio-RetentionCell 1 24.18 2.70 3.58 0.00 0.00
S17 RainGarden 1 366.27 4.05 54.19 0.00 0.00
S17 GreenRoof 1 19.09 1.35 2.82 0.00 0.00
S17 PermeablePavement 1 47.72 3.38 7.06 0.00 0.00
S18 VegetativeSwale 1 12.03 1.97 1.87 0.00 0.00
S18 Bio-RetentionCell 1 23.04 2.62 3.59 0.00 0.00
S18 RainGarden 1 36.06 3.94 5.62 0.00 0.00
S18 GreenRoof 1 23.02 1.31 3.59 0.00 0.00
S18 PermeablePavement 1 36.05 3.28 5.62 0.00 0.00
S19 VegetativeSwale 1 28.50 2.02 2.96 0.00 0.00
S19 Bio-RetentionCell 1 38.00 2.69 3.95 0.00 0.00
S19 RainGarden 1 57.00 4.04 5.92 0.00 0.00
S19 GreenRoof 1 19.00 1.35 1.97 0.00 0.00
S19 PermeablePavement 1 47.50 3.37 4.93 0.00 0.00
S20 VegetativeSwale 1 13.92 1.41 2.00 0.00 0.00
S20 Bio-RetentionCell 1 18.55 1.88 2.67 0.00 0.00
S20 RainGarden 1 27.83 2.82 4.00 0.00 0.00
S20 GreenRoof 1 9.28 0.94 1.33 0.00 0.00
S20 PermeablePavement 1 23.19 2.35 3.34 0.00 0.00
S21 VegetativeSwale 1 21.76 1.96 2.06 0.00 0.00
S21 Bio-RetentionCell 1 35.68 2.61 3.38 0.00 0.00
S21 RainGarden 1 53.52 3.92 5.07 0.00 0.00
S21 GreenRoof 1 17.84 1.31 1.69 0.00 0.00
S21 PermeablePavement 1 44.60 3.26 4.23 0.00 0.00
S22 VegetativeSwale 1 20.38 2.15 2.18 0.00 0.00
S22 Bio-RetentionCell 1 41.17 2.87 4.41 0.00 0.00
S22 RainGarden 1 62.76 4.31 6.73 0.00 0.00
S22 GreenRoof 1 21.59 1.44 2.31 0.00 0.00
S22 PermeablePavement 1 53.97 3.59 5.78 0.00 0.00
S23 VegetativeSwale 1 31.71 2.13 2.64 0.00 0.00
S23 Bio-RetentionCell 1 42.28 2.84 3.53 0.00 0.00
S23 RainGarden 1 63.42 4.26 5.29 0.00 0.00
S23 GreenRoof 1 21.14 1.42 1.76 0.00 0.00
S23 PermeablePavement 1 52.85 3.55 4.41 0.00 0.00
S24 VegetativeSwale 1 2.41 0.59 0.46 0.00 0.00
S24 Bio-RetentionCell 1 3.21 0.78 0.61 0.00 0.00
S24 RainGarden 1 4.82 1.17 0.92 0.00 0.00
S24 GreenRoof 1 0.00 0.39 0.00 0.00 0.00
S24 PermeablePavement 1 4.01 0.98 0.77 0.00 0.00
S25 VegetativeSwale 1 2.41 0.59 0.43 0.00 0.00
S25 Bio-RetentionCell 1 3.21 0.78 0.58 0.00 0.00
S25 RainGarden 1 4.82 1.17 0.87 0.00 0.00
S25 GreenRoof 1 1.61 0.39 0.29 0.00 0.00
S25 PermeablePavement 1 4.01 0.98 0.72 0.00 0.00
S26 VegetativeSwale 1 39.87 2.39 2.22 0.00 0.00
S26 Bio-RetentionCell 1 53.16 3.19 2.96 0.00 0.00
S26 RainGarden 1 79.74 4.78 4.44 0.00 0.00
S26 GreenRoof 1 26.58 1.59 1.48 0.00 0.00
S26 PermeablePavement 1 66.45 3.98 3.70 0.00 0.00
S27 VegetativeSwale 1 15.65 1.50 3.04 0.00 0.00
S27 Bio-RetentionCell 1 20.87 2.00 4.05 0.00 0.00
S27 RainGarden 1 31.31 3.00 6.07 0.00 0.00
S27 GreenRoof 1 10.44 1.00 2.02 0.00 0.00
S27 PermeablePavement 1 26.09 2.50 5.06 0.00 0.00
S28 VegetativeSwale 1 2.68 0.62 0.68 0.00 0.00
S28 Bio-RetentionCell 1 3.57 0.83 0.91 0.00 0.00
S28 RainGarden 1 5.35 1.24 1.37 0.00 0.00
S28 GreenRoof 1 0.00 0.41 0.00 0.00 0.00
S28 PermeablePavement 1 4.46 1.03 1.14 0.00 0.00
S29 VegetativeSwale 1 2.68 0.62 0.17 0.00 0.00
S29 Bio-RetentionCell 1 3.57 0.83 0.23 0.00 0.00
S29 RainGarden 1 5.35 1.24 0.34 0.00 0.00
S29 GreenRoof 1 1.78 0.41 0.11 0.00 0.00
S29 PermeablePavement 1 4.46 1.03 0.28 0.00 0.00
S30 VegetativeSwale 1 28.66 2.82 2.18 0.00 0.00
S30 Bio-RetentionCell 1 56.21 3.77 4.28 0.00 0.00
S30 RainGarden 1 79.32 5.65 6.04 0.00 0.00
S30 GreenRoof 1 37.11 1.88 2.82 0.00 0.00
S30 PermeablePavement 1 92.77 4.71 7.06 0.00 0.00
S31 VegetativeSwale 1 42.15 2.46 1.78 0.00 0.00
S31 Bio-RetentionCell 1 56.20 3.28 2.37 0.00 0.00
S31 RainGarden 1 84.29 4.92 3.55 0.00 0.00
S31 GreenRoof 1 28.10 1.64 1.18 0.00 0.00
S31 PermeablePavement 1 70.24 4.10 2.96 0.00 0.00
S32 VegetativeSwale 1 40.41 2.41 2.33 0.00 0.00
S32 Bio-RetentionCell 1 53.88 3.21 3.11 0.00 0.00
S32 RainGarden 1 80.82 4.81 4.66 0.00 0.00
S32 GreenRoof 1 26.94 1.60 1.55 0.00 0.00
S32 PermeablePavement 1 67.35 4.01 3.88 0.00 0.00
S33 VegetativeSwale 1 15.41 2.41 4.09 0.00 0.00
S33 Bio-RetentionCell 1 32.88 3.21 8.72 0.00 0.00
S33 RainGarden 1 49.82 4.81 13.21 0.00 0.00
S33 GreenRoof 1 0.00 1.60 0.00 0.00 0.00
S33 PermeablePavement 1 67.35 4.01 17.86 0.00 0.00
S34 VegetativeSwale 1 16.59 1.54 1.84 0.00 0.00
S34 Bio-RetentionCell 1 22.12 2.06 2.45 0.00 0.00
S34 RainGarden 1 33.18 3.08 3.67 0.00 0.00
S34 GreenRoof 1 11.06 1.03 1.22 0.00 0.00
S34 PermeablePavement 1 27.65 2.57 3.06 0.00 0.00
S35 VegetativeSwale 1 29.70 2.06 2.26 0.00 0.00
S35 Bio-RetentionCell 1 39.60 2.75 3.01 0.00 0.00
S35 RainGarden 1 59.41 4.13 4.52 0.00 0.00
S35 GreenRoof 1 19.80 1.38 1.51 0.00 0.00
S35 PermeablePavement 1 49.51 3.44 3.76 0.00 0.00
S36 VegetativeSwale 1 25.82 1.92 2.73 0.00 0.00
S36 Bio-RetentionCell 1 34.43 2.56 3.64 0.00 0.00
S36 RainGarden 1 51.65 3.85 5.46 0.00 0.00
S36 GreenRoof 1 17.22 1.28 1.82 0.00 0.00
S36 PermeablePavement 1 43.04 3.21 4.55 0.00 0.00
S37 VegetativeSwale 1 8.56 1.11 1.47 0.00 0.00
S37 Bio-RetentionCell 1 11.42 1.48 1.97 0.00 0.00
S37 RainGarden 1 17.13 2.22 2.95 0.00 0.00
S37 GreenRoof 1 5.71 0.74 0.98 0.00 0.00
S37 PermeablePavement 1 14.27 1.85 2.46 0.00 0.00
S38 VegetativeSwale 1 8.16 1.97 1.18 0.00 0.00
S38 Bio-RetentionCell 1 18.22 2.63 2.64 0.00 0.00
S38 RainGarden 1 27.32 3.95 3.96 0.00 0.00
S38 GreenRoof 1 18.11 1.32 2.63 0.00 0.00
S38 PermeablePavement 1 45.27 3.29 6.57 0.00 0.00
S39 VegetativeSwale 1 3.61 0.72 0.79 0.00 0.00
S39 Bio-RetentionCell 1 4.82 0.96 1.05 0.00 0.00
S39 RainGarden 1 7.23 1.44 1.58 0.00 0.00
S39 GreenRoof 1 2.41 0.48 0.53 0.00 0.00
S39 PermeablePavement 1 6.02 1.20 1.32 0.00 0.00
S40 VegetativeSwale 1 20.74 1.72 2.67 0.00 0.00
S40 Bio-RetentionCell 1 27.65 2.30 3.57 0.00 0.00
S40 RainGarden 1 41.48 3.45 5.35 0.00 0.00
S40 GreenRoof 1 13.83 1.15 1.78 0.00 0.00
S40 PermeablePavement 1 34.56 2.87 4.46 0.00 0.00
S41 VegetativeSwale 1 9.77 1.18 2.19 0.00 0.00
S41 Bio-RetentionCell 1 13.02 1.58 2.92 0.00 0.00
S41 RainGarden 1 19.53 2.37 4.38 0.00 0.00
S41 GreenRoof 1 6.51 0.79 1.46 0.00 0.00
S41 PermeablePavement 1 16.28 1.97 3.65 0.00 0.00
S42 VegetativeSwale 1 14.04 2.11 1.97 0.00 0.00
S42 Bio-RetentionCell 1 29.39 2.81 4.12 0.00 0.00
S42 RainGarden 1 44.08 4.22 6.18 0.00 0.00
S42 GreenRoof 1 20.69 1.41 2.90 0.00 0.00
S42 PermeablePavement 1 51.74 3.52 7.25 0.00 0.00
S43 VegetativeSwale 1 18.06 1.61 2.50 0.00 0.00
S43 Bio-RetentionCell 1 24.08 2.15 3.34 0.00 0.00
S43 RainGarden 1 36.13 3.22 5.00 0.00 0.00
S43 GreenRoof 1 12.04 1.07 1.67 0.00 0.00
S43 PermeablePavement 1 30.10 2.68 4.17 0.00 0.00
S44 VegetativeSwale 1 29.70 2.06 2.59 0.00 0.00
S44 Bio-RetentionCell 1 39.60 2.75 3.45 0.00 0.00
S44 RainGarden 1 59.41 4.13 5.17 0.00 0.00
S44 GreenRoof 1 19.80 1.38 1.72 0.00 0.00
S44 PermeablePavement 1 49.51 3.44 4.31 0.00 0.00
S45 VegetativeSwale 1 3.61 0.72 0.92 0.00 0.00
S45 Bio-RetentionCell 1 4.82 0.96 1.23 0.00 0.00
S45 RainGarden 1 7.23 1.44 1.84 0.00 0.00
S45 GreenRoof 1 2.41 0.48 0.61 0.00 0.00
S45 PermeablePavement 1 6.02 1.20 1.54 0.00 0.00
S46 VegetativeSwale 1 31.84 3.57 1.34 0.00 0.00
S46 Bio-RetentionCell 1 64.46 4.76 2.71 0.00 0.00
S46 RainGarden 1 97.69 7.14 4.11 0.00 0.00
S46 GreenRoof 1 59.23 2.38 2.49 0.00 0.00
S46 PermeablePavement 1 148.07 5.95 6.23 0.00 0.00
S47 VegetativeSwale 1 21.27 1.75 2.57 0.00 0.00
S47 Bio-RetentionCell 1 28.37 2.33 3.43 0.00 0.00
S47 RainGarden 1 42.55 3.49 5.14 0.00 0.00
S47 GreenRoof 1 14.18 1.16 1.71 0.00 0.00
S47 PermeablePavement 1 35.46 2.91 4.28 0.00 0.00
S48 VegetativeSwale 1 14.05 1.42 2.07 0.00 0.00
S48 Bio-RetentionCell 1 18.73 1.89 2.77 0.00 0.00
S48 RainGarden 1 28.10 2.84 4.15 0.00 0.00
S48 GreenRoof 1 9.37 0.95 1.38 0.00 0.00
S48 PermeablePavement 1 23.41 2.36 3.46 0.00 0.00
S49 VegetativeSwale 1 23.41 1.83 3.67 0.00 0.00
S49 Bio-RetentionCell 1 31.22 2.44 4.90 0.00 0.00
S49 RainGarden 1 46.83 3.66 7.35 0.00 0.00
S49 GreenRoof 1 15.61 1.22 2.45 0.00 0.00
S49 PermeablePavement 1 39.02 3.05 6.12 0.00 0.00
S50 VegetativeSwale 1 15.39 1.48 1.36 0.00 0.00
S50 Bio-RetentionCell 1 20.52 1.98 1.81 0.00 0.00
S50 RainGarden 1 30.77 2.97 2.72 0.00 0.00
S50 GreenRoof 1 10.26 0.99 0.91 0.00 0.00
S50 PermeablePavement 1 25.64 2.47 2.27 0.00 0.00
S51 VegetativeSwale 1 44.56 2.53 3.00 0.00 0.00
S51 Bio-RetentionCell 1 59.41 3.37 4.00 0.00 0.00
S51 RainGarden 1 89.11 5.05 6.00 0.00 0.00
S51 GreenRoof 1 29.70 1.68 2.00 0.00 0.00
S51 PermeablePavement 1 74.26 4.21 5.00 0.00 0.00
If you need other supplementary materials, please feel free to contact. Thanks again
@noneaddress, I think you mentioned that this RPT you shared was from running your model with SWMM without optimization (not pyswmm). Could you share the RPT that was generated from the failed pyswmm run? What I suspect is that when you are picking new parameters, one of the parameters is invalid. Even when a simulation fails and throws error it will save that information to the RPT (and it tells you exactly what the parameter is that is the problem). Does my question make sense?
Describe the bug when simulating a model with pyswmm,
ERROR 185:invalid parameter value for LID %s.
occured. The inp file runs without error inEPA Swmm 5.2 Software
. I also tried to run the file using the dll file in python, and again there was no error. Here is the python code using dll file.To Reproduce
Here is the [LID_CONTROLS] section.
Here is the [LID_USAGE] section.
And each catchment has rainfall input. Expected behavior the inp runs without error. Screenshots
**Desktop (please complete the following information):
Additional context Add any other context about the problem here.