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:

Today is day 356 or 97.5 percent of the year 2024

English: Today is day 356 or 97.5 percent of the year 2024 Mandarin Chinese: 今天是2024年的第356天,即97.5% Hindi: आज 2024 का 356वां दिन या 97.5 प्रत...