Nuclear fusion is the process that heats the stars by the collision of atomic nuclei which fuse together to form heavier elements and release energy. The generation of energy using this process has several advantages: no carbon emissions, abundant fuel supplies, efficiency, reliability and operationally safe. One way to achieve the necessary conditions for producing fusion energy on earth is by controlling a hot gas of fully ionized hydrogen isotopes (plasma) with strong magnets in a ring-shaped magnetic chamber known as tokamak. The real-time control of this hot plasma requires magnetic diagnostic and actuators which must be designed to be reliable and immune to undesirable interferences. The heating and stabilization of the plasma partly rest on RadioFrequency (RF) antennas which must be designed and controlled carefully to avoid undesired plasma-wall interactions that can produce excessive heat-loads and endanger the integrity of the machine. Also, the safe installation of the different diagnostics, devices and structures in and around the fusion machine requires the knowledge of the Lorentz forces induced by the time-varying electromagnetic fields present during the operation of the machine.