question

Le_thanh D avatar image
0 Likes"
Le_thanh D asked Jason Lightfoot commented

How to adjust speed taskexcuter at collision position

Hi everyone, i have a problem about adjustment speed taskexcuter at difference position in flexsim, help me please,... my model is below:
Project.fsmscreenshot-8.png

FlexSim 18.0.10
how to adjust speed at accident collision position
screenshot-8.png (285.4 KiB)
project.fsm (93.7 KiB)
5 |100000

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

1 Answer

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

The simplest method is to set the maxspeed using a preempting task sequence. See this post. In version18 you'll need to use setvarnum(current,"maxspeed",54).

Attached is your example.

project_jl.fsm


project-jl.fsm (56.0 KiB)
· 4
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 ·

If the goal is to have the task executer travel slower on certain sections of the path, you could also react to the arrival on network nodes and set the speed depending on the travel direction (given by the 'toEdge', the connection the traveler will use next).

SpeedChangeExample_fm.fsm

0 Likes 0 ·
Le_thanh D avatar image Le_thanh D Felix Möhlmann commented ·

I have a several small problem about the labels in my model. this model is related to the article. How to use and set the labels in my model? Can you help me check the labels in my model ? whether it is actived correctly. Thanks you so much. My model and article is below:

0 Likes 0 ·
Le_thanh D avatar image Le_thanh D commented ·

I understood it. Thanks for details instructions which you comment. But i have a several small problem about the labels in my model. this model is related to the article. How to use and set the labels in my model? Can you help me check the labels in my model ? whether it is actived correctly. Thanks you so much. My model and article is below:

project-123.fsm

article.pdf

1656067538242.png1656067547811.png


0 Likes 0 ·
1656067538242.png (318.0 KiB)
1656067547811.png (275.8 KiB)
project-123.fsm (57.8 KiB)
article.pdf (3.5 MiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Le_thanh D commented ·
For information about the reference model I'd suggest you contact the author.
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.