Mkraska’s approach is really good to model pinned joints. Pretty much only disadvantage is the amount of work to define all the couplings if there are multiple joints.