ComputeIncrementalMatrixInductanceForNonMeshedCoilsMagnetoStatic.PFM

Introduction

This document deals how to use the ComputeIncrementalMatrixInductanceForNonMeshedCoilsMagnetoStatic.PFM macro. The goal is to be able to compute matrix of incremental inductance with non-meshed coils in 3D magneto-static projects. This macro intends to create automatically an output excel file which includes the incremental inductance matrix data.

Goal of this macro

This macro intends to create automatically an output excel file which includes the incremental inductance matrix data. For every case (with and without magnets in the project), the incremental inductance is evaluated.

The computation principle is given below:

The first computation will be done for the reference values of the coil currents i.e the values set for the non-meshed coils in the given project will be considered as the reference values. And the incremental inductance matrix will be calculated on this operating point I 1 ,   I 2 .

Then the coil currents will be incremented with a I and the flux through each coil will be computed on each step. This procedure could be explained as below:

Let us consider that the number of non-meshed coils is 2 in the project, the principle will be:
  • First computation
    • Reference coil current values : I 10   ,   I 20   Ф 10   ,   Ф 20
  • Second computation
    • Increment I 1 with respect to the current variation, I 2 set to the reference value. I 10 * 1 + % I   ,   I 20   Ф 11   ,   Ф 21
  • Third computation
    • Increment I 2 with respect to the current variation, I 1 set to the reference value. I 10   ,   I 20 * 1 + % I   Ф 12   ,   Ф 22

The incremental inductance matrix can be expressed as:

L 1 =   Ф 11   -     Ф 10 I 1 M 12 =   Ф 12   -     Ф 10 I 2 M 21 =   Ф 21   -     Ф 20 I 1 L 2 =   Ф 22   -     Ф 20 I 2 I 1   ,     I 2

Note: If the reference current of any coil is 0, the incremental inductance for this coil is computed with a current variation of 10mA.

Parameters

The parameters are the following ones:
  • Set the variation of coil currents in % with respect to the reference values. This value is set to 1% by default.
  • Select if you want to save the intermediate files or not which will represent the .FLU files for each increment.
  • Select the name for the excel output file which will contain the resulting inductance matrix.

What the macro will do ?

It will do the following actions:
  • The first computation with the reference values;
    1. Saves the initial file
    2. Creates the sensors for each coil to compute the flux
    3. Solves the first scenario with the reference values of coil currents
  • For each increment;
    1. Sets the coil current values
    2. Creates the corresponding scenario an solves
    3. Computes and stores the flux through the coils
  • Once the process is done, it calculates the incremental inductance matrix from the data stored during the above steps
  • Displays the results on the console
  • Export the result to an excel file