Run FlexSim models by remote server

Run FlexSim models by remote server

libby_w2
Not applicable
92 Views
3 Replies
Message 1 of 4

Run FlexSim models by remote server

libby_w2
Not applicable

[ FlexSim 19.1.1 ]

Hi everyone,

I have a algorithm program that output parameters and run on a Linux OS. I'm trying to find solution about the algorithm program calling the simulation model remotely and giving those parameters for FlexSim model, after simulation FlexSim will send some result data back to the algorithm program.

I've got a .bat file to start the FlexSim, but how to run it via a Linux OS?Can anyone gives me some tips or demo model?

0 Likes
Accepted solutions (1)
93 Views
3 Replies
Replies (3)
Message 2 of 4

sebastian_hemmannE3JAU
Collaborator
Collaborator

Hi @Libby, as far as I know FlexSim is not running on another OS than Windows. Maybe you are looking for the FlexSim Webserver and run FlexSim on another machine!?

0 Likes
Message 3 of 4

libby_w2
Not applicable

Hi,sebastian

my FlexSim model is running on Windows OS, but the algorithm program is running on a Linux OS.

I want to run FlexSim model automatically, it seems FlexSim Webserver could not satisfy requirements .

0 Likes
Message 4 of 4

philboboADSK
Autodesk
Autodesk
Accepted solution

You can execute FlexSim from a command line: https://answers.flexsim.com/answers/21375/view.html

How to execute command line functions on a Windows PC from a Linux PC is beyond the scope of FlexSim technical support. That's not a FlexSim question; that's a Linux question. For example: https://stackoverflow.com/questions/238013/invoking-windows-batch-file-from-linux

The easiest way to communicate with FlexSim on a different machine is to use HTTP requests to the FlexSim WebServer, and have the WebServer start instances of FlexSim and communicate with them.

See https://docs.flexsim.com/en/20.1/Reference/DeveloperAdvancedUser/Webserver/#custom

You can do a whole lot more with the FlexSim WebServer than just viewing the default page of a model from a web browser. It can facilitate any kinds of communication with FlexSim via HTTP.



Phil BoBo
Sr. Manager, Software Development