Hello, long story short: I need to create a model of Li-Ion battery and i'm stuck on calculating the battery equivalent internal impedance. The thing is, I don't know the equation or even how to make one. However, I have a circuit drawing:
Could someone explain how to calculate or write down an equation for battery equivalent internal impedance

Could someone explain how to calculate or write down an equation for battery equivalent internal impedance