question

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

Assign Priority of AGV charging sequence sort by battery capacity.

Now I can assign charging time of AGV by use Time Table.

1664784313725.png1664784346285.png

From photo I use control point to be charge station and add all 30 station to group.

In process flow is be logic of AGV charging. Now the ratio of AGV and Charge Station is 1 : 1.

I want to change the ratio to AGV=30 : Station=24 or 25 and assign priority of AGV charging sort by Battery cap. from Lowest to higher.

I want to know some solution to do this. Thank You

Charging Break Spair.fsm

FlexSim 22.2.2
agvtask sequencepriorityagv recharge
1664784313725.png (85.4 KiB)
1664784346285.png (165.4 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·
@Anutt K , Have you thought about to build an instanced process flow instead of build x times equal processes. There is a tutorial about this approach!
0 Likes 0 ·
Anutt K avatar image Anutt K Joerg Vogel commented ·

I don't understand. Can you give me some example of model building logic that you mean. Or where can i find it as tutorial. Thank You

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Anutt K commented ·

https://docs.flexsim.com/en/22.2/ModelLogic/ProcessFlowBasics/TypesOfProcessFlows/TypesOfProcessFlows.html#instances

It's best to think of them as behaviors to which objects can subscribe rather then clones etc.. You can have different types of object subscribe to a failure process for example or a custom battery process which each spans different classes.

The point here is that you can define the process once and have many objects subscribe to that behavior by becoming member instances, rather than modelling each one as you have in your model.

2 Likes 2 ·
Show more comments

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Anutt K commented

Put your charging stations on a list and have the AGV pull from the list when it needs to charge.

Have the list sort backorders by agv charge for the case when all are taken.

Create an instanced process flow for the AGV,s rather than the charging stations.

Is this a student assignment?

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

No. It is my job in company.

Do you mean 1 station to 1 list right? It a list in general process flow?

And use AGV Logic in AGV process flow type and attached AGV in it.

Did I get that right.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Anutt K commented ·
No put the charging stations on a global list. The initial values can be a group containing all the charging stations if that's easier.


Your profile suggests you are in education, so it might be a good idea to have your profile updated.

0 Likes 0 ·
Anutt K avatar image Anutt K Jason Lightfoot ♦♦ commented ·

OK. Now I'm updated my profile.



0 Likes 0 ·
Show more comments
Anutt K avatar image Anutt K commented ·

My work flow is be all AGV will charging when model arrival at break time. That can see in model file it like a photo.

1664876686350.png

Then. If the ratio of AGV and Charging Station has be 30 AGV : 24 Station (or 25 or 26 Station). Of course, the number of Station are less than number of AGV.

So, I want to sort the AGV for go charging by assign sequence from battery cap.

0 Likes 0 ·
1664876686350.png (26.0 KiB)