question

Lucy avatar image
0 Likes"
Lucy asked tannerp commented

How do I stop a source from creating items?

I have 2 sources and I want the first one to create 12 items (close current) and open source 2 to create all it can for the rest of the day. In the next day I want this to be repeated.

FlexSim 18.2.0
source
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

tannerp avatar image
0 Likes"
tannerp answered tannerp commented

The model I've attached should do what you're wanting. The 12 green items come once every day (86400 seconds) and the red items come every 200 seconds consistently throughout the day. I used two different sources which send items into one queue.

Model: two-sources.fsm


two-sources.fsm (16.7 KiB)
· 8
5 |100000

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

Lucy avatar image Lucy commented ·

Thank you for your time and your answer :) .... The problem with what you suggested is that i need the arrival of each item of qt 1 because it is arriving to a processor, so i was thinking that maybe it needs some coding

0 Likes 0 ·
tannerp avatar image tannerp Lucy commented ·

You're welcome! I don't think coding should be necessary. If I'm understanding correctly, you should be able to just customize your arrival schedule. I've demonstrated this in the image below by dividing the day into arrivals. You can adjust this so that they all come earlier or later in the day. As long as the "Repeat Schedule/Sequence" box is selected, it will repeat every day.

0 Likes 0 ·
stop-source.png (36.1 KiB)
Lucy avatar image Lucy tannerp commented ·

I think i need some coding to open and close source , since my simulation clock is not going to be 7200 again. I'm trying it now and it only creates 12 items

0 Likes 0 ·
Show more comments
Show more comments