Problem 1: ME 565: Battery Systems and Control, University of Michigan, Winter 2018
Problem 1: ME 565: Battery Systems and Control, University of Michigan, Winter 2018
Problem 1: ME 565: Battery Systems and Control, University of Michigan, Winter 2018
HW #5 Solutions
Problem 1
(a) The plot:
2.5
1.5
Current density, i [A/m2]
0.5
−0.5
−1
−1.5
−2
−2.5
−0.5 0 0.5
Overpotential, η [V]
Figure 1: Overpotential
0.1
Electrode SOC
0.05
0
0 500 1000 1500 2000 2500
Current density, i [A/m2]Overpotential, η [V]
0.5
0.45
0.4
0.35
−1
10
−2
10
0 500 1000 1500 2000 2500
Time, t [sec]
(c)
(1 − α)F η −αF η
i = f (η) = i0 exp − exp (1.1)
RT RT
(1 − α)F (1 − α)F η −αF −αF η
σ = i0 exp − exp (1.2)
RT RT RT RT
η=η0
σ = 2.276 (1.3)
1
= 0.434 (1.4)
σ
A solution that is purely a) numerical (perturbation to the left and right by 1% to get the approximate
derivative) or b) graphical is also good as an answer
Electrode SOC
0.1
Nonlinear
Linearized
0.05
0
0 500 1000 1500 2000 2500
−1
10
−2
10
0 500 1000 1500 2000 2500
Time, t [sec]
Problem 2
(a) (i)
−2 1 0 0 0 ... 0
1 −2 1 0 0 ... 0 0
0 1 −2 1 0 ... 0 0
D 0 0 1 −2 1 . . . 0
D ..
A= , B=
.
, C = I40×40 , D = [0]40×1
(δx)2 . δx
.. .. .. .. .. .. ..
. . . . . .
0
0 ... 0 0 1 −2 1 1 40×1
0 ... 0 0 0 1 −1 40×40
(2.8)
(ii)
%% Homework #5 Diffusion Skeleton File
clear
close a l l
clc
5 %% Parameters
D = 2.4;%.24 % Diffusion coefficient
N = 161;% 41 % Number of spatial discretization segments
delta_x =1/( N -1); % Spatial step size
alpha = D / delta_x ^2;
10
f p r i n t f (1 , ’ - - - - - - - - - - - - - - - - - - - - - - - - -\ n ’ );
f p r i n t f (1 , ’D = %2.1 f | N = %3.0 f \ n ’ ,D , N );
sys = s s (A ,B ,C , D );
% Time Span
40 t = 0:0.02:5; % SELECT A FINAL SIMULATION TIME
NT = length ( t );
50
60
0.5
0.45
0.4
0.35
0.3
C avg
0.25
0.2
0.15
0.1
0.05
C avg <= 0.01
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
time [s]
(c) It can be noticed that the system reaches to the equilibrium faster as diffusion coefficient D increases. As
you have learned in the class, the response of the system is dominated by the slowest pole. The equation
of settling time for the second order system can be used to see this trend : ts = σ4d where σs is the absolute
value of the negative real part of the slowest pole.
(d) It is observed that as the number of discretizations increases, the system starts to take longer to reach
equilibrium. This should not lead one to conclude that it is better to consider fewer discretizations; on the
contrary, it serves as an indicator of the number of discretizations required for adequate fidelity. Since the
equations for the approximation of partial derivatives are used to convert a PDE to ODEs, the system’s
dynamics can be more accurately emulated with a larger number of discretization.