question

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

How to Use Experimenter in Process Flow?

Hi Team,

I am testing experimenter to get results but I am not able to set performance measure rightly using dropdown and sampler. It is not giving correct results with model parameters.

1659085832520.png

1659086048174.png

Can you help me to know what is going wrong here?



Thank You!


FlexSim 21.0.10
performance measuresoutputexperiemter
1659085832520.png (54.5 KiB)
1659086048174.png (154.5 KiB)
5 |100000

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

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ankur A3 commented

Is the process flow instanced? If so, you have to link to the statistics of the instances. Similar to the issue you encountered with list contents the other day.

You can either set the reference directly to the node and return its value.

1659088153520.png

Or leave the reference but specify the instance the stat should be gathered from in the value code.

1659088205929.png


1659088153520.png (30.5 KiB)
1659088205929.png (20.7 KiB)
· 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.

Ankur A3 avatar image Ankur A3 commented ·

Got it @Felix Möhlmann

How to get total throughput in this case as performance measure irrespective of processor?

Thank you!

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Ankur A3 commented ·

Option 1: Don't use an instanced process flow (probably to late for that one)

Option 2: Create a statistics collector that measures the input and use it in the performance measure.

1659090491314.png

1659090504781.png

Option 3: Loop through all instances in code and add up the input values. To make this easy, set the reference to the sink's 'instances' node (up two levels from the marked input node in the tree screenshot in the answer above) .

1659090582597.png

0 Likes 0 ·
1659090491314.png (71.8 KiB)
1659090504781.png (24.3 KiB)
1659090582597.png (39.1 KiB)