question

AlexGS avatar image
0 Likes"
AlexGS asked Julie Weller answered

Python to Flexsim Connection

Hello! I am trying to connect Python to one of my simulations in order to start testing machine learning inside flexsim. Has anybody connected python to flexsim succesfully? I am having a lot of trouble.

FlexSim 22.2.4
pythoninteraction between flexsim and pythonflexsim python
· 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.

1 Answer

Julie Weller avatar image
2 Likes"
Julie Weller answered

Hey @AlexGS! It's not too difficult to connect python to flexsim. Try checking out this doc that explains it in the user manual

https://docs.flexsim.com/en/23.1/Reference/DeveloperAdvancedUser/ConnectingToExternalCode/ConnectingToExternalCode.html#page-header

You could also check out this post which could explain in more detail how to connect the two:

https://answers.flexsim.com/questions/142548/how-to-get-python-to-read-a-table-in-flexsim.html?childToView=142674#answer-142674

Do you have a more specific question about connecting to python?

5 |100000

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