The housing 703 is provided with an insertion hole 703a that allows the power module 110 to be inserted into the housing flow path 711. The insertion hole 703a is provided at one end of the housing 703. The insertion hole 703a penetrates the housing 703 in the axial direction α, and the power module 110 closes the insertion hole 703a in a state of being inserted into the housing flow path 711 through the insertion hole 703a. In the insertion hole 703a, the connection portion between the power module 110 and the housing 703 is hermetically sealed with a sealing material or the like. In this case, at least a part of the power module 110 is immersed in the refrigerant in the housing flow path 711. In particular, the semiconductor device 20 is arranged at a position inside the housing flow path 711 in both the axial direction α and the radial direction β.
Both the output bus bar 150 of the power module 110 and the connection terminal 701d of the stator 701 are arranged adjacent to the one end surface of the housing 703 in the axial direction α. The connection terminal 701d is a terminal extending from the stator winding 706 of the stator 701. The output bus bar 150 and the connection terminal 701d extend in the axial direction α from the power module 110 and the stator 701. In this configuration, the connection between the output bus bar 150 and the connection terminal 701d can be simplified, and the work load for the connection can be reduced. Further, since the output bus bar 150 can be shortened as much as possible, power loss and heat generation in the output bus bar 150 can be suppressed.