Abstract

This paper presents the development and performance testing of the parallelization scheme for executing water distribution system analysis solvers. Using multi-thread computing techniques, hydraulic and water quality simulations are parallelized in two separate threads. One thread noted as H-thread is assigned to perform hydraulic simulation while the other thread noted as Qthread is to undertake water quality analysis. Q-thread proceeds once H-thread completes the hydraulic simulation for one time step. In order to ensure that Q-thread consumes the correct hydraulic results for water quality analysis, both threads are synchronized such that H-thread is always ahead of Q-thread over the simulation period. The hydraulic simulation results within a dynamic time window are stored in memory, instead of writing to a temporary file, thus the parallelization scheme further streamlines the water quality analysis by eliminating the retrieve of the hydraulic results from the temporary file. The implemented parallel simulation solvers have been tested on a number of large water distribution models, the results show that consistent speedup has been achieved.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.