Enhancing ICM InfoWorks & SWMM 1D Output: Elegant Ruby Scripts for Statistical Table Generation

Introduction

The Ruby code for ICM SWMM and ICM InfoWorks statistics for nodes, links and subcatchments are located on the Innovyze GitHub and are contained in folders 41 to 45. There are two types of RB files, hw for hydroworks and sw for SWMM. Each folder has an explanatory markdown readme file as well.

The Ruby code for ICM SWMM and ICM InfoWorks are located on the Innovyze GitHub and are contained in folders 41 to 45.

Ruby for ICM SWMM

The top code box is the readme file for the code and the second code box is the Ruby Code, It will list all of the time steps saved for the ICM SWMM Results as shown in the following image.

Ruby Script Output for all Manhole Output Variables in ICM SWMM


Ruby for ICM InfoWorks

The top code box code box is the Ruby Code, It will list all of the time steps saved for the ICM InfoWorks Results as shown in the following image. If you compare ICM SWMM to ICM you will see many more result fields for ICM InfoWorks,


aa

aa

aa

aa

aa

aa

aa

aa

aa

First published on LinkedIn on September 12, 2023. Read the original article on LinkedIn.

Translate ยป
Scroll to Top