FEM_Magnetics_Toolbox
FEM_Magnetics_Toolbox copied to clipboard
Unnecessary thickness parameter when creating rectangular windings
When i want to create a model with a rectangular winding i have to specify a thickness parameter. But in VirtualWindingWindow.set_winding() i can specify the WrapParaType to Interpolate so it will determine the thickness automatically by ensuring that the whole winding window is filled. In this case i should be able to remove the thickness parameter from the set_rectangular_conductor() function but then errors are thrown.
Task: Check if the WrapParaType.Interpolate does function properly and that the used thickness parameter does not interchange with it.
winding = fmt.Conductor(0, fmt.Conductivity.Copper)
winding.set_rectangular_conductor(thickness=0.0015)
vww.set_winding(winding, 14, fmt.WindingScheme.FoilHorizontal, fmt.WrapParaType.Interpolate)