question

Kevin avatar image
0 Likes"
Kevin asked Felix Möhlmann answered

Performance measure from tracked variable

Hello.

I have a tracked variable that adds 1 when entering my simulation and subtracts 1 when leaving. With this I have a table on a dashboard that tracks the maximum number of entities in the system during my simulation run. I was wondering if there is a way to create a performance measure based on this tracked variable. I get these errors when I select my tracked variable and statistic by individual object maximum: 1743701754380.pngI am also running into some problems with my experimenter now that I am on FlexSim 23 (previously on version 19 and never had issues). It freezes up when I select my 1500 scenarios with 100 replications each and on the run experiment tab I just get a sad smiley face rather than the usual display of each replication. Figured FlexSim can not handle displaying 150,000 total replications, but now the software constantly freezes up and runs through my experiment extremely slow. Wondering if my 16GB RAM plays a role in this and higher PC specs would smooth this experience up a bit.

FlexSim 23.2.0
experimentertracked variablesperformance measure
1743701754380.png (48.1 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

With the reference field pointing to the TR, you can use expressions like below to get the maximum/minimum/average value of the variable.

  1. reference.as(TrackedVariable).maximum

Are the scenarios defined as an experiment or range based job. The latter handles displaying large quantities of scenarios a bit better in my experience. Maybe try breaking it up into multiple jobs as well. And 100 replications per scenario seems quite high. Is the variance in the model really that big?

5 |100000

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