question

mark zhen avatar image
0 Likes"
mark zhen asked Jacob W2 commented

GLOBAL TABLE in the form of allocation

1661865380507.png

我想把裡面的值改成分佈的形式,比如指數分佈等。另外,改這個需要改我其他強化學習相關的步驟嗎?

https://drive.google.com/file/d/1AwEjLUAredVrkA_rDim66ZB58x2rFpHj/view?usp=sharing


FlexSim 22.2.0
FlexSim 22.0.0
global table
1661865380507.png (6.7 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 ·

Translation: I want to change the values inside to the form of a distribution, such as an exponential distribution, etc. In addition, do I need to change my other reinforcement learning related steps to change this?

0 Likes 0 ·

1 Answer

·
Kavika F avatar image
0 Likes"
Kavika F answered Jacob W2 commented

Hey @mark zhen, you can add a statistical distribution to global table cells like this (image below). Make sure to set the cells' data to FlexScript Data so it can be run.

1661897222782.png

Then you can use those cells as distributions for processes or other things.

1661897267922.png


1661897222782.png (20.0 KiB)
1661897267922.png (149.0 KiB)
· 12
5 |100000

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

mark zhen avatar image mark zhen commented ·

So if I want to take into account the probability of failure, how should I set it up?

And I want to use the table to find the processing time of my machine!

0 Likes 0 ·
Kavika F avatar image Kavika F ♦ mark zhen commented ·

To account for the probability of failure, you can have an OnExit trigger from your Processor that sets a label on the item (like "Failed") which is either 1 or 0 to denote it whether the item failed or not, respectively.

I'm a bit confused by your second request; do you want to store processing times from your processor over time? If so, then you can use a Statistics Collector to track those values and then display them.

0 Likes 0 ·
mark zhen avatar image mark zhen Kavika F ♦ commented ·

I want to take it into account because the machine will have problems and chances of failure when it is running

0 Likes 0 ·
Show more comments

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.