Sunday, May 7, 2023

Deep Dive into InfoSewer R, R1, R2 or R1, R2, R3 for modeling RDII

This code snippet converts the values of two arrays, triangleVolume and timeToPeak, to different units. First, it calculates the third

element of triangleVolume (R3) by subtracting the sum of the first two elements (R1 and R2) from 100, ensuring the result is non-negative. Then, the code iterates through each element in both arrays: it divides each triangleVolume element (R1, R2, and R3) by 100 to convert the values from percentages to fractions, and multiplies each timeToPeak element by 3600 to convert the values from hours to seconds. 

Or R3  = __max(0.0, (100 -R1 - R2)




No comments:

The Goal of SWMM5 Input Files

 ðŸŒŸ SWMM5 (Storm Water Management Model 5) is a widely used urban hydrology and hydraulic modeling software developed by the United States E...