A semi-anaytical model for the analysis of a Permanent Magnet Tubular Linear Generator