Hysteretic model for buckling-restrained braces