ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > Flexsim CT > Container Terminal (CT) Library
Downloads

  #1  
Old 12-11-2011
Shahin Gelareh Shahin Gelareh is offline
Postdoctoral Researcher
 
Join Date: Sep 2011
Location: Polytech'Lille, France
Posts: 100
Downloads: 93
Uploads: 0
Thanks: 46
Thanked 3 Times in 3 Posts
Rep Power: 112
Shahin Gelareh is on a distinguished road
Default Are cranes aware of the objects?

Hi everybody,
A Crane is unloading and uploading containers, but it seems to me non-trivial how to inform the rest of my environment that what kind of container the crane is planning to discharge or upload and asking the crane to wait until certain circumstances are fulfilled.
Is there any trigger associated to the cranes such that we can set a global variable about the next job (currently) especially for those which is going to discharge.

any comment is appreciated.
  #2  
Old 12-12-2011
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

Hello Shahin,

a crane is a taskexecuter. As long as the taskexecuter execute a tasksequence the next tasksequence isn't choosen and you don't know nothing about the next item to load. There is a possibility, that the next tasksequence will be the first in the tasksequencequeue or the one with the highest priority. But until flexsim choose the tasksequence you can't be absolute sure what is going to happen. There maybe a new taskesequence with a higher priority in the meantime or you change the priorities of the tasksequences in the queue.
If you think that all doesn't matter to you. You can querry the tasksequences in the tasksequencesqueue in your taskexecuter or in the dispatcher if you use one. Have a look in the help users manual > Task Sequences > Querying Information on Task Sequences. If you haven't changed the standard tasksequence or have built your own, then is the reference to the item to load in the second task in the first involved number or:

Code:
treenode nextTS = gettasksequence(current,1);// assuming you querry in the taskexecuter and you haven't any dispatcher
treenode itemToLoad = gettaskinvolved(nextTS, 2, 1);
Jörg
The Following User Says Thank You to Jörg Vogel For This Useful Post:
Shahin Gelareh (12-12-2011)
  #3  
Old 12-12-2011
Shahin Gelareh Shahin Gelareh is offline
Postdoctoral Researcher
 
Join Date: Sep 2011
Location: Polytech'Lille, France
Posts: 100
Downloads: 93
Uploads: 0
Thanks: 46
Thanked 3 Times in 3 Posts
Rep Power: 112
Shahin Gelareh is on a distinguished road
Default

Thanks for the comment.
seems to be quite challenging.


Thread Thread Starter Forum Replies Last Post
Multiple Cranes - best way JMEngelhart Tips and Tricks 4 03-09-2015 09:30 AM
Double Hoist Cranes James Morley Container Terminal (CT) Library 3 10-22-2012 11:40 PM
change the objects in self modeled objects Manuel Kraenzle Q&A 7 10-27-2008 02:29 PM
Isolating Operator from overhead cranes Nathan Dwyer Q&A 1 08-27-2008 06:25 AM
Can’t stop cranes colliding Kenny Macleod Q&A 8 07-16-2008 10:18 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.