














Use a Date Time Source activity to create tokens within your model.
Tutorial resources
These downloadable resources will be used to complete this tutorial:
Transcript
00:03
In FlexSim, most process flows begin with the creation of tokens,
00:07
which are used to represent physical or abstract items flowing through a model.
00:12
This involves setting the arrival method to control when and how tokens enter your process flow.
00:18
The Date Time Source activity is one of four token creation methods,
00:22
and can be used to set start and end dates and times of arrival within a specified interval,
00:28
or to set arrival appointments on a daily or weekly schedule.
00:32
Typically, you select an arrival source in your Library, add it to your ProcessFlow,
00:37
and then set the Quick Properties to meet the needs of your model.
00:41
In this case, a process container is already set up in the ProcessFlow with a Date Time Source included.
00:47
Here, click Date Time Source to open the Quick Properties,
00:51
and then click Edit Arrivals to open a separate window with multiple options for setting up the arrivals schedule.
00:57
In the table, you can specify the arrival Start and End time,
01:02
assign a Quantity of arrivals within that interval, and apply a Name to the tokens.
01:07
You can also add Labels, or additional columns of information.
01:11
Here, a Type label was added.
01:14
Note that military time is used for time intervals.
01:18
In the example shown, between 8 AM and 4 PM, 25 of Type 1 will arrive, 50 of Type 2, and 30 of Type 3.
01:29
The Quantities here are specified values, but you can also set a distribution.
01:34
Above the table, you can specify the Time Mode as starting From Time 0,
01:39
or, as in this example, select Use Model Start Date/Time to use clock time.
01:44
You can specify as many Rows as needed, and time intervals can be successive or overlapping.
01:51
Here, the Mode is set to Repeated, with a Repeat Interval of Daily.
01:56
You can also set the Cycle Count to the number of times to repeat or Indefinitely to continue as long as the model is running.
02:03
Next, set the Arrival Spacing.
02:07
Here, tokens will arrive Evenly spaced throughout the interval.
02:11
You can also set a scheduled arrival time or have tokens arrive randomly throughout the interval.
02:17
To have FlexSim set up the table for you, click Generate Table,
02:21
select a Division Length to set the arrival increments, and then set the Type to Daily or Weekly for the interval.
02:28
Click Generate to automatically set up the table based on these settings.
02:33
You can also create the schedule in Excel first and then click the Excel icon to import it.
02:39
In this case, Date Time Source is used with an interval, which is useful when you do not know the exact time items arrive,
02:46
but you know how many arrive within a time interval.
02:49
Close the dialog.
02:51
Select the Date Time Source - Interval Dashboard.
02:55
Since this example was set up with a certain quantity arriving each day, in the Simulation bar, expand Run Time,
03:04
select Stop Times, and set the simulation to run for 1 day.
03:10
As a reminder, 25 of Type 1, 50 of Type 2, and 30 of Type 3 are set to arrive daily.
03:19
Click Reset, and then Run to see that the correct number of each type arrives after one day.
03:26
You can also use Date Time Source to create a daily or weekly schedule of appointments.
03:32
Reset the model, then select the Date Time Source activity for Appointments to open the Quick Properties.
03:39
Click Edit Arrivals to open the arrivals window.
03:43
Here, you can see that the first arrival is scheduled at 8:00AM, with the next appointment at 8:05AM,
03:50
and the Time Mode is set to Use Model Start Date/Time.
03:53
By setting up the first appointment with a 5-minute interval,
03:57
rather than the same start and end times, then adding Rows will automatically create successive 5-minute appointments.
04:04
For each appointment, you can also set a Quantity to arrive, a Name, and a Type.
04:10
The Type can be entered as a value, or in this case, By Percentage.
04:16
With the Type column selected, click Edit Properties to expand the Type Properties,
04:21
where you can see that 25% of the time Type 1 will arrive, 45% will be Type 2, and 30% Type 3.
04:31
Back in the Date Time Source dialog, you can see that the appointments run from 8AM until about 4PM,
04:37
with 1 item arriving at each, and with an Appointment label added to note the specific appointment time for each token.
04:45
If you want each token to arrive at the start time, rather than any time within the 5-minute interval, set the Arrival Spacing to At scheduled time.
04:54
Also, since appointments do not always occur on time,
04:58
a Variability distribution has been added to allow items to arrive 3 minutes before or after the appointment time.
05:05
Close the dialog.
05:07
Reset and Run the simulation.
05:10
Select the Date Time Source – Appointment Dashboard.
05:14
In the table, you see the scheduled appointment times and actual arrival times, with some tokens arriving early and some late.
05:22
In the variability histogram, because it is set up as a uniform distribution,
05:27
the more you run the simulation and add more days, the more the histogram will resemble a box.
05:33
Now, you know how to use the Date Time Source activity to set specific arrival dates and times for tokens,
05:39
in intervals or as scheduled appointments.
05:42
Take some time to review the remaining token creation methods, so that you can select the best method for your model.
00:03
In FlexSim, most process flows begin with the creation of tokens,
00:07
which are used to represent physical or abstract items flowing through a model.
00:12
This involves setting the arrival method to control when and how tokens enter your process flow.
00:18
The Date Time Source activity is one of four token creation methods,
00:22
and can be used to set start and end dates and times of arrival within a specified interval,
00:28
or to set arrival appointments on a daily or weekly schedule.
00:32
Typically, you select an arrival source in your Library, add it to your ProcessFlow,
00:37
and then set the Quick Properties to meet the needs of your model.
00:41
In this case, a process container is already set up in the ProcessFlow with a Date Time Source included.
00:47
Here, click Date Time Source to open the Quick Properties,
00:51
and then click Edit Arrivals to open a separate window with multiple options for setting up the arrivals schedule.
00:57
In the table, you can specify the arrival Start and End time,
01:02
assign a Quantity of arrivals within that interval, and apply a Name to the tokens.
01:07
You can also add Labels, or additional columns of information.
01:11
Here, a Type label was added.
01:14
Note that military time is used for time intervals.
01:18
In the example shown, between 8 AM and 4 PM, 25 of Type 1 will arrive, 50 of Type 2, and 30 of Type 3.
01:29
The Quantities here are specified values, but you can also set a distribution.
01:34
Above the table, you can specify the Time Mode as starting From Time 0,
01:39
or, as in this example, select Use Model Start Date/Time to use clock time.
01:44
You can specify as many Rows as needed, and time intervals can be successive or overlapping.
01:51
Here, the Mode is set to Repeated, with a Repeat Interval of Daily.
01:56
You can also set the Cycle Count to the number of times to repeat or Indefinitely to continue as long as the model is running.
02:03
Next, set the Arrival Spacing.
02:07
Here, tokens will arrive Evenly spaced throughout the interval.
02:11
You can also set a scheduled arrival time or have tokens arrive randomly throughout the interval.
02:17
To have FlexSim set up the table for you, click Generate Table,
02:21
select a Division Length to set the arrival increments, and then set the Type to Daily or Weekly for the interval.
02:28
Click Generate to automatically set up the table based on these settings.
02:33
You can also create the schedule in Excel first and then click the Excel icon to import it.
02:39
In this case, Date Time Source is used with an interval, which is useful when you do not know the exact time items arrive,
02:46
but you know how many arrive within a time interval.
02:49
Close the dialog.
02:51
Select the Date Time Source - Interval Dashboard.
02:55
Since this example was set up with a certain quantity arriving each day, in the Simulation bar, expand Run Time,
03:04
select Stop Times, and set the simulation to run for 1 day.
03:10
As a reminder, 25 of Type 1, 50 of Type 2, and 30 of Type 3 are set to arrive daily.
03:19
Click Reset, and then Run to see that the correct number of each type arrives after one day.
03:26
You can also use Date Time Source to create a daily or weekly schedule of appointments.
03:32
Reset the model, then select the Date Time Source activity for Appointments to open the Quick Properties.
03:39
Click Edit Arrivals to open the arrivals window.
03:43
Here, you can see that the first arrival is scheduled at 8:00AM, with the next appointment at 8:05AM,
03:50
and the Time Mode is set to Use Model Start Date/Time.
03:53
By setting up the first appointment with a 5-minute interval,
03:57
rather than the same start and end times, then adding Rows will automatically create successive 5-minute appointments.
04:04
For each appointment, you can also set a Quantity to arrive, a Name, and a Type.
04:10
The Type can be entered as a value, or in this case, By Percentage.
04:16
With the Type column selected, click Edit Properties to expand the Type Properties,
04:21
where you can see that 25% of the time Type 1 will arrive, 45% will be Type 2, and 30% Type 3.
04:31
Back in the Date Time Source dialog, you can see that the appointments run from 8AM until about 4PM,
04:37
with 1 item arriving at each, and with an Appointment label added to note the specific appointment time for each token.
04:45
If you want each token to arrive at the start time, rather than any time within the 5-minute interval, set the Arrival Spacing to At scheduled time.
04:54
Also, since appointments do not always occur on time,
04:58
a Variability distribution has been added to allow items to arrive 3 minutes before or after the appointment time.
05:05
Close the dialog.
05:07
Reset and Run the simulation.
05:10
Select the Date Time Source – Appointment Dashboard.
05:14
In the table, you see the scheduled appointment times and actual arrival times, with some tokens arriving early and some late.
05:22
In the variability histogram, because it is set up as a uniform distribution,
05:27
the more you run the simulation and add more days, the more the histogram will resemble a box.
05:33
Now, you know how to use the Date Time Source activity to set specific arrival dates and times for tokens,
05:39
in intervals or as scheduled appointments.
05:42
Take some time to review the remaining token creation methods, so that you can select the best method for your model.