According to the present embodiment, the smoothing capacitor C2 is installed inside the installation recess 713b. In this case, similarly to the power module 110, the installation surface 713a can cool the one surface of the smoothing capacitor C2 from the inner side in the radial direction, while the inner wall surfaces 713c of the installation recess 713b can cool the lateral surfaces of the smoothing capacitor C2 in the circumferential direction γ and the axial direction α. Therefore, the cooling effect of the smoothing capacitor C2 installed in the installation recess 713b can be enhanced.
Further, the housing 703 has an annular shape, and the thickness dimension in the radial direction β is relatively small. Therefore, the temperature distribution of the refrigerant in the radial direction β in the housing flow path 711, specifically, the temperature difference between the inner cooling part 712 and the outer cooling part 713 is less likely to occur. As a result, the stator 701 can be effectively cooled by the inner cooling part 712, and the power modules 110 and the smoothing capacitors C2 can be effectively cooled by the outer cooling part 713.