New Models to Analyse the Performance of Magnetic Cores in Electromagnetic Machines for Renewable Energy Systems