question

anisbenamghar avatar image
0 Likes"
anisbenamghar asked Jeanette F commented

i want to make a gas station model

hello , i hope that you are dowing well

i want to make a gas station model

the detail that I want to illustrate is that in this type of station which are in series as shown in the picture , is that in the case where both pumps are busy then a third customer arrives on the waiting line, even if the first customer had finished his operation (the white car ) the third must wait for the second customer to finish his operation (the blue car) to be served, and even if the blue car has finished its operation she must wait for the white car to be able to exit and free up the place for the third .
I hope my explanation was clear and thank you in advance for your help can-you-use-a-safeway-gift-card-for-gas-featured-i.webp
FlexSim 19.1.2
gas station
· 6
5 |100000

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

Clair A avatar image Clair A commented ·

Hello @anisbenamghar, is it a student project ?

Is there a specific reason why you are using Flexsim 19.1 ? I advice you to upgrade to a newer version. You can download the latest installer on your FlexSim account. Then if you complete the tutorials 1 and 2 of this link https://tutoriels.flexsim.fr, it will help you a lot for your gas station model.

0 Likes 0 ·
anisbenamghar avatar image anisbenamghar Clair A commented ·
didn't know how to simulate the logoc
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @anisbenamghar,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
anisbenamghar avatar image anisbenamghar Jason Lightfoot ♦♦ commented ·
no , not yet
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ anisbenamghar commented ·
You could also use conveyors.
1 Like 1 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @anisbenamghar, was one of Joerg Vogel'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 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

A gas station can you see as a network with several loading points. Your customers are vehicles loading items. Receiving fuel is your loading time. All you need to do is to restrict the number of vehicles staying or using your network by number of travelers at a network node object or a traffic control object. You can tell them to travel to network nodes to once they get a transport job to load items. I would reuse the vehicles in my simulation instead of creating and deleting them. But this decision is yours.

Currently only operator items are existing to being used as moving items, but you can customize them to look differently by other shapes, if you want to have vehicles as items.

5 |100000

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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

I would start with a chain of queues in classic 3D modeling with connections. Each queue gets a possible maximum content of one. And all are connected to previous queue by a connection of exit of port number one. Each customer or in model speaking language an item has the free will to occupy a queue. A label at this item tells a queue whether to hold the item in the queue or not. You achieve this by command of holditem or by a return value of -1 in Send to Port function.. Last queue of such a chain of queues calls holditem on every entering item. This will keep a next entering item in it. The retrieving process of fuel is a delay of creating an event in the future, which will release an involved item to an exit port of number two. For example you can achieve this by a delayed message or secondary process of processing another item in a processor. In a case where you want a customer to exit the chain over last queue, you have to set a value to above mentioned label which lets pass the item in all queues of the chain instead of releasing it to output port number two. The exit connections are going to an object which represent your exit.

once your logic works as intended you replace your item by operator item class and add a logic procedure which uses this item as a transport to get to next object. You find such procedures in Use Transport option picklist items.

A different approach replaces queues by processors. But then you control passing pump station or receiving fuel by process time. If an item passes then its process time is zero. If it stays it has the actual processing time. Depending on exit strategy you send the item to next processor to output port one or two.

5 |100000

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