anylogic

How to set up an cyclic event on anylogic


Hi I have a problem on anylogic, i'm working on a ship which cross a bridge based on tidal wave, every day the high tide only occur at 8 am and last for 10 hours, ship will cross only there is high tide occur. i am using hold block. i have set my event "hightide" with timeout-cyclic category which first occurance at 8 and reoccurance in 24 hours, but how to make that the event only last for 10 hour and then back to low tide. what is happening on my simulation the ship cross at 8 am but after that the ship is on hold untul the end of simulation. how i can make this happen and the event repeat every day (i use hour time unit)

thank you, i'm really new at java and anylogic, event set

only unblock at 8 am, and didnt go at 32, 64, etc

every help and step by step is instruction will be really helpful


Solution

  • Easiest: add another 2nd event that triggers the "off" setting. Make it trigger at 6pm every 24 hrs