This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at 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.

Go Back   FlexSim Community Forum > FlexSim Software > Flexsim Student Forum
FAQ Downloads Calendar Search Mark Forums Read

Flexsim Student Forum Forum for discussion for Flexsim Students using the Flexsim Textbook.

Thread Tools Display Modes
Old 04-11-2016
Posts: n/a
Downloads: 1
Uploads: 0
Question How to open and close the queue input/output every 30 sec?

Dear all,

I am doing a transportation traffic road simulation with flexsim 6.0 version.

i have created the 5 sources representing 5 different vehicles and connect them to the queue (for the vehicles can go to random port) and then 2 same direction conveyors and finally sink.

Now i wish to the vehicles can pass through the queue every 30 sec, which means that 30 sec allow the car pass through and stop the car for another 30 sec. But i do not know how to do and i have limited knowledge on programming code.

Great thanks
Reply With Quote
Old 05-10-2016
Adarsh Jeyes
Posts: n/a
Downloads: 3
Uploads: 0

It would be helpful for users to understand your problem better if you could attach a sample of your model along with your question.

As far as I've understood, you want to alternatively open and close the input/output of the queue every 30 s.

Assuming model units in seconds, and working only with the output of the queue, use the following code on the queue:



Reply With Quote
The Following 4 Users Say Thank You to Adarsh Jeyes For This Useful Post:
Jing Chen (05-10-2016), Jörg Vogel (06-02-2016), Phil BoBo (05-11-2016), Sebastian Hemmann (05-12-2016)


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
Open and Close Output Herwina Richelle Andres Q&A 4 03-22-2016 09:59 AM
Close or open the output for the source Ismail Benabicha Flexsim Student Forum 2 04-30-2015 01:13 PM
Close and Open ports in Processor every 80 seconds? Gaurav Majumdar Q&A 2 07-17-2013 11:19 AM
How to open/close a single port in objects Manoj Kumar Q&A 12 04-23-2013 07:21 AM
How to open/close processor when there is a long queue Lilian_wulp Q&A 5 12-03-2008 08:51 AM

All times are GMT -6. The time now is 04:28 PM.

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