question

Kelsey Anderson avatar image
2 Likes"
Kelsey Anderson asked Kelsey Anderson commented

Updating Global Table with Experimenter

Hello, I am trying to update a global table for running three different scenarios. The scenarios change the "NumVisits_PrivatePractice" table, which assigns the number of visits a patient will have with a dempirical function upon creation. When I explore the scenario and look at the scenario data, the model does not seem to be performing this way even though the table appears to update to the numbers I would like. I can tell by clicking on a patient and seeing their set visits is set to 40 when there should be 0 possibility of this for scenario "golidlocks" and "BHC."

FlexSim HC 5.0.12
global tableflexsim hcexperiment
5 |100000

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

Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Kelsey Anderson commented

Attached is a fixed version of your model.

The issue was with your experiment variables. Some of them pointed at the same row as others and some of them didn't have the table name set.

As @Sam Stubbs noted, looking at the experiment variables seemed buggy and they all appeared blank. This is because you named your variables starting with a number. Before I fixed the issues mentioned before, I first renamed your variables in the tree so that the number was no longer at the beginning of the name.


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

Kelsey Anderson avatar image Kelsey Anderson commented ·

There still appears to be a bug for patient in the BHC scenario getting 40 visits.

0 Likes 0 ·
Kelsey Anderson avatar image Kelsey Anderson Kelsey Anderson commented ·

Nevermind... I figured it out... The column didn't add up to 100.

0 Likes 0 ·
Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Sam Stubbs edited

It looks like there may have been a bug of some kind with the GUI of the Experimenter window. When I went into your Experimenter, I noticed that the fields in the Variables column were blank when I tried to view them, and when I tried to change them they wouldn't update, or the name would show up in random places.... I'm going to report this to the developers..

In the meantime, I tried clearing out the experimenter variables and scenarios (moving them back down to 1 and 1) and then try filling out the experimenter again seemed to make some changes.

5 |100000

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

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.