A stator case assembly, comprising: a substantially cylindrical stator core, which has a fixing ridge provided with a fastening portion for fixing the stator core to a case accommodating the stator core, and which is positioned so that an axial center of the stator extends substantially horizontally, wherein the fixing ridge is formed at a circumferential location of a cylindrical main body portion of the stator core, and protrudes radially outward from a main body outer peripheral surface, which is an outer peripheral surface of the main body portion, along an entire axial length of the main body portion, and the fixing ridge which satisfies the following conditions is a target ridge: an uppermost part of a ridge outer peripheral surface, which is an outer peripheral surface of the fixing ridge, is located at the same height as, or lower than a horizontal plane extending in an uppermost part of the main body outer peripheral surface, and the uppermost part of the ridge outer peripheral surface does not correspond to a boundary with the main body outer peripheral surface, the stator case assembly further comprising: sealing members, which are respectively attached to both axial ends of the stator core so as to be positioned on a side of the uppermost part of the main body outer peripheral surface with respect to the target ridge, and which respectively form sealing walls that have a height equal to or higher than a horizontal plane extending in the uppermost part of the ridge outer peripheral surface, wherein a recess surrounded by the target ridge outer peripheral surface, the main body outer peripheral surface, and the sealing walls serve as a refrigerant reservoir recess for storing a refrigerant, characterized in that the sealing members contact axial end faces of the stator core. a substantially cylindrical stator core, which has a fixing ridge provided with a fastening portion for fixing the stator core to a case accommodating the stator core, and which is positioned so that an axial center of the stator extends substantially horizontally, wherein the fixing ridge is formed at a circumferential location of a cylindrical main body portion of the stator core, and protrudes radially outward from a main body outer peripheral surface, which is an outer peripheral surface of the main body portion, along an entire axial length of the main body portion, and the fixing ridge which satisfies the following conditions is a target ridge: an uppermost part of a ridge outer peripheral surface, which is an outer peripheral surface of the fixing ridge, is located at the same height as, or lower than a horizontal plane extending in an uppermost part of the main body outer peripheral surface, and the uppermost part of the ridge outer peripheral surface does not correspond to a boundary with the main body outer peripheral surface, the stator case assembly further comprising: sealing members, which are respectively attached to both axial ends of the stator core so as to be positioned on a side of the uppermost part of the main body outer peripheral surface with respect to the target ridge, and which respectively form sealing walls that have a height equal to or higher than a horizontal plane extending in the uppermost part of the ridge outer peripheral surface, wherein a recess surrounded by the target ridge outer peripheral surface, the main body outer peripheral surface, and the sealing walls serve as a refrigerant reservoir recess for storing a refrigerant, characterized in that the sealing members contact axial end faces of the stator core. an uppermost part of a ridge outer peripheral surface, which is an outer peripheral surface of the fixing ridge, is located at the same height as, or lower than a horizontal plane extending in an uppermost part of the main body outer peripheral surface, and the uppermost part of the ridge outer peripheral surface does not correspond to a boundary with the main body outer peripheral surface, the stator case assembly further comprising: sealing members, which are respectively attached to both axial ends of the stator core so as to be positioned on a side of the uppermost part of the main body outer peripheral surface with respect to the target ridge, and which respectively form sealing walls that have a height equal to or higher than a horizontal plane extending in the uppermost part of the ridge outer peripheral surface, wherein a recess surrounded by the target ridge outer peripheral surface, the main body outer peripheral surface, and the sealing walls serve as a refrigerant reservoir recess for storing a refrigerant, characterized in that the sealing members contact axial end faces of the stator core. sealing members, which are respectively attached to both axial ends of the stator core so as to be positioned on a side of the uppermost part of the main body outer peripheral surface with respect to the target ridge, and which respectively form sealing walls that have a height equal to or higher than a horizontal plane extending in the uppermost part of the ridge outer peripheral surface, wherein a recess surrounded by the target ridge outer peripheral surface, the main body outer peripheral surface, and the sealing walls serve as a refrigerant reservoir recess for storing a refrigerant, characterized in that the sealing members contact axial end faces of the stator core.