Project 5
Fig below shows simulink block diagram of the required setup.

The configuration of battery I used is shown below

Connected 10 such cells in series and created a subsystem from it with name battery pack. Connected a current source with this battery pack to simulate charging and discharging effects. The command signal that is given to current source is shown below.

I discharged the battery at 2C rate i.e, 4.6 Ah for 30 mins. Charged the battery for 60 mins at 1C rate. Discharged the battery again at 4C rate.
Fig below shows output from the battery

Battery pack's capacity:
10 cells in series each with a voltage of 3.3 V, pack voltage = 10*3.3 = 33 V
Each has an Ah capacity of 2.3. As all of them are in ceries, pack capacity = 2.3 Ah
There, battery pack specifications are 33V, 2.3Ah