Does ModelingToolKit suitable for this kind of battery modeling (Example in simulink)?

Hi all,
I want to implement a battery simulation model, an example is given on Matlab Simulink:

I am new to ModelingToolkit and trying to the possibilities of implementing this in Julia.
Thank you very much for the possible suggestions and comments!

It 100% is, and actually such battery models are being built into JuliaSim.

Thanks Chris! Although I do not have access to JuliaSim, it is good to know it’s worth investigating on MTK.