Susantha Dissanayake
Department of Electrical Engineering, IT, and Cybernetics, University College of Southeast Norway, Porsgrunn, Norway
Roshan Sharma
Department of Electrical Engineering, IT, and Cybernetics, University College of Southeast Norway, Porsgrunn, Norway
Bernt Lie
Department of Electrical Engineering, IT, and Cybernetics, University College of Southeast Norway, Porsgrunn, Norway
Ladda ner artikelhttp://dx.doi.org/10.3384/ecp17142161Ingår i: Proceedings of The 9th EUROSIM Congress on Modelling and Simulation, EUROSIM 2016, The 57th SIMS Conference on Simulation and Modelling SIMS 2016
Linköping Electronic Conference Proceedings 142:23, s. 161-167
Publicerad: 2018-12-19
ISBN: 978-91-7685-399-3
ISSN: 1650-3686 (tryckt), 1650-3740 (online)
The Saint-Venant equation is a mathematical model which could be used to study water ?ow in an open channel, river, etc. The Kurganov-Petrova (KP) method, which is a second-order scheme, is used to solve the Saint-Venant equations with good stability. The water ?ow of a river between two hydropower stations in Norway has been simulated in this study using MATLAB and OpenModelica. The KP scheme has been used to discretize the Saint-Venant equations in the spatial domain, yielding a collection of Ordinary Differential Equations (ODEs). These are then integrated with time using the variable step-length solvers in MATLAB: ode23t, ode23s, ode45, and ?xed step-length solvers: The Euler method, the second and fourth order Runge Kutta method (RK2 and RK4). In OpenModelica built-in, variable step-length DASSL solver has been used. From the simulation, it was observed that all solvers produce more or less similar results. Volumetric ?owrate calculation indicated numerical oscillation with variable step-length solvers in MATLAB. The results indicated that it is reasonable to match the order of space and time discretization.
Inga referenser tillgängliga