FEM_Magnetics_Toolbox icon indicating copy to clipboard operation
FEM_Magnetics_Toolbox copied to clipboard

Bug in basic_example.py due to two corner air-gaps

Open shobhits72 opened this issue 2 years ago • 0 comments

Describe the bug The error occurs when two corner air-gaps are simulated simultaneously (one at air_gap_position = 0 and other at air_gap_position = 100 with air_gap_method = "percent"

To Reproduce Steps to reproduce the behavior:

  1. Go to 'basic_example.py'

  2. For any component: set air_gap_method = 'percent' and add two or more air-gaps with the condition that both corner air-gaps are present.

  3. The corner air-gaps are positioned as: air_gap_position = 0 and air_gap_position = 100. An example is shown below settings_bug

  4. See error

Screenshots error1

error2

shobhits72 avatar Sep 14 '22 22:09 shobhits72