Understanding Sensitivity Analysis and Sampling Methods in optiSLang
Hello everyone, welcome back. In the last video, we integrated our IPM motor model from MotorCAD into OptusLane. Now, we're ready to perform a sensitivity analysis to identify the key design variables that impact the motor's performance.
What is Sensitivity Analysis?
Sensitivity analysis is a process used to evaluate how changes in input parameters affect a design's performance metrics. It's a critical step in optimization because it helps identify which variables have the most significant impact on the design. By focusing on these key variables, we can:
- Reduce the complexity of the optimization process
- Streamline the design workflow
- Improve computational efficiency
Sampling Methods in OptusLane
OptusLane offers various sampling methods to explore design variables efficiently. Each method balances accuracy and computational costs based on the complexity of the design space. Let's quickly touch on the different sampling methods OptusLane offers and how they differ.
Uniform Sampling Methods
These methods focus on evenly distributing sampling points across the entire design space. They are ideal for gaining a comprehensive understanding of the overall behavior of the system and ensuring no areas are left unexplored. Examples include:
- Latin Hypercube Sampling (LHS): Divides the design space into equal intervals and randomly samples within those intervals.
- Space Filling LHS: Improves the spacing between points for better coverage.
- Advanced LHS: Adds optimization techniques.
- Full Factorial: Ensures every combination of variables is tested.
- Full Combinatorial: Considers all possible scenarios.
- Plain Monte Carlo Sampling: Relies on random sampling to approximate the system's behavior.
- Sobel Sequences: Generate quasi-random sequences designed to provide uniform coverage over the design space.
Edge-Focused or Boundary Sampling Methods
These methods emphasize corners, edges, and extreme regions of the design space. They are excellent for identifying constraints or boundary behaviors in edge cases. Examples include:
- Central Composite Design (CCD): Tests points at the center and edges of the design space, forming a spherical or cuboidal pattern.
- Box Banking Design: Focuses on combinations near the center of the design space and systematically evaluates boundary points.
- Star Points: Explicitly sample extreme values of variables to better understand their limits.
- Deoptimal Designs: Optimize the placement of points to maximize the statistical efficiency of the analysis, often at the boundaries.
Targeted or Adaptive Sampling Methods
These methods strategically select sampling points to gain the most information about the system and refine the model dynamically. They adapt as new data is collected. Examples include:
- Adaptive Metamodel of Optimal Prognosis (AMOP): Iteratively adjusts the sampling points to improve the surrogate model's accuracy for optimization.
- Deoptimal Designs: Focus on the most impactful areas of the design space.
Hybrid or Custom Sampling Methods
These methods blend techniques or allow specific user-defined criteria. Examples include:
- Kocial Linear or Kocial Quadratic: Combine traditional and targeted sampling strategies.
- Plugins like Replace Constant Parameter and While Loop: Allow for highly customized workflows tailored to specific needs.
Conclusion
Each of these sampling methods has its own strengths and is suited to particular situations:
- Uniform methods: Great for exploring broadly.
- Edge-focused methods: Excel at constraint evaluation.
- Adaptive methods: Refine models efficiently.
- Hybrid approaches: Provide maximum flexibility.
In the next video, I'll show how to select and configure one of these sampling methods for sensitivity analysis in OptiSling and demonstrate the impact it has on the analysis process. If you have any questions about these methods, please feel free to contact me at opti-sling.com. Thank you for watching. If you have any questions or need help choosing the right method for your project, leave a comment below. Don't forget to subscribe and stay tuned for the next video in this motor optimization series.
Hello everyone, welcome back. In the last video we integrated our IPM motor model from MotorCAD into OptiSLang. Now we're ready to perform a sensitivity analysis to identify the key design variables that impact the motor's performance.
Before we begin, let's quickly answer the question of what is a sensitivity analysis. Sensitivity analysis is a process used to evaluate how changes in input parameters affect a design's performance metrics.
It's a critical step in optimization because it helps identify which variables have the most significant impact on the design. By focusing on these key variables, we can reduce the complexity of the optimization process, streamline the design workflow, and improve computational efficiency.
OptiSLang offers various sampling methods to explore design variables efficiently. Each method balances accuracy and computational cost based on the complexity of the design space. Let's quickly touch on the different sampling methods OptiSLang offers and how they differ.
These methods define how sample points are distributed across the design space, impacting accuracy and efficiency and the suitability for specific problems. First, we have uniform sampling methods which focus on evenly distributing sampling points across the entire design space.
These methods are ideal for gaining a comprehensive understanding of the overall behavior of the system and ensuring no areas are left unexplored. Examples include Latin Hypercube Sampling (LHS), which divides the design space into equal intervals and randomly samples within those intervals.
It has its variations like Space Filling LHS, which improves the spacing between the points for better coverage, or Advanced LHS, which adds optimization techniques.
Full Factorial ensures every combination of variables is tested, and Full Combinatorial will ensure that all possible scenarios are considered.
Plain Monte Carlo Sampling relies on random sampling to approximate the system's behavior, and Sobel Sequences generate quasi-random sequences designed to provide uniform coverage over the design space.
Edge-focused, or boundary sampling, methods emphasize corners, edges, and extreme regions of the design space. These methods are excellent for identifying constraints or boundary behaviors in edge cases.
Examples include Central Composite Design (CCD), which tests points at the center and edges of the design space, forming a spherical or cuboidal pattern.
Box-Behnken Design focuses on combinations near the center of the design space and systematically evaluates boundary points, and star points which explicitly sample extreme values of variables to better understand their limits.
Deceptive designs optimize the placement of points to maximize the statistical efficiency of the analysis, often at the boundaries. Moving on, there's also targeted or adaptive sampling methods.
These strategically select sampling points to gain the most information about the system and refine the model accurately dynamically. These models adapt as new data is collected.
This includes Adaptive Metamodel of Optimal Prognosis (AMOP), which iteratively adjusts the sampling points to improve the surrogate model's accuracy for optimization. Finally, we have hybrid or custom sampling methods. These blend techniques or allow specific user-defined criteria.
Examples include Hybrid Linear or Hybrid Quadratic, which combine traditional and targeted sampling strategies. Each of these sampling methods have their own strengths. They are suited to particular situations. Uniform methods are great for exploring broadly.
Edge-focused methods excel at constraint evaluation. Adaptive methods refine models efficiently. Hybrid approaches provide maximum flexibility.
In the next video, I'll show how to select and configure one of these sampling methods for sensitivity analysis in OptiSLang and will demonstrate the impact it has on the analysis process.
If you have any questions about these methods, please feel free to contact me at [opti-sling.com](http://opti-sling.com). Thank you for watching. If you have any questions or how to choose the right one for your project, leave a comment below.
Don't forget to subscribe and stay tuned for the next video in this motor optimization series.

