The numerical study of the divers magnetic field configurations in the Novi
llo Tokamak developed by means of the CAMTOK code is presented to illustrat
e not only the application of classical analysis to a specific case but als
o a straightforward technique to develop magnetic design codes. Algorithms
and results in the case of the ohmic heating transformer, toroidal, and equ
ilibrium systems are presented. On the basis of CAMTOK simulations and meas
ured values, stray components of the fields are identified and suppressed,
leading to the redesign of the original concept of the Novillo tokamak into
its current operating configuration.