question

luis-rodrigues avatar image
0 Likes"
luis-rodrigues asked luis-rodrigues commented

Characterize the material

I'm working on a model and I'm trying to add more complexity.

I need to characterize the material from 1 to 3 to put different specifications (for example the "A" (3) material is loaded one table at a time and the "M1" (1) is two tables aka 2000kg each table at a time).

I started to assign labels in the queues but I don't think this is the best way.

Can you advise me on this one?

ml00-to-ml04.fsm

FlexSim 24.1.0
material logic
ml00-to-ml04.fsm (95.5 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered luis-rodrigues commented

This information should probably be added in a global table, so the information can be written to the tokens in the "Load Materials" sub flow and the respective number of items can be pulled from the storage list (then load and unload in a nested sub flow, so the number of transported items can vary).

· 22
5 |100000

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

luis-rodrigues avatar image luis-rodrigues commented ·

Thank you for your answer. Then it should be something like this:

1.png

2.png

I just don't know exactly the right way to get the values from the table to the label "Load" (1st picture).

ml00 to ml04 teste.fsm

0 Likes 0 ·
1.png (111.5 KiB)
2.png (79.7 KiB)
Felix Möhlmann avatar image Felix Möhlmann luis-rodrigues commented ·
If the row headers of the material type table are equal to the type names, then it would just be "Table("MaterialType")[token.Type][colNum]", where colNum is the column where the load number is stored.
0 Likes 0 ·
luis-rodrigues avatar image luis-rodrigues Felix Möhlmann commented ·

So I should replace colNum with the name of the column? If so, I'm getting an error saying that the label "Type" doesn't exist

1.png


0 Likes 0 ·
1.png (314.8 KiB)
Show more comments