How to build show soc of a battery source

Hey everyone, hope all is well. I am curious to see how I can model my battery in the single-phase battery system to model the SOC of the battery. I am seeing equivalent circuit models online, but I am not sure how to build one. I am just looking for a starting point on how to simulate that. Thanks if you can help, it’ll be much appreciated

battery_charger_protype.plecs (180.2 KB)

Hi brandontm85, have a look at this application note and let me know if that is what you are looking for: Electrical Equivalent Implementation of Lithium-Ion Batteries | Plexim

hope this helps!