Periodic Rates Table

Periodic Rates Table

ellalayton
Not applicable
8 Views
11 Replies
Message 1 of 12

Periodic Rates Table

ellalayton
Not applicable

[ FlexSim 23.2.0 ]

I have a source producing items from the periodic rates option. It is breaking it down by hour. Is it possible to break it down by half hour?

0 Likes
Accepted solutions (1)
9 Views
11 Replies
Replies (11)
Message 2 of 12

julie_weller
Not applicable
Accepted solution

Hi @Ella Layton! Unfortunately I don't think that's possible, however there are a couple other ways you could do it, the easiest would be to create a really simple process flow with a Date/Time Source -> Create Object -> Sink. The Date/Time source allows you to specify the time interval a lot more exactly. Let me know if you have any follow up questions and I'd be happy to help!

0 Likes
Message 3 of 12

ellalayton
Not applicable
Hi @Julie Weller , how do I link the process flow to the model?
0 Likes
Message 4 of 12

julie_weller
Not applicable

In the Create Object, where it says Create In, use the sampler tool (little black dropper on the right) to sample where the object would normally go after the source1690320221477.png

0 Likes
Message 5 of 12

ellalayton
Not applicable

@Julie Weller ,After working with this for a while, I realized it won't work with the current process flow I have. What I have is all based on the model and used for getting data. The source in it is event triggered by when things enter the queue in the model, and I have two different sources for the 2 different queues. If I was to use this solution, the process flow would need to be completely remade.

0 Likes
Message 6 of 12

julie_weller
Not applicable

Could you post your model? I wonder if I could find a solution for you if I could see your process flow and mess with it a bit. If your model is proprietary you can toggle the post to be private

0 Likes
Message 7 of 12

ellalayton
Not applicable

It's fairly rudimentary, but it does what I need it to. I need to edit things a lot, which I find easier to do with the pieces in the model, so I'm trying not to rely on a process flow. What I have tracks the wait time in the two different queues and is triggered by an item entering the queue in the model. The source is split between the two queues by percentage.

1690324033580.png

0 Likes
Message 8 of 12

julie_weller
Not applicable
Sorry could you post the .fsm file? I've found actually playing around with it is the best way to problem solve :)
0 Likes
Message 9 of 12

ellalayton
Not applicable
0 Likes
Message 10 of 12

julie_weller
Not applicable

Okay I've looked at this a lot trying to figure out what to do and I still think process flow is probably the best for this. It shouldn't affect your other logic at all and it most closely matches what your source is currently doing.

I tried doing it 4 ways in your model, initially I thought the hourly rates was actually setting the inter arrival rate so I experimented with using a global table, I quickly realized that it wasn't setting the rate but just making that many items evenly spaced over the time frame. You can make a schedule source in 3D space too and I tried that (the middle queue in the model I'll attach) but the issue is it doesn't repeat every day and it just dumps them all in at the same time. I then decided that the schedule source was still the best option for 3 reasons: you can set the schedule to repeat, you can customize the time frames really nicely, and you can set when you want the items to come in the time frame (right at the time, evenly spaced, or randomly).

Here's the model that has my experimentation:

mk-simulation-with-fp-in-minutes-demo.fsm

You can see all the sources and you'll notice that they all look really similar. Here's a model with just the schedule source in process flow:

mk-simulation-with-fp-in-minutes-finished.fsm

Does that perform how you'd expect?

0 Likes
Message 11 of 12

ellalayton
Not applicable
Sorry for the late response; I didn't work on anything yesterday to spend my birthday with my family. The process flow model works great, I must have messed up something when I first ran it. The source was sending things to the queue based on percentage. Is there a way to change the percentage of things beings sent to each queue with the process flow source?
Message 12 of 12

ellalayton
Not applicable
I just found where to control that. Thank you so much for all your help!!
0 Likes