breos.plotting.plot_validation_soh_comparison#
- breos.plotting.plot_validation_soh_comparison(measured_soh, predicted_soh, results_directory, x_label='Time', metrics=None)[source]#
Plot measured vs predicted SOH for degradation model validation.
Measured data is shown as scatter points, predicted as a line. Optionally annotates RMSE on the plot.
- Parameters:
measured_soh (
Series) – Series indexed by x-axis values (cycles, days, etc.) with measured SOHpredicted_soh (
Series) – Series indexed by same x-axis values with predicted SOHresults_directory (
str) – Directory to save plotx_label (
str) – Label for x-axismetrics (
Optional[dict]) – Optional dict with ‘RMSE’, ‘MAE’, etc. to annotate
- Return type: