Project 5
The simulink model:

The battery parameters of each one:




for coulomb counting the gain used is:

output:


coulomb couts behaviour:

we can observe that: SOC decreases with increasing time, current follows the controlled current source value given by a pulse generator , voltage decreases with increase in time. The behavious is very much dependent on the pulse generated.