I built a simple model in Anylogic including system dynamics and state chart. In state chart, a variable named "StopRain" is 0 on odd days and 1 on even days. the