Hello, friend.
You can set the time-of-use price. Log in to the SUN2000, on the home screen, choose Power adjustment > Battery control, and set the battery parameters and working mode.

In some countries, the power grid is not allowed to charge energy storage, and this mode is prohibited. You can manually set the charging/discharging time segment. For example, if the charging time segment is set as the charging time segment at night, the system charges the energy storage with the maximum charging power during this time segment. In this case, you need to enable the grid charging function in Energy Storage Control and set the charging time segment as the discharging time segment during the high-price period. The battery can be discharged only in the discharge period, thus saving the household electricity cost.
For details, see section "Setting the Grid-tied ESS Mode" in the LUNA2000-(5-30)-S0 User Manual.