Exemplo n.º 1
0
        public static Dictionary<string, object> ModalDamping(List<string> DampingComponents, string Code = "AISC. Design Guide 11. 1st Ed")
        {
            //Default values
            double beta_floor = 0;


            //Calculation logic:
            FloorVibrationBeamGirderPanel bgPanel = new FloorVibrationBeamGirderPanel();
            beta_floor = bgPanel.GetFloorModalDampingRatio(DampingComponents);

            return new Dictionary<string, object>
            {
                { "beta_floor", beta_floor }
 
            };
        }
Exemplo n.º 2
0
        public void PanelReturnsModalDamping()
        {
            FloorVibrationBeamGirderPanel bmPanel = new FloorVibrationBeamGirderPanel();
            List<string> Components =
                new List<string>()
                {

                    "Structural system",
                    "Ceiling and ductwork",
                    "Electronic office fitout"

                };
            double beta = bmPanel.GetFloorModalDampingRatio(Components);
            double refValue = 0.025;
            double actualTolerance = EvaluateActualTolerance(beta, refValue);
            Assert.LessOrEqual(actualTolerance, tolerance);

        }