Videos > Integrating Motor CAD with optiSLang for IPM Motor Optimization
Jan 8, 2025

Integrating Motor CAD with optiSLang for IPM Motor Optimization

Hello everyone, welcome back. In the last video, we set up our IPM motor model and Motor CAD. Now we're ready to take the next step: integrating the motor model with OptusLink for optimization.

Integration Overview

Integrating Motor CAD with OptusLink allows us to automate the design and optimization process, which is crucial for efficiently exploring the entire design space. Essentially, Motor CAD handles the multi-physics simulations while OptusLink manages the optimization algorithms and sensitivity analysis. This integration gives us the power to test multiple design variations quickly and efficiently without manually running each simulation, significantly speeding up the design process.

Step-by-Step Process

  1. Define Input Ranges:
    • Adjust the motor diameter, currently at 190 millimeters.
    • Set ranges for various ratios, such as stator bore and stator depth.
    • Adjust the L1 magnet thickness up to six millimeters.

    These input ranges will allow OptusLink to explore a broad design space, making it easier to fine-tune the motor's performance.

  2. Define Motor Performance Requirements:

    Set active constraints in OptusLink to ensure the final design meets our targets, including:

    • Continuous torque
    • Peak torque at various speeds
    • Continuous power

    By setting these performance goals, we ensure that the motor can deliver high torque and power outputs while keeping mechanical stress within safe limits.

  3. Set Optimization Objectives:

    In the objectives tab, define what OptusLink should aim to maximize or minimize during optimization:

    • Minimize total losses to improve efficiency
    • Minimize mass while maintaining performance

    By balancing these objectives, OptusLink will help us identify the best trade-offs for a high-performing motor.

  4. Review and Test:

    Before launching the optimization, review all input parameters, performance requirements, and objectives in the summary tab. If everything looks good, run a test run:

    • Run the Python script to confirm that MotorCAD and OptusLink are properly linked.
    • Ensure the export script runs without errors.
    • Click "Start Test Run" and OptusLink will perform a quick check.

    Upon completion, the results window will display the values requested in the requirements tab.

  5. Export and Setup Optimization:

    With the test run complete, export the model to OptusLink:

    • Check the boxes for "Use File Settings" and "Save Geometry and Winding Screenshots" for each design.
    • Click "Setup Optimization" in ANSYS OptusLink to launch the sensitivity wizard.

    All input parameters, requirements, and objectives will be loaded automatically.

Next Steps

We have successfully exported the motor model and set up the optimization process. In the next step, we'll run the sensitivity analysis to identify which design variables have the greatest impact on performance. Stay tuned!

If you have any questions about this stage of the process, feel free to ask. Don't forget to subscribe so you don't miss the next part of the IPM motor optimization series. Thanks for watching!

[This was auto-generated. There may be mispellings.]

Hello everyone, welcome back. In the last video we set up our IPM motor model and motor CAD. Now we're ready to take the next step integrating the motor model with Ansys OptiSLang for optimization.

Integrating motor CAD with OptiSLang allows us to automate the design and optimization process, which is crucial for efficiently exploring the entire design space.

Essentially, motor CAD handles the multi-physics simulations while OptiSLang manages the optimization algorithms and sensitivity analysis.

This integration gives us the power to test multiple design variations quickly and efficiently without manually running each simulation, significantly speeding up the design process. Let's walk through this step by step. We'll use Ansys OptiSLang to test the design process.

We'll adjust the rotor radius from 190 millimeters to a range of values. We'll also give a range for a lot of different ratios, stator bore, stator depth, both of the pull arc ratios. The L1 magnet thickness, we can make that adjustable up to six millimeters.

These input ranges will allow OptiSLang to explore a broad design space, making it easier to fine-tune the motor's performance. Next, we'll define motor performance requirements. These are active constraints for OptiSLang to ensure the final design meets our targets.

We'll set performance requirements for things like continuous torque, peak torque at some different speeds, continuous power. By setting these performance goals, we ensure that the motor can deliver high torque and power outputs while keeping mechanical stress within safe limits.

Next, we'll move to the objectives tab. Here, we define what OptiSLang should aim to maximize or minimize during optimization. For this motor, our goals are minimizing total losses to improve efficiency and minimizing mass while maintaining performance.

By balancing these objectives, OptiSLang will help us identify the best trade-offs for a high-performing motor. Before we launch the optimization, we'll do a quick review in the summary tab. Here, we can verify all the input parameters, performance requirements, and objectives are set up correctly.

If everything looks good, run a test run. This will run the Python script that you can see here and helps us confirm that MotorCAD and OptiSLang are properly linked and that the export script runs without errors.

Just click "Start test run" and OptiSLang will run a quick check to ensure everything is ready. When it's finished, you will see the results window contains a readout of the values we requested in the requirements tab. With the test run complete, we're ready to send this model to OptiSLang.

In the summary, we'll see that the model is ready to use. We'll then run the optimization and see if the model is ready to use. We'll then run the optimization and see if the model is ready to use. We'll then run the optimization and see if the model is ready to use.

Check the boxes for "Use file settings" and "Save geometry and winding screenshots for each design." Click "Setup optimization" in ANSYS OptiSLang. This launches the sensitivity wizard in OptiSLang where all the input parameters, requirements, and objectives will be loaded automatically.

We've now successfully exported the motor model and set up the optimization process. In the next step, we'll run the sensitivity analysis to identify which design variables have the greatest impact on performance. Stay tuned. Let me know if you have any questions about this stage's process.

Don't forget to subscribe so you don't miss the next part of the IPM motor optimization series. Thanks for watching.