question

tomonori S avatar image
0 Likes"
tomonori S asked zacharyh commented

How to create a flow item for each date time

What is the method when creating a flow item in the source based on the attached "Data.xlsx" Excel data? (Is there any way to use global table?)For example, 8 flow items will be made at 9:12 on August 24, 2020, and 4 flow items will be made at 10:30.

If possible, I would like to be able to import (or paste) Excel data.

We would appreciate it if you could reflect it in the attached "model.fsm".

Also, is it possible to change the date in the FlexSim file later on the date the data starts?

model.fsm

Data.xlsx

FlexSim 19.0.9
global tablesourcetimeflexsim 19.0.9date
img.png (8.8 KiB)
model.fsm (18.4 KiB)
data.xlsx (9.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

zacharyh avatar image
0 Likes"
zacharyh answered zacharyh commented

There are 2 ways to accomplish this task. The first is when using a Source in the 3D model. When looking at the properties for the source you can select an arrival style and select "Arrival Schedule". From there you can edit a table that keeps information about when items should be created and how many should be created. The time you edit in the table will be dependent on the start time of the model and the model units. (For example if you want the model to send an item at 5 minutes but your model units is in seconds you will need to say 300, like this example below.)

The Second way is within process flow, where you can use either a Schedule Source or a Date-time Source.

https://docs.flexsim.com/en/20.2/Reference/ProcessFlowObjects/TokenCreation/ScheduleSource/

https://docs.flexsim.com/en/20.2/Reference/ProcessFlowObjects/TokenCreation/DateTimeSource/


1599686260769.png (214.7 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.