Open fabern opened 2 years ago
For the moment we still use Tsit5(). But use an increased tolerance to get the Hammel test cases passing. This change was done in commit https://github.com/fabern/LWFBrook90.jl/pull/43/commits/ef98b98d3521ca9a098629625de5cd7d65da7eee
Note that when moving to
ComponentArrays.jl
the testcase Hammel Loam NLAYER=103 showed oscillations with the previous solver method ofTsit5()
. This lead to failure of the test.Selecting an alternative solver method for stiff problems such as
ImplicitEuler(autodiff=false)
,Rodas4P(autodiff=false)
, orRosenbrock23(autodiff=false);
seem to be much more efficient and result in better accuracy. Below code was used to to identify the issue.