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 Software > Q&A
FAQ Downloads Calendar Search Mark Forums Read

Q&A Using Flexsim and building models

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2015
koenslootmans koenslootmans is offline
Flexsim User
 
Join Date: Jan 2013
Posts: 17
Downloads: 2
Uploads: 0
Thanks: 10
Thanked 4 Times in 2 Posts
Rep Power: 87
koenslootmans is on a distinguished road
Default Network node dynamicly allow acces for 1 specific operator only

Hello,

I have the following problem,

On my network (controlled by traffic control)
I allow a nr of users on a controlled path.

When one specific type of operator enteres the networkpath, the path should be closed for all other operators untill he leaves,

I tried using the following code on the onentry trigger of the traffic control

/**Custom Code*/
treenode current = ownerobject(c);
treenode traveler = parnode(1);
//is this one connected to the replenishment trucks
if(tonum(inobject(traveler,1)) == tonum(DispatcherSpareReplenishmentRucks))
{
//treenode variable = getvarnode("maxactive",current);
setvarnum(current,"maxactive",1);
}

but the traffic control doesn't get reset.

Secondly would it be possible to close the path after the operator leaves the path, and then after open it but only for the same operator that just left?

It would simulate the following:
1 a repl truck enters an aisl
2 the aisle is now closed for all other operators
3 the truck will leave and enter the aisle multiple times but untill all replenishment is done the aisle should remain closed to all operators
4 after the truck finishes replenishment, it will open the aisle again to the other operators

Thanks for any help and or tips
Reply With Quote
  #2  
Old 06-22-2015
RalfGruber's Avatar
RalfGruber RalfGruber is offline
FlexSim Software Products
 
Join Date: Jul 2007
Location: Orem, UT, USA
Posts: 195
Downloads: 37
Uploads: 0
Thanks: 518
Thanked 294 Times in 124 Posts
Rep Power: 340
RalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to behold
Default

Koen,

you can use opennodeedge() and closenodeedge() to open and close single edges between network nodes. I do not know how to easily allow only a specific TE to move forward into the aisle.
Have you thought about using a different network for operators and trucks to replenish? in that case you could control nodeedges of one network based on the status of the other one.

Good luck

Ralf
FlexSim
Reply With Quote
  #3  
Old 06-23-2015
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: 637
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 Koen,

we had a similar question in the past. Then only a classtype was allowed to enter a controlled path. You find the approach here.

Jörg
Reply With Quote
The Following User Says Thank You to Jörg Vogel For This Useful Post:
koenslootmans (06-23-2015)
  #4  
Old 06-25-2015
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 446
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

Koen,

I felt your case was practical enough to deserve an example model.

The TrafficControl in the attached model will allow only one Replen operator in the area, otherwise "Maximum Number in Area" Pickers are allowed. Requests are handled FIFO. I added a label to the TrafficControl object, and modified the OnEntryRequest and OnExit triggers.

Forgive the fact that the pickers aren't actually picking.
Attached Files
File Type: fsm Traffic Control conditional entry.fsm (106.4 KB, 363 views)
Reply With Quote
The Following 4 Users Say Thank You to Kris Geisberger For This Useful Post:
arunkrmahadeva (06-25-2015), Jing Chen (07-10-2015), Jörg Vogel (06-25-2015), sagar bolisetti (06-27-2015)
Reply

Tags
network, on entry, traffic control

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set dynamicaly closing node edge in a network node Preethi Sivaramakrishnan Tips and Tricks 8 06-27-2013 01:35 PM
Network node error Lucie Lerivrey Q&A 1 04-08-2013 09:50 AM
Unloading an item or operator from elevator to specific coordinate Christian Norregaard Q&A 2 10-05-2012 12:42 AM
Call a specific operator Michael Hartlieb Q&A 3 06-29-2009 09:04 AM
Network Node Question Gavin Douglas Q&A 1 10-16-2008 02:24 PM


All times are GMT -6. The time now is 05:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.