The present invention relates to a generic integrated magnetic circuit for AC power supply comprises plurality of limbs having windings connected to multiple grids and multiple loads respectively and plurality of control limbs of the magnetic circuit that consist of windings with bidirectional switches across them and being configured to control rate of change of flux flowing through magnetic medium. Figure 1