Azcats:
The only difference will be which is Sw,top or bottom with the same applied moment = P*e, consistent effective weld throat, and no compression development with the embed.
for Bending stress:
In the P2 orientation the max unit stress on the weld will be a compressive stress at the bottom of the vertical weld lines, P*e/Sw,bottom
In the P1 orientation the max unit stress on the weld will be a tensile stress on the top of the vertical weld lines, P*e/Sw,top
However with the flipped orientation Sw,bottom for P2 is = Sw,top for P1, so the magnitude of the stresses will be equal
For Vertical Shear Stress:
In all cases the contribution to the unit stress from P is just P/A,weld, where A,weld is assumed to equal to total length of weld.
With the magnitude of the weld unit stress being √ σ,shear^2 + σ,bending^2 , resulting in equal design unit stresses for either orientation.
My Personal Open Source Structural Applications:
Open Source Structural GitHub Group: