I am working on a model of hot water storage developed in Buildings library of Modelica. Using Dymola to simulate the model by Dassl, I changed time step of simulation from 1s to 1200s, but I have not seen any change in simulation result. Is it something related to the solver? I would appreciate if you could help.
First my assumtion: With "time step" you are referring to the "Interval length" shown in the screenshot below.
If that is the case, this is totally correct behavior. The "Output interval" is independent from the simulation itself. Variable step solvers like DASSL choose their step-size on their own and interpolate the output from the computed points - which are likely computed at different points in time. You can check the steps taken by the solver using the "Simulation Analysis" function of Dymola.
If you want to influence the actual steps taken by the solver you have some other possibilities:
Advanced.Simulation.StepSizeMax
limits the upper bound or the step sizeAdvanced.Simulation.StepSizeMin
limits the lower bound or the step sizeAdvanced.Simulation.StepSizeStart
sets the initial step sizeBe careful with the Advanced variables, as they can influence performance and stability. Side note: There can be some influence from the "Interval length/Number of intervals" to the simulation result, as DASSL considers this setting when choosing its initial step-size. But this effect can vanish depending on the dynamics.