Script for FluxMotor

Hi All,
I wanna to write some python to control the FluxMotor to do some simulation. How can I achieve this?
The backgroud of this problem is given as bellow. I need to generate some data to train the ANN model to predict the performance with a surrogate model. So, I need to do batch simulation with python script.
Any comments is highly valued.
Jinlong
Answers
-
Hello
For the moment we don't have a dedicated example for scripting with FluxMotor, but this is of course possible. The best way to find some scripting examples is to use the export motor script functionality of FluxMotor 2022.1.
- Edit New or MotorCatalog motor’s and launch the debug mode window (Ctrl D or Debug mode from MotorFactory menu)
- In Debug Mode, open the “Actions” tab , choose Export motor python script and choose a folder where the script will be
exported
- This generated script represent a rich panel of the scripting power of FluxMotor and could be launch in Scriptfactory.
Please note, that in Beta mode you can also access to scripting Factory available from FluxMotor.
Regards
0