Bug with Process Flow Dashboards

Bug with Process Flow Dashboards

cameron_pluim
Not applicable
71 Views
5 Replies
Message 1 of 6

Bug with Process Flow Dashboards

cameron_pluim
Not applicable

[ FlexSim 16.2.1 ]

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

Accepted solutions (1)
72 Views
5 Replies
Replies (5)
Message 2 of 6

sam_stubbsYXX86
Community Manager
Community Manager
0 Likes
Message 3 of 6

cameron_pluim
Not applicable

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

0 Likes
Message 4 of 6

cameron_pluim
Not applicable

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

0 Likes
Message 5 of 6

JordanLJohnson
Autodesk
Autodesk
Accepted solution

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.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 6 of 6

cameron_pluim
Not applicable

Thanks @jordan.johnson!

0 Likes