As of version 2022.c, the Open BIM Analytical Model "template editor" allows users to specify that an external wall from the architectural model is a party wall.
By doing so, the surfaces derived from said external wall will be assigned to the boundary "party wall" when using the automatic generation process of the analytical model.