Controlling When Weeks and Years Start

In some situations, you may wish to directly specify what GoldSim considers to be the first day of the week (First day of model week) and the first month of the year (Start of reporting year). 

These can be specified at the bottom of  the Advanced Time Settings dialog (accessed from the Advanced… button on the Time tab of the Simulation Settings dialog):

This information is then used in the following ways:

First day of model week

   When using “Weeks” as the Basic Step, and selecting “Calendar aligned” for the Alignment, the specified “First day of model week” controls where each new timestep is placed.

   If you define a “weekly” Reporting Period, where the Periods are added is controlled by how you define the “First day of model week”. Weekly Periods are added at midnight on the specified first day of the week.

   The “DayofWeek” Run Property (a number from 1 to 7) is controlled by how you define the “First day of model week”.  The value 1 corresponds to the specified first day.

   The “WeekofYear” and “YearOfWeek” Run Properties are used to track the week of the year.  When these are incremented is a function of the “First day of model week”. 

Start of reporting year

   If you define an “annual” or “quarterly” Reporting Period, where the Periods are added is controlled by how you define the “Start of reporting year”.  Annual Periods are added on the first day of the month selected as the “Start of the reporting year”.  Quarterly Periods are added on the first day of the month selected as the “Start of the reporting year”, and the first days of the months 3, 6 and 9 months after the selected month.

Related Topics…

Learn more about: