Thermal storage systems can be integrated with BMS through the use of sensors, actuators, and control algorithms. The BMS can monitor energy demand, storage capacity, and ambient conditions to optimize charging and discharging cycles. This integration enables the thermal storage system to respond to changes in building load, weather, and energy prices, ensuring maximum efficiency and cost savings.