Sheduled source acts strange

Sheduled source acts strange

sebastian_hemmannE3JAU
Collaborator Collaborator
245 Views
2 Replies
Message 1 of 3

Sheduled source acts strange

sebastian_hemmannE3JAU
Collaborator
Collaborator

[ FlexSim 20.2.3 ]

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)

34038-sheduled-source.png

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!?


Accepted solutions (1)
246 Views
2 Replies
Replies (2)
Message 2 of 3

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

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



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 3 of 3

jeff_nordgren
Not applicable

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

Image.png

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