public void BoltGroup4X4NegativeEccentricitySameCValue() { BoltGroup bg = new BoltGroup(2, 2, 3, 3); double C = bg.GetInstantaneousCenterCoefficient(-10, 0); double refValue = 0.78; // from AISC Steel Manual double actualTolerance = EvaluateActualTolerance(C, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }
public void BoltGroupSingleLine45DegreesReturnsC() { BoltGroup bg = new BoltGroup(4, 1, 0, 3); double C = bg.GetInstantaneousCenterCoefficient(8, 45); double refValue = 1.64; // from AISC Steel Manual double actualTolerance = EvaluateActualTolerance(C, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }
public static Dictionary<string, object> BoltGroupCoefficient(double N_rows, double N_cols, double p_h, double p_v, double e_group, double theta, string Code = "AISC360-10") { //Default values double C_BoltGroup = 0; double C_prime = 0; //Calculation logic: int N_r = (int) N_rows; int N_c = (int)N_cols; BoltGroup bg = new BoltGroup(N_r, N_c, p_h, p_v); C_BoltGroup = bg.GetInstantaneousCenterCoefficient(e_group, theta); C_prime = bg.GetPureMomentCoefficient(); return new Dictionary<string, object> { { "C_BoltGroup", C_BoltGroup }, { "C_prime", C_prime } }; }
public void BoltGroupTripleLine0DegreesReturnsCValue() { BoltGroup bg = new BoltGroup(3, 3, 3, 3); double C = bg.GetInstantaneousCenterCoefficient(3, 0); double refValue = 5.79; // from AISC Steel Manual double actualTolerance = EvaluateActualTolerance(C, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }
public void BoltGroupElasticReturnsElasticMoment() { BoltGroup bg = new BoltGroup(4, 2, 3, 3); double C = bg.CalculateElasticGroupMomentCoefficientC(); double boltStrength = 4.39205; double MomentCapacity = C * boltStrength; Assert.AreEqual(100.0, Math.Round(MomentCapacity)); }
public void BoltGroup3X2ReturnsC_primePureMomentValue() { BoltGroup bg = new BoltGroup(3, 2, 3, 3); double C_prime = bg.GetPureMomentCoefficient(); double refValue = 15.8; // from AISC Steel Manual double actualTolerance = EvaluateActualTolerance(C_prime, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }