Hello,
You can control how SAM dispatches energy to and from the TES using dispatch optimization. On the System Control page, check the Enable dispatch optimization box, and then on the Time of Delivery Factors page, assign power price multipliers to the periods to represent the value of the system's electrical output at different times of day and year. For example, to limit discharge of TES thermal power during the day, you can assign a low multiplier such as 0.5 to the daytime TOD periods, and a high multiplier such as 1.5 to the evening and nighttime TOD periods. That would make it economically advantageous to keep the energy in storage during the day and dispatch it at night.
Note that the change the PPA price multipliers on the Time of Delivery Factors page, you should clear the Use library values box. To edit the periods in the Weekday and Weekend schedules, use your mouse to draw a rectangle in the schedule, and then type a number to set the period number.
Best regards,
Paul.