The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Dear all,
would like to run MotionView in batch mode. According to the online help, when running the batch file, the corresponding selected solver (MotionSolve in this case) should also be run automatically. Unfortunately, this is not the case for me.I hope someone can help me with this problem.
GreetingsHE
Hello Hendrik
Could you please confirm the following ?
1. Are you able to run MotionSolve interactively from MotionView GUI ?
2. with the command that you provided above, was the xml (V01_C_Mix_Super_ULS.xml) generated in the given directory ?
Answer to the above questions will reveal if MotionView can find the solver and there is a problem invoking MotionView.
Now, the mdl_batch command,
mdl_batch model.mdl runfile.xml MotionSolveThe above command will just export a MotionSolve xml from the model, but will not start the run.
To run MotionSolve job through mdl_batch, you need to provide additional option of -SCRIPT
MotionView has a solver script "MotionSolve" registered by default.
So, your command would look something like below
mdl_batch model.mdl runfile.xml MotionSolve -SCRIPT:MotionSolve
Note that, with the above command, the model would be exported with the current active analysis in the model if any. You may use the -ANALYSIS option to run a specific Analysis or run ALL Analysis.
mdl_batch model.mdl runfile.xml MotionSolve -ANALYSIS:analysis_varname -SCRIPT:MotionSolve
Try this and let know how it goes.
Regards
Praful
Hello Praful,
1. Yes I am able to run MotionSolve interactively from the GUI
2. Yes, the xml file was generated by the given directory
I have added the commands you specified to the batch file and it is running now. MotionSolve starts running automatically and the h3d result file is also generated. Thanks for the quick reply!
Hendrik
Join us for a community conversation on Pulse Width Modulation (PWM), a fundamental technique in electric motor control, and explore how different PWM strategies can yield significantly different results. This webinar provides a comparative analysis of various PWM methods and their effects on motor efficiency, torque…
Join us for a community conversation to discover the Advanced Iterative Solver(AIS) in Simcenter Feko and its application to electrically large and computationally demanding electromagnetic models. The session will provide a general overview of how iterative solution methods can help improve efficiency of large scale…
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…