How to create a flow item for each date time

How to create a flow item for each date time

tomonori_s
Not applicable
11 Views
4 Replies
Message 1 of 5

How to create a flow item for each date time

tomonori_s
Not applicable

[ FlexSim 19.0.9 ]

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

32383-img.png

0 Likes
Accepted solutions (1)
12 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor

2. You can set starting Date Time in Model Settings32392-datetime-setting.png

0 Likes
Message 3 of 5

zac_higleyQBKLZ
Autodesk
Autodesk
Accepted solution

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.)

32463-1599686260769.png

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/

0 Likes
Message 4 of 5

tomonori_s
Not applicable

Thank you for your reply.
Paste the screen using "Date Time Source" of the process flow, but in reality, when the flow item for August 24th like "img_01.PNG" has been created, the next day August 25th I want to move to, but when I run simulation, it looks like "img_02.PNG". Please tell me how to deal with this.
Also, is there a way to operate this in a global table?

32448-img-01.png

32449-img-02.png

model_01.fsm

0 Likes
Message 5 of 5

zac_higleyQBKLZ
Autodesk
Autodesk

When adding times that are scheduled for the next day, make sure to use a value greater than 24hours to represent the next day.

32450-1599748175924.png

When you enter the number it my originally come up wrong, don't worry about that for now but instead close the window and then open it again. Your schedule should now look something below. It should now say "Start (DD:HH:MM)"

32472-1599748369465.png

You can now go and edit the HH:MM parts to be the correct value. DD = 01 simply means the next day.

32481-1599748537812.png

And also you can change your model start time by going to Edit -> Model Settings and change the Model Start Time/Date, as Joerg mentioned.

32473-1599748643194.png

0 Likes