The role of the prefabricated battery compartment in the energy storage system