question

Ismael R3 avatar image
0 Likes"
Ismael R3 asked Ben Wilson commented

HOW TO CREATE DIFFERENT DISTRIBUTIONS per day and month?


Hello dear community, I have to create a source that has different inter arrival time distributions per hour of the day, but these must change every month, since my general objective is to see how the use of my system changes in different months, and at different times. What I did was get a distribution for each hour of the day that starts from 2 in the morning until 11 at night. And run this for a month, but from there it changes to a different distribution per day, the following month. Maybe you can help me how to do this? Or do they think that I should get a distribution per day, for each month, my problem when I do this is that my distribution becomes empirical and I would have to make a time table for each different month And I Do not have any idea of how to create this type of source in flexsim. Any suggestions please, I would greatly appreciate it!

FlexSim 20.2.3
flexsim 20.2.3statistical distributionsimulation time
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Ismael R3, was Jörg Vogel's answer helpful? If so, please click the red "Accept" button on 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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

I think you are to single object concentrated. What you want involves more than ONE object. You need tools, maybe a process flow and a source with labels, which you can change their values.

I assume you begin with a source and set the mode to interarrival time. The arrival time is a statistical distribution. This source creates your products or items.

normal(current.mylabelMean,current.mylabelDev,getstream(current))

as you see I replaced values of the parameters by labels set at the source (mylabelMean and mylabelDev).

Then I insert another source now in timetable mode. Each time an item is created a trigger is fired > On Creation. This trigger changes the label values in the first source. You can replace this 3D source by a process flow, which does the same.

The values you want to change, can you store in a table. This table has columns to identify the conditions to choose the right values like day of week, month, hour of day. You filter the table to get a row by a Table.query and you set the result of the Table.query to fill the label values.

Please come back here to ask questions about distinct problems you run into when you build this sub process.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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