question

Cameron Pluim avatar image
1 Like"
Cameron Pluim asked Cameron Pluim commented

Bug with Process Flow Dashboards

There are actually 2 bugs here that I think are related. In the attached model you will find 2 processes that are identical as far as how they behave. One process is built with the standard Fixed resources, and the other is built using process flow.

If you run the model in it's current state, and push the button on the script window to execute the user command ExportTables(), you will get a folder in the model directory with .csv files for the queue content over time, and the zone request content over time.

The problem that I am seeing is that the zone request content over time is creating an empty (except for headers) file in the following 2 scenarios.

  1. Close the dashboard window and run the model again. Then execute the script window again.
  2. Run the experimenter. The script to run ExportTables() is in the End of Replication Trigger, so you do not need to do anything else.

In both of these scenarios you will find that the queue content is the same as if you run it with the dashboards open, but the zone request content is an empty file

processflowdashboards.fsm

FlexSim 16.2.1
process flowexperimenterdashboards
· 3
5 |100000

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

Sam Stubbs avatar image Sam Stubbs ♦ commented ·
0 Likes 0 ·
Cameron Pluim avatar image Cameron Pluim commented ·

I just checked in the new beta for 2017, and this is still a problem.

0 Likes 0 ·
Cameron Pluim avatar image Cameron Pluim Cameron Pluim commented ·

@jordan.johnson @Matt Long, Do you know if this is being looked into at all?

0 Likes 0 ·

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Cameron Pluim commented

Sorry for the delay! I fixed this issue; the next beta/release should have the fix.

As a workaround for now, add this code into ExportTables(), before you call "createCSV" for the request chart:

treenode dummy = nodeinsertinto(node("Tools", model()));
function_s(node("/Tools/Statistics/RequestContent",model()), "getData",dummy);
destroyobject(dummy);

The "getData" function kicks the chart, so that it will update the internal data that it's keeping.

· 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.

Cameron Pluim avatar image Cameron Pluim commented ·

Thanks @jordan.johnson!

0 Likes 0 ·

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.