question

Chaochiang C avatar image
0 Likes"
Chaochiang C asked Jason Lightfoot commented

How to change patient speed with node?

TEST.fsm

How to change patient speed with node?
擷取.png

FlexSim 21.0.10
pathnodepatient speed
擷取.png (18.8 KiB)
test.fsm (45.5 KiB)
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Chaochiang C, was Jonah K'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

Jonah K avatar image
0 Likes"
Jonah K answered

See the attached file.

I was able to change the patient's speed at the node by making the node a destination itself. When the patient reaches the first destination, his speed changes from 10 to 3. (I increased the speed difference to make the change more visible) You can set the speeds to whatever you want by changing the values in line 8 of the custom codes in the patient flow tab.

Does that answer your question?

ChangePatientSpeed.fsm


5 |100000

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