GitHub repository: modelica/Modelica_EnergyStorages
Description: Free library that contains models with different complexity for simulating of electric energy storages like batteries (single cells as well as stacks) interacting with loads, battery management systems, loads and charging devices.