Fluid transient analysis by the method of characteristics using an object-oriented simulation tool

This paper presents the development of an efficient, interactive and fully extendable computer code to analyse hydraulic transients – water hammer – using a generic object-oriented modelling and simulation (OOMS) tool to simplify and shorten the development process. OOMS tools provide continuous sim...

Full description

Bibliographic Details
Main Authors: Ramón Pérez, Sebastián Dormido
Format: Article
Language:English
Published: IWA Publishing 2022-11-01
Series:Journal of Hydroinformatics
Subjects:
Online Access:http://jhydro.iwaponline.com/content/24/6/1234
_version_ 1811212568334696448
author Ramón Pérez
Sebastián Dormido
author_facet Ramón Pérez
Sebastián Dormido
author_sort Ramón Pérez
collection DOAJ
description This paper presents the development of an efficient, interactive and fully extendable computer code to analyse hydraulic transients – water hammer – using a generic object-oriented modelling and simulation (OOMS) tool to simplify and shorten the development process. OOMS tools provide continuous simulation features by means of ordinary differential equation (ODE) and differential algebraic equation (DAE) solvers, and discrete simulation features by means of event handling algorithms. Previous OOMS tool applications to simulate fluid flow in pipe networks primarily used semi-discrete methods with continuous solvers. A novel aspect of this work is the application of the method of characteristics (MOC) using the discrete simulation features of the OOMS tool. When compared to a code developed with an OOMS tool using a semi-discrete method and to commercial software that uses the MOC, the new code shows much higher accuracy and performance than the former and is similar to the latter in accuracy and calculation time. It has a graphical user interface, and its modularity makes it easily extendable with new components and algorithms. An academic version is available on github. HIGHLIGHTS Physical modeling languages (PMLs), such as Modelica and EcosimPro, shorten the development of simulation software.; PMLs rely on generic solvers, which are not efficient for specific problems (e.g. hydraulic transients).; The purpose of the research is to enable the implementation of ad hoc solvers using PMLs.; Results show the feasibility of the new approach and its applicability to hydraulic transients;
first_indexed 2024-04-12T05:31:14Z
format Article
id doaj.art-64329a84995b4cbc9b494d2c8620a61d
institution Directory Open Access Journal
issn 1464-7141
1465-1734
language English
last_indexed 2024-04-12T05:31:14Z
publishDate 2022-11-01
publisher IWA Publishing
record_format Article
series Journal of Hydroinformatics
spelling doaj.art-64329a84995b4cbc9b494d2c8620a61d2022-12-22T03:46:03ZengIWA PublishingJournal of Hydroinformatics1464-71411465-17342022-11-012461234125310.2166/hydro.2022.067067Fluid transient analysis by the method of characteristics using an object-oriented simulation toolRamón Pérez0Sebastián Dormido1 Departamento de Informática y Automática, National Distance Education University, Madrid, Spain Departamento de Informática y Automática, National Distance Education University, Madrid, Spain This paper presents the development of an efficient, interactive and fully extendable computer code to analyse hydraulic transients – water hammer – using a generic object-oriented modelling and simulation (OOMS) tool to simplify and shorten the development process. OOMS tools provide continuous simulation features by means of ordinary differential equation (ODE) and differential algebraic equation (DAE) solvers, and discrete simulation features by means of event handling algorithms. Previous OOMS tool applications to simulate fluid flow in pipe networks primarily used semi-discrete methods with continuous solvers. A novel aspect of this work is the application of the method of characteristics (MOC) using the discrete simulation features of the OOMS tool. When compared to a code developed with an OOMS tool using a semi-discrete method and to commercial software that uses the MOC, the new code shows much higher accuracy and performance than the former and is similar to the latter in accuracy and calculation time. It has a graphical user interface, and its modularity makes it easily extendable with new components and algorithms. An academic version is available on github. HIGHLIGHTS Physical modeling languages (PMLs), such as Modelica and EcosimPro, shorten the development of simulation software.; PMLs rely on generic solvers, which are not efficient for specific problems (e.g. hydraulic transients).; The purpose of the research is to enable the implementation of ad hoc solvers using PMLs.; Results show the feasibility of the new approach and its applicability to hydraulic transients;http://jhydro.iwaponline.com/content/24/6/1234ecosimprohydraulic transientsmethod of characteristicsmodelicaobject-oriented modelling and simulationwater hammer
spellingShingle Ramón Pérez
Sebastián Dormido
Fluid transient analysis by the method of characteristics using an object-oriented simulation tool
Journal of Hydroinformatics
ecosimpro
hydraulic transients
method of characteristics
modelica
object-oriented modelling and simulation
water hammer
title Fluid transient analysis by the method of characteristics using an object-oriented simulation tool
title_full Fluid transient analysis by the method of characteristics using an object-oriented simulation tool
title_fullStr Fluid transient analysis by the method of characteristics using an object-oriented simulation tool
title_full_unstemmed Fluid transient analysis by the method of characteristics using an object-oriented simulation tool
title_short Fluid transient analysis by the method of characteristics using an object-oriented simulation tool
title_sort fluid transient analysis by the method of characteristics using an object oriented simulation tool
topic ecosimpro
hydraulic transients
method of characteristics
modelica
object-oriented modelling and simulation
water hammer
url http://jhydro.iwaponline.com/content/24/6/1234
work_keys_str_mv AT ramonperez fluidtransientanalysisbythemethodofcharacteristicsusinganobjectorientedsimulationtool
AT sebastiandormido fluidtransientanalysisbythemethodofcharacteristicsusinganobjectorientedsimulationtool