Answer:
In this case, we recommend using nodal releases. They allow for a transfer of bending moments in the frame plane as a transfer of axial and shear forces to the columns.
The nodes to be released are the respective corner nodes with a moment hinge as a member hinge. The released objects are the horizontal members in the frame plane that are connected to the corner nodes.