Wflow.jl icon indicating copy to clipboard operation
Wflow.jl copied to clipboard

`stable_timestep(aquifer)` can give large negative `dt` value

Open verseve opened this issue 8 months ago • 0 comments

Wflow version checks

  • [X] I have checked that this issue has not already been reported.

  • [X] I have checked that this bug exists on the latest version of Wflow.

Reproducible Example

The output of stable_timestep(aquifer) can get negative (large value), starting with a cold state.

Current behaviour

The wflow model type sbm_gwf gives the following warning:

┌ Warning: stable time step dt -839465.3444686249 for groundwater flow is smaller than sbm dt 1.0

Desired behaviour

dt for groundwater flow should always be a positive value.

Additional Context

No response

verseve avatar Jun 05 '24 10:06 verseve