Open charlesrocabert opened 3 months ago
The method model.set_f() is essential to set the $f$ vector before calculating the model state: It should come just after you calculate the new next_f!
model.set_f()
next_f
next_f = next_f + model.GCC_f[1:] *dt model.set_f(next_f) model.calculate()
Do I have to setf everytime? I am just setting it when my model is consistent with the next_f. Ok I got it now thank you !
I think there are two problems with your $dt$ update:
The method
model.set_f()
is essential to set the $f$ vector before calculating the model state: It should come just after you calculate the newnext_f
!