Deltares / Ribasim

Water resources modeling
https://ribasim.org/
MIT License
40 stars 5 forks source link

Integrate flows with parallel ODE problem #1460

Open SouthEndMusic opened 5 months ago

SouthEndMusic commented 5 months 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 5 months ago

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