Project 2
Using MATLAB/simulink and the drive cycle from the attached excel sheet, find-
- The max heat generation of the battery
- The SOC of the battery at 2 *104second of the battery operation
| Time | Time Step | Battery Current |
| 00:00.4 | 0.1 | -0.9632 |
| 00:00.5 | 0.2 | -0.952 |
| 00:00.6 | 0.3 | -0.9072 |
| 00:00.7 | 0.4 | -0.9632 |
| 00:00.8 | 0.5 | -1.0304 |
| 00:00.9 | 0.6 | -0.9632 |
| 00:01.0 | 0.7 | -1.0304 |
| 00:01.1 | 0.8 | -1.008 |
| 00:01.2 | 0.9 | -0.9856 |
| 00:01.3 | 1 | -0.9632 |
| 00:01.4 | 1.1 | -0.9184 |
| 00:01.5 | 1.2 | -0.9296 |
| 00:01.6 | 1.3 | -0.9296 |
| 00:01.7 | 1.4 | -0.9296 |
| 00:01.8 | 1.5 | -0.9184 |
| 00:01.9 | 1.6 | -0.9408 |
| 00:02.0 | 1.7 | -0.896 |
| 00:02.1 | 1.8 | -0.9072 |
| 00:02.2 | 1.9 | -0.9072 |
| 00:02.3 | 2 | -0.9408 |
| 00:02.4 | 2.1 | -0.9296 |
| 00:02.5 | 2.2 | -0.9296 |
| 00:02.6 | 2.3 | -0.9968 |
| 00:02.7 | 2.4 | -0.9968 |
| 00:02.8 | 2.5 | -0.9408 |
| 00:02.9 | 2.6 | -0.9408 |
Consider the battery resistance is 0.5 mOhm and entropic factor is 2



entropy heat is 2.because entrophic factor is given as 2

MAximum current in the table is -0.896A,resistance is 0.5mohm and total time is 120seconds.
So,
`Max\ heat\ g en erated=(Imax)^2**R**t+2`
`Max\ heat\ g en erated=-0.896^2**(0.5**10^-3)**120+2`
`Max\ heat\ g en erated=2.048J`
SOC of the battery for 208s of the battery operation

we can see in above model battery is connected to 1ohm resistor and controlled current source and its soc is extracted from bus selector.
battery specification before simualtion

signal builder is used for to show currents which are given above

this simulation using negative currents is simulated till 208seconds and it is charging the battery that we can see below
before simulation SOC is 50% and after the simulation SOC is 51%
