コード例 #1
0
        public void BasePlateTensionReturnsMinimumThickness()
        {
            BasePlateIShape        plate = new BasePlateIShape(1, 1, 1, 1, 1, 36, 1);
            BasePlateTensionLoaded bp    = new BasePlateTensionLoaded(plate);
            double t_pMin          = bp.GetMinimumBasePlateBasedOnBoltTension(12.5, 2.0 - 0.55 / 2.0, 3.45);
            double refValue        = 0.878;
            double actualTolerance = EvaluateActualTolerance(t_pMin, refValue);

            Assert.LessOrEqual(actualTolerance, tolerance);
        }
        public static Dictionary <string, object> TensionLoadedBasePlateMinimumThickness(BasePlateShapeObject BasePlateShape, double T_uAnchor, double x_anchor, double b_effPlate
                                                                                         , string Code = "AISC360-10")
        {
            //Default values
            double t_min = 0;


            //Calculation logic:
            BasePlateTensionLoaded bp = new BasePlateTensionLoaded(BasePlateShape.Plate);

            t_min = bp.GetMinimumBasePlateBasedOnBoltTension(T_uAnchor, x_anchor, b_effPlate);

            return(new Dictionary <string, object>
            {
                { "t_min", t_min }
            });
        }