question

Steven Chen avatar image
2 Likes"
Steven Chen asked Claire Krupp answered

Disable ASRS initial lift height

FlexSim 18.2.2
asrsbasicte
5 |100000

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

Phil BoBo avatar image
1 Like"
Phil BoBo answered
5 |100000

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

Claire Krupp avatar image
3 Likes"
Claire Krupp answered

Hi @Steven Chen , I know it has been a long time since you wrote this question, but I had the same problem, and I eventually found a solution which might help others.

Instead of switching off the automatic "return to home" tendency of the ASRS vehicle, I tricked it into thinking that the current level is it's "home" position.

I put the following custom code snippet in after each unload activity: (My ASRS vehicle is representing a shuttle in this case, token.shuttle.)


Object shuttle = token.shuttle;

double newlevel = 26 + (token.T_level-1)* 90.0;

shuttle.setProperty("InitialLiftHeight", newlevel);


This makes the ASRS vehicle stay at it's current location while idle.


I hope this helps anyone searching for the same solution.


Regards,

5 |100000

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