question

Pert P avatar image
0 Likes"
Pert P asked Jason Lightfoot commented

Can I generate numeric by using process flow and record on global table?

I am doing to create numeric by using generate distribution process flow and I want to program record that generated on global table, can It? and How?

FlexSim 22.1.0
global tableflexscript codingprcocess flow
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Pert P, was Logan Gold'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

Logan Gold avatar image
0 Likes"
Logan Gold answered

Hi @Pert P, I think we might need some more information before we can fully answer the question. It sounds like you need to use a Custom Code activity with either the "Add Row and Data to GlobalTable" option or the "Write to GlobalTable" option (both in the Data section of the dropdown), depending on how the table is set up.

You should also be able to use the statistical distribution of your choice for the values in either of those options. You can find information about some common distributions that are available here:

https://docs.flexsim.com/en/22.1/ModelLogic/AdditionalConcepts/UsingDistributionChooser/UsingDistributionChooser.html#common

The Distribution Chooser that is referred to on that page can also be used, and the easiest way to use that tool would be to use an Assign Labels activity prior to the Custom Code activity.


5 |100000

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