TransformerDialog

Special purpose function used for selection of non linear magnetic components. Opens 1 of three styles of dialog box depending on the winding configuration. The user can either select a standard core configuration or define custom core parameters. In the latter case, the Core part index will be -1 otherwise an index into the array specified in argument 2 will be returned. The same rules apply to the initialisation data supplied in argument 3.

Arguments

Number Type Compulsory Default Description

1

string

Yes

Array of core Materials

2

string

Yes

Array of core parts

3

real

Yes

Initialisation data

Argument 3

Value from:

Value Description
1 Material index (arg 1) (element 2 = -1)
2 Core part index (arg2).
3 Number of primaries
4 Number of secondaries
5 Effective area (element 2 = -1)
6 Effective length (element 2 = -1)
7 Effective relative permeability (element 2 = -1)
8 Number of turns, winding 1
9 Number of turns, winding 2
10 Coupling coefficient winding 1 - 2
11 Number of turns, winding 3
12 Coupling factor, winding 1 - 3
13 Coupling factor, winding 2 - 3

Returns

Return type: real array

Has a return value from:

1 Material index (arg 1) (element 2 = -1)
2 Core part index (arg 2).
3 Effective area (element 2 = -1)
4 Effective length (element 2 = -1)
5 Effective relative permeability (element 2 = -1)
6 Number of turns, winding 1
7 Number of turns, winding 2
8 Coupling coefficient winding 1 - 2
9 Number of turns, winding 3
10 Coupling factor, winding 1 - 3
11 Coupling factor, winding 2 - 3