question

Sebastian Hemmann avatar image
1 Like"
Sebastian Hemmann asked Jeff Nordgren edited

Sheduled source acts strange

Hi,

I figured out two strange things on the sheduled source in PF.

1. if you add an arrival with the + Button, the number of arrivals does not update. If you later type a numer in the Arrivals field or use the Arrows next to it, the table seems to erase some lines (could not figure out which)

2. it is possible to add a Label in the source and choose the Value "repeatCount" from the pick options. This seems to only give "0" as value!?


FlexSim 20.2.3
processflowflexsim 20.2.3sheduled source
sheduled-source.png (28.2 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.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@sebastian.hemmann,

#1 does seem to be a bug. Because when the Arrival number doesn't get updated (using the + icon) and you happen to click or pass through that field again, it will reset the arrivals to that number and not the actual number of arrivals added via the + icon. This will be passed on to the dev team.

#2 Works as it should. If you look in the code, (see below)

you will notice that the value of "repeatCount" is the value of the number of times (iterations) that the arrival schedule has gone through. So if the above example (IF the Repeat Schedule check box has been checked) the first 8 flowitems (3 then 5) will have a value of 0 for the label. The next 8 flowitems would have the value of 1 and so on. So this option works correctly.

Thanks.


0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

1. Thanks for pointing out this bug. We'll get it fixed.

2. The repeatCount variable increments every time the table is repeated. If you don't check the Repeat Schedule box then that number will never increment. repeatCount.fsm


repeatcount.fsm (26.2 KiB)
5 |100000

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