question

xin avatar image
0 Likes"
xin asked xin commented

How to change the seconds of traffic lights individually ?

One of the traffic light seconds is

Red light: 120 seconds;

Green light: 50 seconds

Yellow light: 4 seconds


Another traffic light is

Red light: 125 seconds;

Green light: 25 seconds;

Yellow light: 4 seconds

Since our traffic lights will change together due to the change of a traffic light, we hope that the time of each traffic light is different, hope you can help us answer. please!!!!!!!


traffic.fsm

FlexSim 20.1.3
traffic lighttrafficcontroltraffic flow
traffic.fsm (106.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered xin commented

Use a process flow with delays to change the state of the lights according to your pattern and have them loop around (use Object Process Flows ideally with labels to customize your light objects' behaviors)

1685621199813.png


1685621199813.png (9.4 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

xin avatar image xin commented ·
Ok, thank you!!!
0 Likes 0 ·