question

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

Another error in Acquire Transport

@Jeanette F helped me with this problem Here. But when I got back to the model and inserted a Push to List activity after the Pull from List activity in the Prep set of activities, I'm having the same type of problem. I'm trying to learn to use Lists so any suggestions would be welcome.

Thanks


tkc-endoscopy-030622-th-7.fsm

FlexSim 21.2.4
listsacquire transport
· 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.

Felix Möhlmann avatar image Felix Möhlmann commented ·
Could you provide some more details about your model? I don't quite understand what you are trying to accomplish by using the lists.
0 Likes 0 ·
Ryan Clark avatar image Ryan Clark commented ·

Hi @Tee Hiett, was Jeanette F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jeanette F avatar image
0 Likes"
Jeanette F answered Tee Hiett commented

Hello @Tee Hiett,

The push to list activity will keep tokens on the activity until the value pushed to the list is pulled from the list. This is a feature to help with synchronization. However, that is not always desired. In your case, I do not think it is. You will want to check use max wait timer and keep entries on list

1646688349225.png

I think you will also want to push the gurney label back onto the list of available gurneys when you release the gurney at the end of your patient flow.

1646688522093.png

tkc-endoscopy-030622-th-7_JF.fsm


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

endoscopic Lists.jpgendoscopic layout.jpg

Thanks @Felix Möhlmann for your request. I'm not sure what I'm doing either so I am trying to explain what I envision to myself. I'm not even sure this will work.

Thanks @Jeanette F for your answer. I will give it a try and get back to you later. Right now I invite you to look at my attempt to explain what I envision.

As you can see in the JPEG file attached that there are three primary areas in this process: the Prep Bays, the Procedure Bays and the Recovery Bays. The program begins with clean gurneys in the Prep Bays and the Recovery Bays and in the PrepGurneyAvail list and the RecoveryGurneyAvail List.

The arriving patient is moved to the first clean gurney in an unoccupied Prep Bay. The gurney from the Prep Bay is moved from the PrepGurneyAvail list to the PrepGurneywithPatient list.

After preparation, the gurney with the patient is moved to the Procedure Bay specified in the patient’s label. At this time, an available gurney from the Recovery Bays is moved to the first available bay in the Prep Area and moved from the RecoveryGurneyAvail list to the PrepGurneyAvail list.

After the Procedure, the gurney with the patient is moved to the first available Recovery Bay and moved from the PrepGurneyWithPatient list to the RecoverGurneyWithPatient.

After Recovery, the patient leaves the model and the gurney is cleaned in the Recovery Bay. The gurney is moved from the RecoveryGurneywithPatient list to the RecoveryGurneyAvail list.

Tee


0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Tee Hiett commented ·

Hello @Tee Hiett,

I have implemented lists to accomplish what you have asked. The token pulls and pushes the gurney from/to lists to show at what stage the gurney is being utilized. When the gurney is first pulled from available prep gurneys I assign it to another label so that the same gurney is pulled from the lists later on. I also use lists to assign the prep bays and recovery bays to so that there is a proper rotation of gurneys. Please review the model and let me know if you have questions with how something functions.

tkc-endoscopy-030622-th-7_JF_4.fsm

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett Jeanette F ♦♦ commented ·

Looking good. I'll get back to you when I've had time to digest what you have accomplished.

Thanks.

0 Likes 0 ·
Show more comments
Tee Hiett avatar image Tee Hiett commented ·

Aquire Gurney.jpg

The error I'm getting is not with the Push to List but with the Acquire gurney. As you can see in the attached JPEG file, the two tokens have already pushed the two gurneys onto the list and are waiting for the Acquire Gurney so we can move on in the process.

I cannot figure out what is keeping the tokens from moving on to the Acquire Gurney activity.

Thanks for any help with this



0 Likes 0 ·
aquire-gurney.jpg (177.6 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Tee Hiett commented ·

At what time are you experiencing this? If I run to completion then there are none waiting at that point in PCT Prep.

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett commented ·

See the last response by @Jeanette F above.


0 Likes 0 ·

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.