question

xin avatar image
0 Likes"
xin asked Julie Weller commented

How to make a traffic light that can stop all cars for 90 seconds

How to make the traffic signal at the intersection of Flexsim take turns to stop for 90 seconds like a normal intersection (all cars need to stop at the red light for 90 seconds), I hope you can help us solve it quickly, please!

car.fsm

FlexSim 20.0.10
traffic lighttrafficcontroltraffic flow
car.fsm (79.5 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.

Julie Weller avatar image Julie Weller commented ·

Hi @xin, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

Your model has exceptions - it's good practice to remedy those before posting.

At a junction you need to stop and resume the items - that's easily done on a conveyor - and you can coordinate a number of cars that are stopped with a process flow.

Also consider using the TaskExecuter flowitem and network nodes with a traffic controller.



· 4
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 ·

Thank you! In addition, when the straight car is blocked by congestion, how to let the lateral car see the traffic jam in front and stop instead of passing the car

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ xin commented ·

Using network nodes? Set the network path to non-passing.

0 Likes 0 ·
xin avatar image xin Jason Lightfoot ♦♦ commented ·

If I use a conveyor belt, can I set it to non-passing?

0 Likes 0 ·
Show more comments