question

Cristian505 avatar image
0 Likes"
Cristian505 asked Andrew O commented

Problem while entering distributions in date time source

I made a date time source in my process flow to assign different data distributions to each day for the arrival of the trucks in my model, the problem is that if I put distributions in the quantity column, flexsim tells me I have an error, when I put only values in this column I don´t have any problem but I need to assign distributions to each day, how can I fix this problem ?

Pregunta distribuciones en date source.jpgIn the attached image you can see where I am assigning the distributions.

FlexSim 22.2.1
processflowdatetimesource
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

Perhaps you can parse Quantity as a Parameter into this feature. Parameter is a tool feature to control experiments.

0 Likes 0 ·
Andrew O avatar image Andrew O commented ·

Hi @Cristian505, was Joerg Vogel'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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

Maybe it is not a problem. It is just the restriction of this feature. Sometimes you cannot realize something you want to achieve directly. You can create one token at a beginning of a time interval, compute the amount of items for this interval and by this the interarrival time of items to create in this interval. There are methods to evaluate strings to get executed as commands in FlexScript API.

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.