Create all functions and filters relating only to time in separate modules. They will only re-calculate on model opening and when the time settings change
It is best practice to use a separate module for each time granularity (e.g. by week, month, quarter, year etc.)
Questions on this topic? See 2.01-07 Time Settings Module in our Planual forum.