PyBaMM icon indicating copy to clipboard operation
PyBaMM copied to clipboard

Quickplot with discharge capacity as x axis

Open rtimms opened this issue 3 years ago • 5 comments

It would be nice if you could make a QuickPlot with discharge capacity as the x-axis instead of time. This would make it easier to compare solutions where the C-rate is different, for example.

rtimms avatar Oct 19 '21 08:10 rtimms

@rtimms Sorry for the silly question but can you please mention the file name in which the changes need to be done

soma2000-lang avatar Mar 12 '22 11:03 soma2000-lang

In QuickPlot here. At the moment you can choose a time unit (hours, minutes, seconds). It would be good to instead of plotting vs time have the option to plot as a function of the variable “Discharge capacity [A.h]”.

rtimms avatar Mar 12 '22 12:03 rtimms

Ok

soma2000-lang avatar Mar 12 '22 13:03 soma2000-lang

I started working on this issue last year but couldn't complete it. I have pushed the local branch on my fork, it might help - https://github.com/Saransh-cpp/PyBaMM/blob/issue-1751-discharge-capacity-as-x-axis/pybamm/plotting/quick_plot.py

Saransh-cpp avatar Mar 15 '22 06:03 Saransh-cpp

Is anyone working on this currently? I'll be happy to give it a go if not. First time contributor here.

casualPhysics avatar Apr 22 '24 20:04 casualPhysics