What are the keywords in the pyaedt-command analyze_setup(allowed_distribution_types=...)
Hello,
I am trying to automate a Maxwell2D simulation using pyaedt.
To do so, I have the command:
M2D.analyze_setup(name="Setup1", use_auto_settings=False, num_tasks=10, num_cores=21,allowed_distribution_types=['Optimetrics', 'Transient Solver']).
But it seems that the strings that command the allowed_distribution_types are not correct.
Can anybody tell me the correct names so that I can change the settings as intended?
In the pyaedt-documentation, you just find that it shall be a list of strings, but no further hint is given.
Thanks
Richard
Answers
-
Hi @Richard,
Thanks for your question.
I'd suggest a different approach, if you have a look at the method analyze() you'll see that it accepts an argument called acf_file where you can provide the path to the .acf file. The .acf file contains all the settings of your analysis configuration and you can get it by exporting it from AEDT:
Then you can pass this file to the analyze() method specifying the setup you want to analyze in the setup argument.Hope this helps!
Kind regards,
Giulia
0