Hi all,
please find attached my simplified model.
The goal of this simulation is to water plants 3 times a day. In order to check if plants (in this case palets) need water I am asigning a label called NeedWater. At the beginning (in the morning) the plants are loaded on the red conveyor and NeedWater is set at 0. The decision point checks wether NeedWater is 1 or 0. If it's 1, the red conveyor ouput port is being openend in a costum code. There are 3 operational times a day during which the plants are watered. During these operational times NeedWater is set to 1 in order for the shuttle to loop the plants through the blue conveyor. Once one loop is done, the label is set to 0 again. This is also done by the custom code "on down" in time tables.
Problem: When NeedWater is equal to 1 the port opens (this seems to be working) but lets only one flowitem through and the rest stops.