question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Tee Hiett commented

Invalid push value at push to list activity

Selecting Arrived Patients_5.fsm

In the attached model, I am trying to undeerstandexactly what happens to a patient after they have arrived but before they are selected for care. I want to push each patient onto a global list so I can run the program for five days and then examine the output in the global list. I could push the tokens in the Arrivals to the list but then I wanted to include three additional labels that occur after the program starts.

it's obvious that I don't understand all I need to know about pushing and pulling objects but I'm trying to learn, step-by-step, to use this feature. I could not find a tutorial for this type of 3D process.

thanks for your help.

Tee

Selecting Arrived Patients_5.fsm



FlexSim 21.2.4
push to list
· 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.

Tee Hiett avatar image Tee Hiett commented ·

@Jason Lightfoot Thanks for the prompt and helpful response. I thought the problem I was facing was something simple. If you're not sending anything to the list and you're not connected to the list, nothing will be sent to the list. I also appreciate your comment about the patients being transient.

I have a follow-on question that I will send to a separate post.

Tee

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Your push value is blank - so you're not pushing anything to the list.

You could enter token or patient and then have fields in the list look at attributes/labels of either of those - in this case it looks like you should enter 'patient' as the thing to push.

Lastly you should check that the push activity is actually linked to the list by highlighting the list:

1668338888678.png

In your model I didn't see the connection shown until I re-sampled the list from the push activity.

selecting-arrived-patients-5_jl.fsm

Note that patients are transient, so the 'value' field will become null (0x0) once they leave the system.

You could also use a stats collector for this.


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.