Flux-Linkage

Command: post_models(“flux(x)”, “r”)

Returns the coil flux-linkage vs. the rotational position in the array with the freely selectable identifier “r”.

Example:

m.wdkey = 1
m.fc_move_num = 49
post_models("flux(x)","r")

x1   = r[1]        -- First position
phi1 = r[2]        -- First flux value
x2   = r[3]        -- Second position
phi2 = r[4]        -- Second flux value

n = table.getn(r)  -- Number of values in r