Closed rotating electric machine (100, 200) comprising: - a stator (190, 290) arranged in a frame (130, 230) and comprising coils; - a rotor (150, 250) comprising a body fixed to a rotation shaft (160, 260) rotating around a central axis, said rotor being rotatably mounted in the stator and comprising first recesses housing magnetic flux generators and second recesses forming magnetic flux barriers, said first and second recesses being elongated and passing through said rotor body along the axis; - a pair of bearings (171, 172, 271, 272) each supporting one end of the rotation shaft; - a front flange and a rear flange disposed respectively at two opposite ends, front and rear of the carcass, said front and rear flanges each comprising sealing means (1 14a, 1 14b, 124a, 124b) for sealingly closing said carcass, an internal face (1 1 1, 121), an external face (1 12, 122), and a central housing (1 16a, 126a, 216a, 226a) for receiving one of said bearings, said internal face of the flanges comprising fins (1 13, 123, 213, 223) arranged on a peripheral part of the central housing (1 16a, 126a, 216a, 226a), and - a cooling system comprising a pair of internal fans (181, 182, 281, 282), each internal fan being fixedly mounted on the rotation shaft (160, 260) between the rotor body (150, 250) and a said bearings (171, 172, 271, 272), to create upon rotation of the shaft a first two-way air flow in the second recesses of the rotor and a second air flow between each internal fan (181, 182, 281, 282) and the internal face (111, 121) of the front or rear flange, in which each internal fan (181, 182, 281, 282) has an internal face, an external face, a central opening for the passage of the rotation shaft (160, 260), and an alternation of open radial sectors and closed radial sectors dividing the surface of the internal fan and separated by radial walls orthogonal to the axis forming projecting blades on the external face of the internal fan, the open radial sectors comprising openings and allowing air to enter inside the recesses of the rotor, and the closed radial sectors comprising a ramp-shaped surface (3, 3', 3") and allowing the exit of air circulating inside the recesses of the rotor. - a stator (190, 290) arranged in a frame (130, 230) and comprising coils; - a rotor (150, 250) comprising a body fixed to a rotation shaft (160, 260) rotating around a central axis, said rotor being rotatably mounted in the stator and comprising first recesses housing magnetic flux generators and second recesses forming magnetic flux barriers, said first and second recesses being elongated and passing through said rotor body along the axis; - a pair of bearings (171, 172, 271, 272) each supporting one end of the rotation shaft; - a front flange and a rear flange disposed respectively at two opposite ends, front and rear of the carcass, said front and rear flanges each comprising sealing means (1 14a, 1 14b, 124a, 124b) for sealingly closing said carcass, an internal face (1 1 1, 121), an external face (1 12, 122), and a central housing (1 16a, 126a, 216a, 226a) for receiving one of said bearings, said internal face of the flanges comprising fins (1 13, 123, 213, 223) arranged on a peripheral part of the central housing (1 16a, 126a, 216a, 226a), and - a cooling system comprising a pair of internal fans (181, 182, 281, 282), each internal fan being fixedly mounted on the rotation shaft (160, 260) between the rotor body (150, 250) and a said bearings (171, 172, 271, 272), to create upon rotation of the shaft a first two-way air flow in the second recesses of the rotor and a second air flow between each internal fan (181, 182, 281, 282) and the internal face (111, 121) of the front or rear flange, in which each internal fan (181, 182, 281, 282) has an internal face, an external face, a central opening for the passage of the rotation shaft (160, 260), and an alternation of open radial sectors and closed radial sectors dividing the surface of the internal fan and separated by radial walls orthogonal to the axis forming projecting blades on the external face of the internal fan, the open radial sectors comprising openings and allowing air to enter inside the recesses of the rotor, and the closed radial sectors comprising a ramp-shaped surface (3, 3', 3") and allowing the exit of air circulating inside the recesses of the rotor.