Electronics

Electronics

Topics relate to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more

MotorCad Optimization with optiSLang

    • MD KHALID MAHMUD BIN AZAM
      Subscriber

      I can add additional input parameters in optiSLang by altering the python script.

      But I can't do the same for output parameters.

      Why so?

    • HDLI
      Ansys Employee

      Hello MD KHALID MAHMUD BIN AZAM,

      Could you review “OptiSLang_Integrated_Export_Tutorial_Scripting.pdf” to find how to add additional customized output parameters? This tutorial is in MotorCAD installation folder like C:\ANSYS_Motor-CAD\2023_1_2\Tutorials\Ansys_Optislang\IPM using Integrated Export\

       Or you could modify the python scripting by yourself. We should export customized output parameters in coupling between MotorCAD and optiSLang.

           Thanks.

      Howard

    • MD KHALID MAHMUD BIN AZAM
      Subscriber

      Thanks for the reply. I did the same thing using "OptiSLang_Integrated_Export_Tutorial_Scripting.pdf". But it did not work. Adding input parameters works but the output parameters did not. What Can I do ?

    • HDLI
      Ansys Employee

      Hello MD KHALID MAHMUD BIN AZAM,

              Could you follow the tutorial to complete the example? to verify if you can add output parameters as what the document said.

               Please check if the output parameter exists. Thanks.

      Howard

    • MD KHALID MAHMUD BIN AZAM
      Subscriber

      we tried adding the exact same lines of code from the example in our script.

      still, we weren't able to add the output parameter.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.