Ruby to see Statistics of all Items in both ICM InfoWorks and SWMM Networks for Links, Nodes and Subcatchments
Ruby for Stats of all Items in both ICM InfoWorks and SWMM Networks for Subcatchments

Ruby to see Statistics of all Items in both ICM InfoWorks and SWMM Networks for Links, Nodes and Subcatchments

Welcome to the 15th edition of our newsletter. In this issue, we're diving deep into the global application of Ruby for comparing stormwater management models. Highlights include:

  • A comparison of SWMM (Storm Water Management Model) and InfoWorks as current and background networks on the ICM GeoPlan.
  • Guidance on how to read output files from both models, focusing on link, node, and subcatchment statistics for a straightforward analysis.
  • An exploration of reading comprehensive data across both your SWMM and InfoWorks networks, ensuring no detail is overlooked.
  • The introduction of additional 1D results points to a link in InfoWorks, using Ruby to shed light on the differences between the St. Venant solutions employed by SWMM5 and InfoWorks. InfoWorks has at least 5 points, and SWMM5 has one computational point for flow.

1/ How to use SWMM as a Background Network and Compare it to the Current Network using Ruby
2/ How to use Ruby to Find the Mean, Max and Min of everything in your Network


3/ How to Read an InfoWorks Results file to find Link Stats and Select the highest Mean Flows
4/ How to use Ruby to Add 1D Results Points in Selected Links
5/ Using Ruby to make User defined Polygon shapes for Subcatchments
6/ Why ICM is an Integrated Catchment Model


Closing Note: Thank you so much for journeying with me through this content. This space is reserved for future updates and insights. Your engagement and time are truly appreciated. Until next time! You can also see my past articles on LinkedIn (91 in 2023). The next goal is 133 or 17*19, in FY2025 (which is calendar year 2024 and the start of 2025 in Autodesk terms).

The articles form the backbone of the newsletter. Seven articles make up One Newsletter edition. There will be a summary edition once 19 editions are published, or approximately every 133 articles. The far reaching goal is 1729 articles, 247 editions, and 20 summary editions.

Why 1729: The number 1729 has 8 factors, which are 1, 7, 13, 19, 91, 133, 247, and 1729 itself. A bit of history about 1729: It's famously known as the Hardy-Ramanujan number after a story involving two great mathematicians, G.H. Hardy and Srinivasa Ramanujan. According to the anecdote, Hardy visited Ramanujan in the hospital and mentioned that he arrived in a taxi numbered 1729, which he found to be a rather uninteresting number. Ramanujan immediately responded that 1729 is actually very interesting because it is the smallest number expressible as the sum of two cubes in two different ways: 1729=1^3+12^3=9^3+10^3. This property makes 1729 a significant figure in the world of mathematics, showcasing Ramanujan's extraordinary intuitive grasp of numbers.

要查看或添加评论,请登录

Robert Dickinson的更多文章

社区洞察

其他会员也浏览了