An electrical machine to facilitate transporting fluids through a pipeline
is provided. The machine includes a stator, a rotor magnetically coupled
to the stator, and a housing enclosing the rotor and the stator. The
housing includes a wall that facilitates channeling a first fluid at a
first pressure through a portion of the housing. The machine also
includes a stator enclosure defined by at least one wall that facilitates
maintaining a second fluid within the stator enclosure. The stator
enclosure is positioned within the electric machine housing. The stator
enclosure has at least one wall that substantially isolates the second
fluid from the first fluid such that only the second fluid is in flow
communication with the stator. The stator enclosure has at least one wall
that facilitates heat transfer from the second fluid to the first fluid.
At least a portion of at least one of the stator enclosure walls is
configured to facilitate equalizing the first pressure and the second
pressure.