How do I stop a source from creating items?

How do I stop a source from creating items?

lucia_g
Not applicable
16 Views
9 Replies
Message 1 of 10

How do I stop a source from creating items?

lucia_g
Not applicable

[ FlexSim 18.2.0 ]

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.

0 Likes
Accepted solutions (1)
17 Views
9 Replies
Replies (9)
Message 2 of 10

tanner_p
Not applicable
Accepted solution

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

0 Likes
Message 3 of 10

lucia_g
Not applicable

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
Message 4 of 10

tanner_p
Not applicable

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.

13962-stop-source.png

0 Likes
Message 5 of 10

lucia_g
Not applicable

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
Message 6 of 10

tanner_p
Not applicable

I'm not sure I understand what your desired production schedule is. Should there be more than one item type?

Also, how many of each item should be created each day?

If you could send me this information, I will try to create a model that will do this for you.

0 Likes
Message 7 of 10

lucia_g
Not applicable

Yes, there is one type in source 1 an another in source 2.

Type 1 12 units and type 2 all it can produce in one day.

On the next day the same must be repeated

0 Likes
Message 8 of 10

isaac_l1
Not applicable

Does source1 only produce 12 units in one day? Or more than 12 in one day?

0 Likes
Message 9 of 10

lucia_g
Not applicable

Only 12

0 Likes
Message 10 of 10

tanner_p
Not applicable

So every 24 hour period, or 86400 seconds, you should have 12 items from one source and another source should create items constantly. Does this sound correct?

How often should the 12 arrive?

How often should the other source be creating objects (with no limit)?

0 Likes