pybamm-team / pybamm-eis

https://pybamm-eis.readthedocs.io/
MIT License
11 stars 2 forks source link

Update compare_methods.py #17

Closed noelhallemans closed 1 month ago

noelhallemans commented 2 months ago

Avoiding spectral leakage in time domain simulation by simulating an integer number of periods.

Ensuring linearity of the time domain simulation by keeping the amplitude low.

Set the solver's absolute tolerance lower to simulate small currents.

The time and frequency domain impedance simulations overlap nicely now! (Only the bicgstab method behaves poorly)