Identification of the equivalent joints for the connection of thin-walled beam-like structures