I am running a model of a Renaissance festival, and at closing time, I would like to send all my patrons (flow items) to the exit (sink), but can't seem to find a way to program that.
I am running a model of a Renaissance festival, and at closing time, I would like to send all my patrons (flow items) to the exit (sink), but can't seem to find a way to program that.
Gil,
Here is a possible solution for you:
You may run into problems if you have large queues as the send to port is executed when the flowitems enter the queue. You can get around this by having a small one person queue at the front of each long queue. Another alternative would be to set ParkClosed to 1 prior to the park closing as a way of indicating that the lines to any rides/exhibits/etc. are now closed.
I hope this helps,
Brandon
Sorry for asking more questions, but I did make the global variable. I'm having some issues getting the time table to sync to it, though. I can't seem to add it as a member.
If you set in the time table the down time as the state of closed park, then change to the Functions Tab and open the source code editor at the On Down Function. Then you write behind the last line of the source code:
ParkClosed = 1;
I have tried that, but for some reason, it doesn't update the variable?
4 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved