question

Lou Keller avatar image
1 Like"
Lou Keller asked Matthew Gillespie commented

How can I assign a Nurse as the Escort in Track 1, Activity 600?

Whenever I select a Nurse as the escort in Track 1, Activity 600, the model refuses to retain the entry when the model is either reset or saved. Instead it produces the error massage shown below and erases the entry.

resource-fault.fsm

FlexSim HC 5.0.12
resourceresource assignment
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 Matthew Gillespie commented

The node for that staff requirement doesn't have string data. You can execute this script to put string data on that node:

nodeadddata(node("MODEL:/Tools/PatientBin/Track1/Track1>variables/ActivityTable/       600_Escort to Waiting Room/StaffTable/1"), DATATYPE_STRING);

Before version 5, those nodes didn't have string data since the requirements were just stored on the subnodes. I added string data to them so that you could use code and pickoptions to define the staff and I wrote model update code to update old models to this new style. I'm not sure though how this activity has no string data since it looks like the model was built in version 5.

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

Lou Keller avatar image Lou Keller commented ·

Matt - In fact, the model was built yesterday by a student using Version 5, in the Flexsim HC class I taught at Lehigh University. When he asked me what was going on with the model, I couldn't give him a "why" answer. Ergo the question I wrote for "Answers." Adrian - We didn't try deleting and re-entering Activity 600 which would probably have been the best immediate approach to a solution. Fun stuff when things happen in class! Woof!

0 Likes 0 ·
Adrian Haws avatar image
0 Likes"
Adrian Haws answered

Hi Lou,

I'm not sure exactly what was causing this, but the problem was resolved when I deleted activity 600 and recreated it.


5 |100000

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