Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The electrical parameters are described in a JSON format. The following parameters must appear in the file.

Paremeter (JSON key)Value typeUnitDescriptionExample

PolePairs

intN.A.

Number of pole pairs of the machine.

"PolePairs": 2

DqTransformAngleOffset

doubledegreeAngle offset applied for the DQ Park Transform"DqTransformAngleOffset": -90.0

Ra

doubleOhmResistance of the phase A"Ra": 0.04

Rb

doubleOhmResistance of the phase B"Rb": 0.04

Rc

doubleOhmResistance of the phase C"Rc": 0.04

Id_axis

double[]AOne dimensional array of the current values along the direct axis"Id_axis": [
    -50.0,
    0.0,
    50.0
],

Iq_axis

double[]AOne dimensional array of the current values along the quadratic axis"Iq_axis": [
    -50.0,
    0.0,
    50.0
],

Ld

double[][]H

Two dimensional array of the direct inductance values. 

The first index is for the direct axis.

The second index is for the quadrature axis.

"Ld": [
    [
        0.0004,
        0.00042,
        0.00041
    ],
    [
        0.00041,
        0.00044,
        0.00043
    ],
    [
        0.0004,
        0.00042,
        0.000425
    ]
],

Lq

double[][]H

Two dimensional array of the quadratic inductance values. 

The first index is for the direct axis.

The second index is for the quadrature axis.

"

Ld

Lq": [
    [
        0.0004,
        0.00042,
        0.00041
    ],
    [
        0.00041,
        0.00044,
        0.00043
    ],
    [
        0.0004,
        0.00042,
        0.000425
    ]
],

Fm

double[][]Wb

Two dimensional array of the Permanent magnet flux values. 

The first index is for the direct axis.

The second index is for the quadrature axis.

"Fm": [
    [
        0.1,
        0.1,
        0.1
    ],
    [
        0.1,
        0.1,
        0.1
    ],
    [
        0.1,
        0.1,
        0.1
    ]
]

All the examples above concatenated would give in a valid JSON format:

...