Reduce speed of transporter based on shift timings

Reduce speed of transporter based on shift timings

anjunittur123
Not applicable
75 Views
11 Replies
Message 1 of 12

Reduce speed of transporter based on shift timings

anjunittur123
Not applicable

[ FlexSim 20.0.10 ]

Hello,

I have a model in which transporter follows a specific network path and delivers items. For a particular path from network node NN2 to NN3 to NN4, I want to reduce the speed of transporter only in that path depending on the shift timings mentioned in the timetable as per model time .

The speeds of the transporter is given in global table. I want to control the max speed of transporter through global table values.

Also what state to use in the time table so as to control the transporter speed.

How to achieve this? Please help

forklift_speed_reduction_shifttimings.fsm

0 Likes
Accepted solutions (1)
76 Views
11 Replies
Replies (11)
Message 2 of 12

sri_vikas_k
Not applicable

Hi @hermione12

Controlling the speed on particular path is easy using the AGV paths. Did you consider that already?

Please refer to the model below how you can control the speed of the agv paths.

toolbox > agv paths> and load and unload speed.

forklift-speed-reduction-shifttimings_SVK.fsm

0 Likes
Message 3 of 12

jason_lightfootVL7B4
Autodesk
Autodesk

You can refer to this post on how to update the AGV speed tables.

0 Likes
Message 4 of 12

anjunittur123
Not applicable
Hi @Sri_vikas K can you please attach the model in 20.0.10 version? I am using the same version version and will be able to view your model
0 Likes
Message 5 of 12

sri_vikas_k
Not applicable

I am so sorry, Unfortunately I do not have that version.

agv-properties.jpg

you can refer to the above image to adjust the speed on the path.

forward speed and reverse speed.You can give the numbers directly.


0 Likes
Message 6 of 12

anjunittur123
Not applicable

Thank you but I do not want to control the speed only on particular paths but I want to control the speed based on shift timings using the flexsim simulation clock

for example from 9:00 to 9:30 AM the forklift speed should be 3m/s. After the time period the forklift speed should be updated to 25m/s. how to do this using code?

0 Likes
Message 7 of 12

anjunittur123
Not applicable
Thank you @Jason Lightfoot

But I want to control the transporter speed based on shift timings. how to do that?

0 Likes
Message 8 of 12

moehlmann_fe
Explorer
Explorer
Accepted solution

Have a label on the network nodes that controls whether they reduce the speed of passing travelers.

1668155391730.png

Depending on its value, set the maxspeed variable in the On Arrival trigger. Which value of "fromedge" triggers the reduction depends on the order in which the nodes were connected.

Object current = ownerobject(c);
Object traveler = param(1);
int toedge = param(2); //the number of the edge that the traveler is going to next
int fromedge = param(3); // the number of the edge the traveler came from

if(fromedge == 1 && current.ReduceSpeed == 1)
{
    traveler.setVariable("maxspeed", Table("GlobalTable1")[1][2]);
}
else
{
    traveler.setVariable("maxspeed", Table("GlobalTable1")[1][1]);
}

Switch the label value in the Down/Resume Function of the time table to switch the behaviour on and off.

1668155486267.png

forklift-speed-reduction-shifttimings_1.fsm

0 Likes
Message 9 of 12

anjunittur123
Not applicable
Thank you @Felix Möhlmann

For the same network node path, I want to control the speed during specific timings such as from 9:00 to 9:30 AM the speed reduction should happen, after that time period the forklift speed should be updated to original speed. In my model, model time starts at 8:00 AM.

In this case, where to include code and what logic to be used?

0 Likes
Message 10 of 12

moehlmann_fe
Explorer
Explorer

The logic above to build to allow that. In the time marked as downtime in the time table, the speed will stay the same (non-reduced) and during the "active" time in the time table it will be reduced when reaching the edge nodes from one of the queues.

1668171922325.png

forklift-speed-reduction-shifttimings_2.fsm

0 Likes
Message 11 of 12

jason_lightfootVL7B4
Autodesk
Autodesk

Sorry - I saw Sri's comment and answered about that - but you're not using AGVs.

0 Likes
Message 12 of 12

anjunittur123
Not applicable

Thank you @Felix Möhlmann it is perfect

0 Likes