A design formulation for dissipative metal shear panels