How can I change the configuration of a machine during simulation?

How can I change the configuration of a machine during simulation?

hamza_bouzekri
Not applicable
28 Views
6 Replies
Message 1 of 7

How can I change the configuration of a machine during simulation?

hamza_bouzekri
Not applicable

[ FlexSim 22.2.0 ]

0 Likes
Accepted solutions (1)
29 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

What aspects of the machine do you class as 'configuration', and what is/are the counterpart object(s) you are using in FlexSim?

You can access the properties of an object through setProperty(). You can write expressions in the fields of the object's properties panel that alter timings based on the items being processed.

You need to tell us more about what specifically you're trying to do.

Message 3 of 7

joerg_vogel_HsH
Mentor
Mentor
  • Process Time:

In statistical distribution you replace values by labels or parameters. You can change values during simulation.

  • Output Ports:
    Send to Port you do the same
  • Change rank of connection port numbers

drag or delete connections by command. You must open input port for this kind of connection by command.

  • execute strings containing commands
  • change predefined different behaviors in switch by case structures
0 Likes
Message 4 of 7

hamza_bouzekri
Not applicable

I want to reconfigure machines by changing modules like the attached picture.microsoftteams-image.png

0 Likes
Message 5 of 7

hamza_bouzekri
Not applicable

I want to reconfigure machines by changing modules like the attached picture.

microsoftteams-image.png

0 Likes
Message 6 of 7

clair_augsburgerZGWRZ
Collaborator
Collaborator
Accepted solution

If you only want to change visual, you could use a Processor object and edit its animations to add your modules as components:

1672134350944.png

Then each configuration could be defined in a global table, where you save whether you want to show/hide this module for that specific configuration, and the module xyz coordinates.

1672134572450.png

In the attached model 2022-12-27 Reconfigurable Machine Tool.fsm, I change the processor's visual configuration on setup finish, based on the table above and the product type:

gif1.gif

0 Likes
Message 7 of 7

hamza_bouzekri
Not applicable
Thank you very much Clair, this is exactly what I wanted.
0 Likes