Deltares / Ribasim

Water resources modeling
https://deltares.github.io/Ribasim/
MIT License
36 stars 5 forks source link

Integrate flows with parallel ODE problem #1460

Open SouthEndMusic opened 1 month ago

SouthEndMusic commented 1 month ago

This is an idea that came up after observing that https://github.com/Deltares/Ribasim/issues/1431 is very bad for performance, see also https://github.com/Deltares/Ribasim/pull/1444#issuecomment-2107871589. So my thought was:

What if set up a parallel ODE problem next to the main one, where the du is given by the flows that come from the main solver? For performance and lack of information at intermediate timesteps it should use a relatively simple explicit algorithm. I would like to hear your thoughts on this regarding code complexity etc.

visr commented 1 month ago

This can probably be closed if #1468 works out well.