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
Downloads

Q&A Using Flexsim and building models

  #1  
Old 11-12-2013
Cristian Ramirez Cristian Ramirez is offline
Flexsim User
 
Join Date: Dec 2012
Location: Vancouver, BC
Posts: 6
Downloads: 9
Uploads: 0
Thanks: 6
Thanked 1 Time in 1 Post
Rep Power: 0
Cristian Ramirez is on a distinguished road
Default Right of way in a traffic controlled area

Hello,

I want to implement in a model a priority schema (right of way) to grant access to a controlled area based on some characteristic of the TE. The controlled area is enclosed by a trafficControl object.

Please refer to the attached picture.
- There is one-way segment between Point A and Point B controlled by TrafficControl object (capacity is set to 1).
- Empty trucks enter the segment through Point B, while loaded trucks do it through Point A.
- Currently, whoever reaches the entrance point (or requests entry) first will cross the one-way segment first.

The desired behavior is that loaded trucks have the highest priority and should cross the segment first, and as soon as the segment becomes available. It should not matter that an empty truck has been waiting at the entrance point (Point B) for a longer period of time.

My questions:
Can we assign a priority to the entry requests in order to keep empty trucks always at the bottom of the list, prioritizing the loaded ones? Handling of request by the traffic control object should be based on this priority.

I saw in the tree that the trafficControl object stores the requests list under /variables/requests. Are there any commands to manipulate this list?

Thanks in advance

Cheers

Cristian
Attached Thumbnails
Click image for larger version
Name:	One-way-segment.png
Views:	121
Size:	25.5 KB
ID:	2351  
The Following User Says Thank You to Cristian Ramirez For This Useful Post:
Jörg Vogel (11-13-2013)
  #2  
Old 11-13-2013
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 Cristian,

I haven't found a method to access the information in the content of the node "requests". But if you build your own filter with an additional network node and if you use the method described in this thread you can grant loaded trucks mostly the access to your controlled path. The methods described in mentioned thread have a fault. The amount of Taskexecuters on the network isn't controlled anymore.

Jörg
The Following User Says Thank You to Jörg Vogel For This Useful Post:
Cristian Ramirez (11-13-2013)
  #3  
Old 11-13-2013
Cristian Ramirez Cristian Ramirez is offline
Flexsim User
 
Join Date: Dec 2012
Location: Vancouver, BC
Posts: 6
Downloads: 9
Uploads: 0
Thanks: 6
Thanked 1 Time in 1 Post
Rep Power: 0
Cristian Ramirez is on a distinguished road
Default

Thank you Jörg,
I tried the solution from the other post and works as expected: the loaded trucks are free to enter the controlled area without any trouble. The problem is that loaded trucks still need to give way if the segment is already taken by an empty truck.

In your post you mentioned "building a filter with an additional network node". Could you elaborate on that, please?

Thanks

Cristian


Thread Thread Starter Forum Replies Last Post
Traffic Controll Uri Schtalheim Q&A 1 12-07-2011 10:58 AM
Three questions about road traffic simulation Frans Zeng Q&A 4 08-11-2011 02:09 AM
Road traffic mallik Q&A 3 09-25-2009 12:55 PM
Random generator for Yard Block Area and Transfer Area John Kim Container Terminal (CT) Library 1 09-21-2009 10:59 AM
Modeling Traffic Flow DavidStun Pre-sales Questions 2 03-11-2009 11:35 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.