All-in-one design, integrated liquid cooling battery pack, battery management system BMS, energy management system EMS, modular PCS and fire protection system in one. The system is equipped with transformers and switchgear. The system can be combined with photovoltaic power generation to form a grid-tied solar with energy storage system. Multiple systems can be connected in parallel for flexible expansion. The system is suitable for a variety of applications such as, on-grid/off-grid solar energy and storage system, backup power supply, and solar diesel-microgrid system.