Connect flexsim and python via Socket
python as client flexsim as server
python is responsible for passing variables to flexsim
flexsim take variables to scenario and executes experimenter
After flexsim executes the experimenter, the value is passed to python
Execute repeatedly until the algorithm reaches the number of iterations
But the number of iterations has not been reached, flexsim will crash or stop working
How to solve??