public static Dictionary<string, object> StabilizedExtendedSinglePlateTorsionalStrength(double R_u,double F_yp,double d_pl,double t_p,double L_bm,double F_ybm,double b_f,double t_w , string Code = "AISC360-10") { //Default values double phiM_n = 0; //Calculation logic: conx.ExtendedSinglePlate sp = new conx.ExtendedSinglePlate(); phiM_n = sp.StabilizedExtendedSinglePlateTorsionalStrength(b_f, F_ybm, L_bm, R_u, t_w, d_pl, t_p, F_yp); return new Dictionary<string, object> { { "phiM_n", phiM_n } }; }
public void ExtendedPlateReturnsTorsionalStrength() { double R = 14; double l = 9; double a = 12; double tp = 0.375; double tw = 0.20; double L = 233; double bf = 3.97; ExtendedSinglePlate sp = new ExtendedSinglePlate(); double phiM_n = sp.StabilizedExtendedSinglePlateTorsionalStrength(bf,50.0,L,R,tw,l,tp,50.0); double refValue = 18.6; double actualTolerance = EvaluateActualTolerance(phiM_n, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }