question

Anutt K avatar image
0 Likes"
Anutt K asked Anutt K commented

How to create logic of double parking in auto car parking garage.

Hello. From my model to build Auto car parking garage. This is Car OUT process. The black AGV will be shuttle. It will be travel to take the green AGV to lift and logic of Car OUT process.

And my new problem want to modify or adjust this process for use with the double parking.

1667870865756.png1667871031216.png

I use this logic for Car OUT process. In OUT Order source that will be create token to be a order unit, the order are decide round robin to order each level of each lift, you will seen in each lift will have 3 set of logic.

1667872113788.png

From the logic of Car OUT. It must know where is the car and location for order the shuttle for go to take the car. That is necessary to have Pull from List activity : Pull OUT_A in Car OUT logic it will pull form big list : Car OUT. And you will seen Create Car OUT order. It will be create any car at parking slot on each parking slot of each level of each zone for simulate Car OUT process. When start model the car will be create and pushing to list Car OUT of each zone and dividing partition in list by level (Ex. level 1 = partition 1).

1667872741853.png

So. The create Car OUT it will know where is the slot to create car by pull from list : Floor 1_A, 2_A, 3_A, 1_B, 2_B and 3_B of each zone and level.

1667873024259.png

And the list of each Floor will be use the global list in toolbox it be Fixed Resource list and each list of Floor will have Initial Content from each group of the same name of list. So in each group will have member at be each parking slot of each level and zone by name of group.

So. That is Car OUT process logic.

From aforementioned. The problem how can I do the logic of double parking.

1667874187339.png1667874222964.png

From the picture you can seen it will have slot as be double parking at both zone (A and B zone). How can create logic or modify solution for if the order token arrival and it can know the destination of car for take it out are parking as double parking (parking in inside row) and the shuttle will be taking the car at parking in front of inside car to near empty slot then will taking inside car to lift.

I'm not sure how can I modify logic for build this.

I has attached model file here. Thank You So Much.

Test Double Parking.fsm


FlexSim 22.1.1
parkingcar parkdouble parking
1667870865756.png (623.2 KiB)
1667871031216.png (73.0 KiB)
1667872113788.png (87.9 KiB)
1667872741853.png (126.8 KiB)
1667873024259.png (85.4 KiB)
1667874187339.png (176.6 KiB)
1667874222964.png (129.7 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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Anutt K commented

You add a label as a flag indicating that a parked car is blocked by another one.
Actually you could check the length and rank of items in a slot doing the same.

· 9
5 |100000

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

Anutt K avatar image Anutt K commented ·

1667890865148.png

Do you mean I should assign label like "status" and assign value as "y location" of parking slot at inside it has blocked car.

1667890874311.png

And use condition decide for select Car OUT logic between normal logic and blocked logic.

For example. If y location of parking slot = 27.62 it will select blocked logic.

And. If y location of parking slot != 27.62 it will select normal logic.

Do I understand correctly?

0 Likes 0 ·
1667890865148.png (212.4 KiB)
1667890874311.png (226.9 KiB)
Felix Möhlmann avatar image Felix Möhlmann Anutt K commented ·

Yes, I believe that is what Jörg is suggesting. Instead of using the location coordinates I would recommend to use the pickRank property. It would be 1 for non-blocked cars and 2 for blocked cars.

Assuming you have a reference to the car (for example "token.car_out"), you access that value with the following while it is stored in the floor storage.

Storage.Item(token.car_out).assignedSlotItem.pickRank
0 Likes 0 ·
Anutt K avatar image Anutt K Felix Möhlmann commented ·

If I'm not mistaken. From discription in FlexSim doc "the last item in a Floor Storage has a pickRank of 1 ". So this mean a Floor Strage or Rack will has any slot. But in my model I use 1 Floor Storage by 1 slot.

1667898310622.pngWhen I use assign Label at label name "status" the value of label will be 1 always.


0 Likes 0 ·
1667898310622.png (209.4 KiB)
Show more comments