![]() |
SLIDE
3.0.0
A simulator for lithium-ion battery pack degradation
|
Functions | |
This file plots SLIDE vs Simulink simOutputs for comparison Plots single cell results Author(s) | subplot (3, 1, 1) |
plot (simOut.tout, simOut.V, 'LineWidth', 1.5) | |
plot (simOut.SLIDE(:, 5), simOut.SLIDE(:, 2),'--', 'LineWidth', 1.5) | |
legend ('MATLAB', 'SLIDE') | |
ylabel ('Terminal voltage[V]') grid on | |
subplot (3, 1, 2) | |
plot (simOut.SLIDE(:, 5), simOut.SLIDE(:, 3),'--', 'LineWidth', 1.5) | |
ylabel ('SOC[%]') | |
subplot (3, 1, 3) | |
plot (simOut.SLIDE(:, 5), simOut.SLIDE(:, 1),'--', 'LineWidth', 1.5) | |
ylabel ('Current[A]') grid on | |
Variables | |
hold | on |
legend | ( | 'MATLAB' | , |
'SLIDE' | |||
) |
plot | ( | simOut. | SLIDE:, 5, |
simOut. | SLIDE:, 1, | ||
'--' | , | ||
'LineWidth' | , | ||
1. | 5 | ||
) |
plot | ( | simOut. | SLIDE:, 5, |
simOut. | SLIDE:, 2, | ||
'--' | , | ||
'LineWidth' | , | ||
1. | 5 | ||
) |
plot | ( | simOut. | SLIDE:, 5, |
simOut. | SLIDE:, 3, | ||
'--' | , | ||
'LineWidth' | , | ||
1. | 5 | ||
) |
plot | ( | simOut. | tout, |
simOut. | V, | ||
'LineWidth' | , | ||
1. | 5 | ||
) |
This file plots SLIDE vs Simulink simOutputs for comparison Plots single cell results Author(s) subplot | ( | 3 | , |
1 | , | ||
1 | |||
) |
subplot | ( | 3 | , |
1 | , | ||
2 | |||
) |
subplot | ( | 3 | , |
1 | , | ||
3 | |||
) |
ylabel | ( | 'Current' | [A] | ) |
ylabel | ( | 'SOC' | [%] | ) |
ylabel | ( | 'Terminal voltage' | [V] | ) |
hold on |