The effect of joint rigidity upon the performance of cold-formed portal frame structure