Disclosed is a method and device to efficiently regulate flow of refrigerant while maintaining a sealed chamber in systems providing stored thermal energy for use during peak electrical demand. The device capabilities may be automatically detected and used. A mounting interface is adapted to allow some rotation of the socket over a range. The lathe is formed by a bending roll and a folding pin, and is capable of rotating in a horizontal plane about an axis of rotation aligned with the axis of the bending roll.