question

Idoia A avatar image
0 Likes"
Idoia A asked Roi Sánchez edited

Change Speed of Transporter in Process Flow

Hello,

I wanted to know if it is possible to change the speed of a transporter from the process flow, using some label for example.

Thank you in advance,

Idoia

FlexSim 19.0.2
transporter speed
· 3
5 |100000

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

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Idoia A,

Sure it is possible. But without your model or a sample model to look at, it is impossible to tell you how to do it for your specific model. Can you attach your model or a sample of the problem so that we can give you a more specific answer?

Thanks.

1 Like 1 ·
Idoia A avatar image Idoia A Jeff Nordgren commented ·

transporter-speed.fsm

Here is a simple model of what I would like to do.

Thank you.

0 Likes 0 ·
gilbert jerald avatar image gilbert jerald Idoia A commented ·

@Idoia A

You can directly set the speed limit between each Network node in the highlighted area. Is there any specific reason for you to set this speed via process flow?

Thanks

0 Likes 0 ·
image-1.png (22.7 KiB)

1 Answer

·
Roi Sánchez avatar image
0 Likes"
Roi Sánchez answered Roi Sánchez edited

Hi @Idoia A, alternatively, this code will also work for you:

Model.find("Transporter1>variables/maxspeed").value = 10;

You can use it in a custom code activity whenever you need 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.

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.