Subcatchment Runoff

Young Ho Kwon·2025년 4월 2일

SWMM

목록 보기
5/6

🔍 Summary of the Difference

Itemsubcatchment.statistics.get("runoff")subcatchment.runoff
MeaningCumulative runoff statistics over the entire simulation periodInstantaneous runoff at the current time step
UnitsUsually total volume (m³ or ft³)Instantaneous flow rate (e.g., CMS, CFS)
When to UseAfter simulation endsDuring simulation step-by-step
PurposeSummary/analysis (e.g., compare total runoff)Real-time control/logging (e.g., LID response monitoring)

🔹 subcatchment.statistics.get("runoff")

  • subcatchment.statistics is available after the simulation finishes.
  • .get("runoff") returns the total volume of runoff generated from the subcatchment.

🧾 Example:

print(subcatchment.statistics.get("runoff"))  # 12345.67 (m³)

📌 Tip: .get() can also take keys like "infiltration", "evaporation", "precipitation", etc.


🔹 subcatchment.runoff

  • This provides the instantaneous runoff rate during a simulation step.
  • The unit depends on the model's unit system (e.g., CMS or CFS).

🧾 Example:

for step in sim:
    print(subcatchment.runoff)  # 0.015 (cms)

💡 Real-Life Analogy

ItemAnalogy
subcatchment.runoffThe flow of water coming out at this very moment (e.g., L/sec)
subcatchment.statistics.get("runoff")The total amount of water that came out after the rain event ends

🎯 Summary Code Example

# Instantaneous runoff (during simulation)
print("runoff: ", subcatchment.runoff)

# Cumulative runoff (after simulation ends)
print("statistics_runoff: ", subcatchment.statistics.get("runoff"))

0개의 댓글