Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
You can try this one if you like.
Its a simple model and I didn't spend a lot of time on it. But it might work for you.
The LiPo params should be fairly clear. The Vdah param represent the voltage drop vs 1 hr discharge time.
The value can be obtained from the battery 1C discharge curve chart. The Vdah param value is trial an error.