question

Amit Kulkarni avatar image
0 Likes"
Amit Kulkarni asked Amit Kulkarni commented

Dedicated Parking Spot By AGV type

Dedicated_Parking_Spots.fsm

In attached model there are 3 AGVs with type DefaultAGV, and 1 with type RedAGV. There are 4 parking spots available and I want to dedicate a parking spot based on AGV type. For example, only a RedAGV can strictly charge at the dedicated spot and not at any other available spots. Similarly DefaultAGV type AGVs cannot claim the charging spot dedicated to RedAGV.

How do I achieve this?

FlexSim 21.0.3
agvflexsim 21.0.3parking points
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 Amit Kulkarni commented

When pulling from the parkingPoint list we need something to match with the AGV - and it can't be partitioned by something as the ParkPoints are already partitioned by control point.

I set a reservedColor label on the park Control Points matching the AGV colors and then in the ParkPoint list added an expression called 'colorMatch' base on the puller's color (I changed the puller to the AGV instead of the token).

You could match on something else - a different label value.

dedicated-parking-spots_jl.fsm


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

Amit Kulkarni avatar image Amit Kulkarni commented ·

Thank you!

0 Likes 0 ·