Design of steel and stainless steel structures by advanced inelastic analysis