Skip to content

Unnecessary thickness parameter when creating rectangular windings #42

@JonasHoelscher

Description

@JonasHoelscher

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions