The protective member 180 has one surface 181 and a rear surface 182 opposite to the one surface 181 in the Z direction. The one surface 181 and the rear surface 182 are plane surface orthogonal to the Z direction. The protective member 180 of the present example has a substantially truncated quadrangular pyramid shape. Therefore, the protective member 180 has four lateral surfaces 183 to 186. When the one surface 181 is defined as a reference surface, each of the lateral surfaces 183 to 186 is an inclined surface defining an acute angle with respect to the one surface 181.
Components of the power module 110 are arranged, in a direction from the one surface 181 toward the rear surface 182, in a stated order of the connection portion 141 of the N bus bar 140, the capacitor C1, the connection portion 131 of the P bus bar 130, the heat exchange part 123 of the first stage, the semiconductor device 20, the heat exchange part 123 of the second stage, and the drive substrate 160. The supply pipe 121 and the discharge pipe 122 project from the one surface 181 to the outside of the protective member 180. Nothing projects from the rear surface 182. Although not shown, the components may be arranged, in a direction from the one surface 181 toward the rear surface 182, in an order of the drive substrate 160, the heat exchange part 123 of the first stage, the semiconductor device 20, the heat exchange part 123 of the second stage, the connection portion 141 of the N bus bar 140, the capacitor C1, and the connection portion 131 of the P bus bar 130.