Treffer: COSMOS – A framework for containerised, distributed execution and analysis of hydraulic water distribution system models

Title:
COSMOS – A framework for containerised, distributed execution and analysis of hydraulic water distribution system models
Contributors:
Austrian Federal Ministry of Agriculture, Regions and Tourism
Publisher Information:
Editorial Universitat Politècnica de València
Publication Year:
2024
Collection:
Universitat Politécnica de Valencia: RiuNet / Politechnical University of Valencia
Document Type:
Buch book part<br />conference object
File Description:
application/pdf
Language:
English
ISBN:
978-84-9048-982-6
84-9048-982-3
Relation:
2nd International Join Conference on Water Distribution System Analysis (WDSA) & Computing and Control in the Water Industry (CCWI); 2nd WDSA/CCWI Joint Conference; Julio 18-22, 2022; Valencia, España; http://ocs.editorial.upv.es/index.php/WDSA-CCWI/WDSA-CCWI2022/paper/view/14074; urn:isbn:9788490489826; https://riunet.upv.es/handle/10251/205960
DOI:
10.4995/WDSA-CCWI2022.2022.14074
Rights:
http://creativecommons.org/licenses/by-nc-sa/4.0/ ; info:eu-repo/semantics/openAccess
Accession Number:
edsbas.4AAAF61B
Database:
BASE

Weitere Informationen

[EN] Many scientific problems related to water distribution systems like optimization problems or sensitivity analysis require the creation and execution of a large number of hydraulic models. To reduce computation times, different approaches have been used in the past, often by employing multiple CPU cores to solve the hydraulic equations of a single model or to simulate multiple models in parallel on a single computer. However, these approaches often cannot make use of distributed computing. Furthermore, using these approaches in applications with a (web-based) graphical user interface (GUI) often requires the development of tailored software solutions and application programming interfaces (API) to link GUI and model execution backend.To tackle these issues, we propose COSMOS (Containerised Model Simulator), a highly scalable Python-based framework which allows for the modification of hydraulic models using OOPNET, an API between Python and the hydraulic solver of the modelling software EPANET and can run model simulations. Simulation results can be then further analysed while all these tasks run encapsulated in containers in a cluster. It also allows to easily link the described functionality with other applications by providing a REST API.A standard-based OpenAPI allows for passing hydraulic models and running scientific workflows via HTTP and generating clients based on the provided OpenAPI schemas, which simplifies the creation of web-based user interfaces. Python was chosen because of its growing spread in the scientific community, the availability of data processing and optimization packages and its high code readability.Prefect, a data workflow orchestration framework, is employed to create workflows, starting with the transformation of hydraulic models into JSON representations for further use in web applications. The models can then be executed and simulated distributed over the available CPU cores (locally or in a cluster). Further tasks for doing analysis in the cluster can be easily added if ...