question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Lou Keller answered

How to get the patients to enter the model?

A colleague of mine was building this model and it was running. Then he began to have the variability about arrival time related to the PCI and ran into a problem that I can't solve. I put in a very simple statistical distribution for variability about arrival time but the model still will not bring patients into the process.

The error message I get is:

time: 86.434329 exception: Exception caught in flexscript execution of MODEL:/PatientArrivals1>variables/messagetrigger line 7 instruction 15. Discontinuing execution. time: 87.799508 exception: Exception caught in TreeNode::executememberfunctionwithexceptionhandling() c++/dll execution. Throwing... MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node c: MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node thisClass: MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node time: 87.799508 exception: Exception caught in flexscript execution of MODEL:/PatientArrivals1>variables/messagetrigger line 7 instruction 15. Discontinuing execution. time: 88.246387 exception: Exception caught in TreeNode::executememberfunctionwithexceptionhandling() c++/dll execution. Throwing... MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node c: MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node thisClass: MAIN:/project/exec/usercommandlist/HC/PatientArrivalsMessageTrigger/node time: 88.246387 exception: Exception caught in flexscript execution of MODEL:/PatientArrivals1>variables/messagetrigger line 7 instruction 15. Discontinuing execution.

Suggestions?out-patient-clinic-th-1-23-17.fsm

Thanks, Tee

Choose One
flexsim hcmessage trigger error
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
0 Likes"
Matthew Gillespie answered

You have a mismatch between the definition and value of the Variability label in the appointments table. In the PCI table the label is defined as a code label, but in the appointments table the nodes are just plain string nodes, not code. You can fix this by opening the appointments table, clicking the Variability column header and re-selecting Variability from the list.

5 |100000

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

Lou Keller avatar image
0 Likes"
Lou Keller answered

Unless I'm mistaken, you also have your model beginning at 1:06:30 and ending at 1:07:59. That's slightly earlier than your first patient is scheduled to arrive.

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.