question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Jeanette F commented

How to feed token generation in terms of percentage?

Hi Team,

I am having patient arrival varying based on hour and weekday. Also, weekly demand is varying in terms of statistical distribution.

1656678392608.png

What is the best way to feed this data in simulation?

Thank you!

FlexSim 21.0.10
arrivalsweekdayweeklyhourly
1656678392608.png (22.9 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ankur A3, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered Ankur A3 commented

Hey @Ankur A3, with that table you've provided, I think it'd be best to copy and paste that into a Global Table and read values from there into the model.

· 7
5 |100000

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

Ankur A3 avatar image Ankur A3 commented ·
Hi @Kavika F,

This table shows the % fixed arrival in respective time interval on weekday. Also, I have to multiply this % to total volume which is having variable value over the week.

The problem I am facing, it is not possible to put global table cell in source activity at a time for all intervals.

Can you attach the demo model if you get the idea to do it?

Thank you!

0 Likes 0 ·
Kavika F avatar image Kavika F ♦ Ankur A3 commented ·

You could add the percentages into a global table as decimal values then look them up that way. In a Schedule Source in Process Flow you can add an arrival schedule and initialize all the values to 0. Then you can go into each cell and your weekly distribution and multiply it by the corresponding decimal value from the table.

1656694404220.png

0 Likes 0 ·
1656694404220.png (216.5 KiB)
Ankur A3 avatar image Ankur A3 Kavika F ♦ commented ·
Hi @Kavika F,

Got it. Thanks for sharing this direct option. Anyhow, I was missing it.

I would like to know if there is any fast way to add data in each cell with respect to time slot since going in every cell is little time consuming way.

Thank you!

0 Likes 0 ·
Show more comments
Show more comments