Hallo,
yes, there is. Instead of connecting a constant value (Modelica.Blocks.Sources.Constant) as heating and cooling threshold (TSetHeatingZone..., TSetCoolingZone...) connect a Modelica.Blocks.Sources.CombiTimeTable for both thresholds for each zone. In the time table you can give a daily schedule (or weekly, or whatever) in seconds and set the extrapolation to repeat periodically.
To achieve no cooling set the threshold to some unreasonable high value like +100°C and for no heating set a really low value like -100°C.
Now your building is only heated and cooled during your operation hours.
Hope that helps,
Alex