comsol multiphysics® modeling software - battery …...comsol conference europe 2012 m....

25
Battery Pack Temperature Distribution Simulation with COMSOL and MATLAB® 24.10.2012 [email protected] 1 Electrochemical Energy Conversion and Storage Systems Group, Institute for Power Electronics and Electrical Drives (ISEA), RWTH Aachen University, Germany 2 Juelich Aachen Research Alliance, JARA-Energy, Germany 3 Institute for Power Generation and Storage Systems (PGS), E.ON ERC, RWTH Aachen University, Germany 4 National Metal and Materials Technology Center (MTEC), National Science and Technology Development Agency (NSTDA), Thailand COMSOL CONFERENCE EUROPE 2012 M. Masomtob 1,2,4 , C. Schaeper 1,2 , W. Zhou 1 and D. U. Sauer 1,2,3 Excerpt from the Proceedings of the 2012 COMSOL Conference in Milan

Upload: others

Post on 12-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Battery Pack Temperature Distribution Simulation with COMSOL and MATLAB®

24.10.2012

[email protected]

1 Electrochemical Energy Conversion and Storage Systems Group, Institute for

Power Electronics and Electrical Drives (ISEA), RWTH Aachen University, Germany 2 Juelich Aachen Research Alliance, JARA-Energy, Germany 3 Institute for Power Generation and Storage Systems (PGS), E.ON ERC, RWTH

Aachen University, Germany 4 National Metal and Materials Technology Center (MTEC), National Science and

Technology Development Agency (NSTDA), Thailand

COMSOL CONFERENCE EUROPE 2012

M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3

Excerpt from the Proceedings of the 2012 COMSOL Conference in Milan

Page 2: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Why COMSOL and MATLAB®

24.10.2012 2 Manop Masomtob

Objective of this Work

Combination between COMSOL and MATLAB® for

a liquid cooling system of a battery pack

COMSOL MATLAB

3D CAD import

FEM and CFD

Monitoring

Large System

Integration

Page 3: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Electric Car

24.10.2012 3 Manop Masomtob

Electric Car

Page 4: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Battery Pack

24.10.2012 4 Manop Masomtob

z y

x

26 Battery Cells

Battery Pack

80 Battery Modules

Inlet Outlet

Page 5: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Diagram of the Cooling System

24.10.2012 5 Manop Masomtob

SIDE A

SIDE B

First Floor

Second Floor Third Floor

Fourth Floor

Inlet Outlet

Page 6: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Simplifying the Cooling System

24.10.2012 6 Manop Masomtob

SIDE A

SIDE B

First Floor

Second Floor Third Floor

Fourth Floor

Inlet Outlet

Flow rate in each

channel, 12.5 %

1 st

BM 2 nd

BM

9 th

BM

3 r d

BM

10 th

BM

Coolant inlet

T=constant

T = f(t)

Series Cooling Coolant outlet

Page 7: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Simulation problem

24.10.2012 7 Manop Masomtob

Heat generation in each battery module depends on electric load.

T = constant value T = f(t) T = f(t)

1 st BM 2

nd BM

9 th BM

3 r d BM

10 th BM

Coolant inlet

T=constant

T = f(t)

Series Cooling Coolant outlet

Q= f(t)

Page 8: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Techniques for Simulation

24.10.2012 8 Manop Masomtob

10 Battery

Modules in

COMSOL Only

One Battery Module at a time

COMSOL Only COMSOL with

MATLAB

Time of mesh

Generation - Medium Medium

Data

Management Not Required Medium Automatic

Computer

Performance High Medium Low

Total runtime - Normal Faster

Page 9: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Soildworks ® – 3D CAD Making

24.10.2012 9 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

Parasolid.file

Simpify

Page 10: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

COMSOL – Setting

24.10.2012 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

□ Material Property

□ Boundary Condition

□ Mesh Generation

□ Heat Conjugate Module

□ Laminar Flow

□ Transient Study

Parasolid.file

Running

m.file

10

To test model in COMSOL

Page 11: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – m. file of Battery Module modify

24.10.2012 11 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

Manual Modification

□ So that the m. file from COMSOL can

exchange parameters between m.files.

- Normal Values

- Values in form of txt.file, in case the

values as a function of time

m.file from COMSOL

Modify

Page 12: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – m. file of Battery Module modify

24.10.2012 12 Manop Masomtob

model.func.create('int1', 'Interpolation');

model.func('int1').model('mod1');

model.func('int1').set('source', 'file');

model.func('int1').set('filename', 'D:\running model\Version1\Heat_Loss.txt');

model.func('int1').setIndex('funcs', 'Heat', 0, 0);

model.func('int1').importData;

How to import txt.file?

model.physics('nitf').feature('hs1').set('Ptot', 1, 'Heat(t)');

How to use txt.file?

0 80

0.1 80

: :

: :

1200 2.5

Heat_Loss.txt

Time (s) Heat Generation(w)

How to use normal parameter (Constant Value)?

model.physics('nitf').feature('inl1').set('U0in', 1, 'Flow/Area');

Page 13: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – m. file of Battery Module modify

24.10.2012 13 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

Manual Modification

□ So that the m. file from COMSOL can

exchange parameters between m.files.

- Normal Values

- Values in form of txt.file, in case the

values as a function of time

m.file from COMSOL

m. file of Battery Module

Modify

Page 14: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – m. file of Battery Module modify

24.10.2012 14 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

**One m.file for all Battery Modules**

m. file of Battery Module

Page 15: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – m. file for running management

24.10.2012 15 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

Functions

□ Start running each m.file of Battery

Module in serial

□ Set parameters both txt.file and

normal values

□ Collect and save the results to txt.file

□ Calibrate the results of previous

battery module before setting the inputs

of next battery module

□ Show runtime of each m.file of Battery

Module

Page 16: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – Running Process BM-1

24.10.2012 16 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = Ti T = f(t)

Input of First battery module

□ Inlet temperature is constant, 298 K.

□ Flow rate of coolant is 1 L/min

□ Heat generation as function of

time(txt.file).

Page 17: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – Running Process BM-1

24.10.2012 17 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = Ti T = f(t)

0

10

20

30

40

50

60

70

80

292

293

294

295

296

297

298

299

0 100 200 300 400 500 600 700 800 900 1000 1100 1200

Hea

t G

erner

atio

n p

er B

atte

ry M

odule

(W

)

Tem

per

ature

(K

)

Running Time (s)

Flow Rate 1L/min

T_Inlet_BM1 Q_Generation

Input

Page 18: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – Running Process BM-1

24.10.2012 18 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = Ti T = f(t)

Output of First battery module

□ Outlet temperature depends on heat

generation of BM-1(txt.file)

□ Temperatures of each battery cells (txt.file)

Runtime ranges between 34 to 37 hours.

Page 19: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – Finished Process BM-1

24.10.2012 19 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = Ti T = f(t)

0

10

20

30

40

50

60

70

80

292

293

294

295

296

297

298

299

0 100 200 300 400 500 600 700 800 900 1000 1100 1200

Hea

t G

ern

erat

ion

per

Bat

tery

Mo

du

le (

W)

Tem

per

atu

re (

K)

Running Time (s)

Flow Rate 1L/min

T_Inlet_BM1 T_Outlet_BM1 Q_Generation

Output

Page 20: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – Running Process BM-2

24.10.2012 20 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = Ti T = f(t)

Input of Second battery module

□ Inlet temperature is outlet temperature of

first battery module (txt.file).

□ Flow rate remains constant at 1 L/min

□ Heat generation as a function of time

(txt.file).

Output of Second battery module

□ Outlet temperature depends on heat

generation of BM-1 and BM-2 (txt.file)

□ Temperatures of each battery cell (txt.file)

Page 21: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – Finished Process BM-1

24.10.2012 21 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = Ti T = f(t)

0

10

20

30

40

50

60

70

80

292

293

294

295

296

297

298

299

0 100 200 300 400 500 600 700 800 900 1000 1100 1200

Hea

t G

ern

erat

ion

per

Bat

tery

Mo

du

le (

W)

Tem

per

atu

re (

K)

Running Time (s)

Flow Rate 1L/min

T_Inlet_BM1 T_Outlet_BM1 T_Outlet_BM2 Q_Generation

Page 22: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

MATLAB ® – Finished Process 10 BMs

24.10.2012 22 Manop Masomtob

3D CAD from

Solidworks®

COMSOL V4.2

Heat Conjugate

Module

m.file of 1st

Battery Module

m.file for

Running

Management

m.file of 2nd

Battery Module

m.file of 10th

Battery module

Input & Output

txt. file

Input & Output

txt. file

Input & Output

txt. file

Output

txt. file

m. file MATLAB® Modify

T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = f(t) T = Ti T = f(t)

0

10

20

30

40

50

60

70

80

292

293

294

295

296

297

298

299

0 100 200 300 400 500 600 700 800 900 1000 1100 1200

Hea

t G

erner

atio

n p

er B

atte

ry M

odule

(W

)

Tem

per

ature

(K

)

Running Time (s)

Flow Rate 1L/min

T_Inlet_BM1 T_Outlet_BM1 T_Outlet_BM2 T_Outlet_BM3

T_Outlet_BM4 T_Outlet_BM5 T_Outlet_BM6 T_Outlet_BM7

T_Outlet_BM8 T_Outlet_BM9 T_Outlet_BM10 Q_Generation

Page 23: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Conclusions

24.10.2012 23 Manop Masomtob

□ The m.file of the Battery Modules from COMSOL is able to run

with the m.file for Running Management to investigate the

temperature distribution of the cooling system in the battery pack

□ Running time of each battery module in COMSOL with MATLAB

is faster than running time in COMSOL, 2 times ( Intel(R) Core

(TM) i7 CPU 930 @ 2.80 GHz 2.80 GHz and 6 GB of RAM)

Furture work

The m.file of Battery Module from COMSOL will be

connected with Simulink/MATLAB for Large system

Page 24: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

24.10.2012 24 Manop Masomtob

Thank you for

your attention

Page 25: COMSOL Multiphysics® Modeling Software - Battery …...COMSOL CONFERENCE EUROPE 2012 M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3 Excerpt from the Proceedings of

Battery Pack Temperature Distribution Simulation with COMSOL and MATLAB®

24.10.2012

[email protected]

1 Electrochemical Energy Conversion and Storage Systems Group, Institute for

Power Electronics and Electrical Drives (ISEA), RWTH Aachen University, Germany 2 Juelich Aachen Research Alliance, JARA-Energy, Germany 3 Institute for Power Generation and Storage Systems (PGS), E.ON ERC, RWTH

Aachen University, Germany 4 National Metal and Materials Technology Center (MTEC), National Science and

Technology Development Agency (NSTDA), Thailand

COMSOL CONFERENCE EUROPE 2012

M. Masomtob1,2,4, C. Schaeper1,2, W. Zhou1 and D. U. Sauer1,2,3