A method for generating simplified finite element models for electrical cabinets