upb-lea / FEM_Magnetics_Toolbox

An Open-Source FEM Magnetics Toolbox for Power Electronic Magnetic Components
https://upb-lea.github.io/FEM_Magnetics_Toolbox/
GNU General Public License v3.0
66 stars 11 forks source link

Wrong Mesh is simulated when changing the number of turns #16

Closed JonasHoelscher closed 2 years ago

JonasHoelscher commented 2 years ago

Describe the bug When using the basic_example for a transformer and the number of turns is changed to e.g. [[5], [4]], the mesh used in the simulation is not correct.

To Reproduce Steps to reproduce the behavior:

  1. Use basic_example.py -> Transformer
  2. Change n_turns=[[5], [4]]
  3. Set visualize_before = True

Screenshots Visualize before: image

Simulation results: image

JonasHoelscher commented 2 years ago

Fixed. But unknown commit.