question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Matthew Gillespie commented

How do I make the attached model repeat daily cycle 5 or more times?

New Flow Model_4.fsm

How do I make the attached model repeat daily cycle 5 or more times?

Thanks,

Tee

FlexSim 20.1.3
flexsim 20.1.3repeat daily
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@tee.hiett

I'm not sure what you mean. Are you talking about changing the stop time so that the model runs for 5 straight days?

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett commented ·

repeat Interval.jpg

I'm not sure either. I was having a problem with a model and I wanted to see the model run 3-4 replications to see what happens. I couldn't find much in the user manual about the Repeat Interval and the Cycle options. So I guess my question really should have been how are the Repeat Interval and the Cycle options used in FlexSim 2020.1?


Thanks,


Tee

0 Likes 0 ·
repeat-interval.jpg (65.1 KiB)

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Matthew Gillespie commented

The Repeat Interval and Cycle Count settings let you control when and how many times the table repeats when creating tokens. The Repeat Interval controls how often the table repeats - every day, every week, etc. The Cycle Count controls how many times it repeats.

Here's an example where I have one arrival between 8 and 8:30 AM:

With the Repeat Interval set to Daily and the Cycle Count set to 3 the source creates 3 tokens at times:

8/25/2020 8:17:39 AM

8/26/2020 8:12:33 AM

8/27/2020 8:15:49 AM

So every day for 3 days in a row I get a token arriving between 8 and 8:30 AM.


With the Repeat Interval set to Weekly and the Cycle Count set to 4 the source creates 4 tokens at times:

8/25/2020 8:17:39 AM

9/1/2020 8:12:33 AM

9/8/2020 8:15:49 AM

9/15/2020 8:29:27 AM

So now every week for 4 weeks in a row I get a token arriving on Tuesday between 8 and 8:30 AM.


1598394502928.png (15.6 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.

Tee Hiett avatar image Tee Hiett commented ·

Thanks, @matthew.gillespie. Your description of the Repeat Interval and Cycle Count is what I wanted to occur. But I could not get my model repeat for the second cycle? What am I doing wrong in that model?

Thanks,

Tee

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Tee Hiett commented ·

@tee.hiett You have your stop time set for 5:30 on the same day. You should change your stop time to be the next day so that your model can run more than just a few hours.

0 Likes 0 ·