There are three control options available for Title 24 simple batteries:
Basic. Battery charges whenever there is excess PV. Battery discharges to meet building load when PV does not cover it. Battery only meets building loads and does not put power into grid (but PV can directly export).
Time of Use. Battery charges whenever there is excess PV. During peak summer months (July - September) start discharging at the beginning of the peak period (that varies with climate zone) at maximum rate until fully discharged. Other months run with basic control. Battery will put power into grid after meeting building load if discharge rate allows it.
Advanced DR Control. During peak summer months control knows that it is going to be a peak day and what the peak hours will be. On a peak day, use all PV to charge the battery until it is full. Discharge at maximum rate during highest TDV hours. Otherwise run with basic control. Battery will put power into grid after meeting building load if discharge rate allows it. Programmed as Basic Control or TOU control. Upon receipt of DR signal, the battery can change the charge/discharge periods to coincide with highest value critical peak hours.