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 A discrete interval of time used in dynamic simulations. 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” Run Property is used to track the week of the year. When this is incremented is a function of the “First day of model week”.
- The “YearOfWeek” Run Property is used to track the year for the current week and does not change until the start of the next week. When this is 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.
Learn more
Related topics…
- Controlling When Weeks and Years Start
- Display Units for Dates
- Entering Time Series Data as Dates or Elapsed Times
- Exchanging Date Information with a Spreadsheet
- Including Unscheduled Updates in Time History Results
- Referencing Dates in Expressions
- Referencing Time in Edit Mode
- Referencing Time in GoldSim
- Setting the Basic Time Options
- Understanding and Referencing Run Properties