AnyLogic 6 Discussion

Hello, i am student of Engineering, Chile. I would like to learn to use the clock and block Anylogic servers at certain times. For example: How can I simulate a bank that operates from 9:00 am until 14:00 in coordination with the clock Anylogic?. Assuming people waiting in line hours before the start. How can I lift a blockade at a certain hour? forgiveness for my translation thank you.
Hi Leo, I think you need to, - Set the Project -> "Simulation: Main" -> Model Time -> [x] Use Calendar (yes use it) Stop: Stop at specified time Start Time: 28800.0 Start Date: 20 June 2007 08:00:00 Stop Time: 50400.0 Stop Date: 20 June 2007 14:00:00 If you'd like to change the start/stop time, you should change "Start Time" or "Stop Time" accordingly which states seconds of the day (for instance 50400 is the second of 14.00.00 at that day) And for queue processing start time, you should set "Capacity Defined" to "By table over time" of ResourcePool and use a function table which states how many tellers are working at what time. By that way you can say there are no service before 09:00 AM although queueing is open for clients. Hope clear.
thank you Dincer, now i will check. Leo
Not at all... Maybe it is also what you are looking for, as me formerly: http://www.xjtek.com/support/forum/anylogic6/311/
Thank you Dinçer. Your support has helped me a lot. Do you know how I can lock (properties: initially blocked) and unlock an object HOLD to a certain hour?. The purpose HOLD what I want to locate after a QUEUE and before a DELAY. for example, unlocking the object DELAY at 12:00 and then lock the object DELAY at 14:00 Excuse my English. Thank you. Leo
Hi! You may type the code like the following in the "On enter" field of "Queue": if(getHourOfDay() >= 12 && getHourOfDay() <= 14 ) hold.setBlocked(false); else hold.setBlocked(true)
thanks Pavel, that's exactly what I want. Leo