question

Jodi B avatar image
0 Likes"
Jodi B asked Jeanette F edited

Traffic light

I'm creating a model with two types of trucks. Let's call them blue truck and yellow trucks. Both of these trucks enter a small space every day and operate within this space for a limited amount of time.Yellow trucks remain in the space for about 4.45 minutes while Blue trucks will be in the space for about 85 minutes. Yellow trucks are more important than the blue trucks and should have uninterrupted flow while loading its gargo in the small space. Blue trucks can only ofload its gorgo if yellow truck are not present in this space.

* 34 Yellow truck will enter the small space at any time from 6 AM to 4 PM .

*10 blue trucks will enter the small space at any time between 6 AM to 4PM.

I thought about implementing a traffic flow light .If the yellow trucks are in the small space a red light will stop the blue trucks from operating , if there are no yellow truck in the system a greenligt will go of and the blue trucks will ofload their cargo. But I'm not sure how to implement this logic.

Please help , thank you

FlexSim 21.0.10
prioritizationtraffic lighttrafic flow
· 5
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

What navigators and method of issuing travel tasks are you using?

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Jodi B,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

If your model contains sensitive information, you could first toggle your post as private using the "make private" option under your question's "gear" menu. Private questions are visible only to site moderators. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Jodi B avatar image Jodi B commented ·

I apologize for my delayed response.

ModelG.fsm

I've realized that using traffic lights will not work for my situation. Instead, I need to establish designated zones within the process flow. The goal was to ensure that only one truck is in a zone at a time. As intended, my model only allows one truck to enter a zone at a time. Unfortunately, I am struggling to get the priority of operation correct. My objective is to ensure that green trucks can always enter a zone one a time without waiting for blue trucks to finish their operations within that zone first, while blue trucks must always wait for the green trucks to complete their operations before entering a zone and should never impede the green trucks from operating. I have uploaded my model, and I'm hoping someone can help me fix this issue. Additionally, I would like to add a dashboard to measure the throughput of all the trucks, but I'm not sure how to do this.


Kind regards,

Jodi Botha"


0 Likes 0 ·
modelg.fsm (323.7 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Jodi B, was our 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 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Jodi B, was Jason Lightfoot's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

You can try implementing a queue strategy on the zones:

1694169848484.png

We encourage students to look through the documentation - in the case the information is under the zone's advanced tab.


1694169848484.png (12.1 KiB)
· 2
5 |100000

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

Jodi B avatar image Jodi B commented ·

Hi, I did use the queue strategy zones. But the blue trucks still enter before the 4th green trucks. I would like the blue trucks to always wait for the green trucks to finish Loding before entering a space.

This is my model, did I zone incorrectly

ModelJ.fsm

0 Likes 0 ·
modelj.fsm (322.9 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Jodi B commented ·

At time 140.72 the blue truck tries to enter zone1 and no other truck is in zone 1 so it does so:

1694622710004.png

I've added unique truck names, disabled the excel import and color coded the sources in this version.

model_jl.fsm

0 Likes 0 ·
1694622710004.png (60.7 KiB)
model-jl.fsm (320.8 KiB)