Index: DamClients/DamUI/trunk/src/Dam/Deltares.Dam.IntegrationTests/FailureMechanismTests.cs =================================================================== diff -u -r4889 -r4915 --- DamClients/DamUI/trunk/src/Dam/Deltares.Dam.IntegrationTests/FailureMechanismTests.cs (.../FailureMechanismTests.cs) (revision 4889) +++ DamClients/DamUI/trunk/src/Dam/Deltares.Dam.IntegrationTests/FailureMechanismTests.cs (.../FailureMechanismTests.cs) (revision 4915) @@ -89,8 +89,9 @@ } /// - /// The expected safety factor calculated in version 19.2.1 are different from the actual calculated safety factors. - /// After solving MWDAM-2152 they should be close. + /// The safety factors calculated in version 19.2.1 are different from the actual calculated safety factors. + /// This can be explained by the Sigma-Tau table model which is differently implemented: + /// in version 19.2.1 Sigma is the effective vertical stress whereas in the current version it is the effective normal stress. /// [Test] public void TestStabilityOutsideWith1DProfiles() @@ -111,7 +112,7 @@ Assert.That(allCalculationResults[1].ProfileProbability, Is.EqualTo(2.43)); Assert.That(allCalculationResults[1].StabilityModel, Is.EqualTo(MStabModelType.Bishop)); // In version 19.2.1, the safety factor was 1.079 - Assert.That(allCalculationResults[1].SafetyFactor, Is.EqualTo(1.014).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[1].SafetyFactor, Is.EqualTo(0.974).Within(tolerance3Decimals)); Assert.That(allCalculationResults[1].ShoulderHeight, Is.EqualTo(null)); Assert.That(allCalculationResults[1].ToeAtPolderX, Is.EqualTo(null)); Assert.That(allCalculationResults[1].ToeAtPolderZ, Is.EqualTo(null)); @@ -150,15 +151,15 @@ // Check safety factors of few other soil profiles // In version 19.2.1, safety factors were: [4]=1.079, [8]=0.967, [10]=1.046, [11]=1.225 [12]=1.046 Assert.That(allCalculationResults[4].ProfileName, Is.EqualTo("Segment_1_1D5")); - Assert.That(allCalculationResults[4].SafetyFactor, Is.EqualTo(1.014).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[4].SafetyFactor, Is.EqualTo(0.974).Within(tolerance3Decimals)); Assert.That(allCalculationResults[8].ProfileName, Is.EqualTo("Segment_1_1D9")); - Assert.That(allCalculationResults[8].SafetyFactor, Is.EqualTo(0.970).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[8].SafetyFactor, Is.EqualTo(0.927).Within(tolerance3Decimals)); Assert.That(allCalculationResults[10].ProfileName, Is.EqualTo("Segment_1_1D11")); - Assert.That(allCalculationResults[10].SafetyFactor, Is.EqualTo(0.984).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[10].SafetyFactor, Is.EqualTo(0.947).Within(tolerance3Decimals)); Assert.That(allCalculationResults[11].ProfileName, Is.EqualTo("Segment_1_1D12")); - Assert.That(allCalculationResults[11].SafetyFactor, Is.EqualTo(1.425).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[11].SafetyFactor, Is.EqualTo(1.370).Within(tolerance3Decimals)); Assert.That(allCalculationResults[12].ProfileName, Is.EqualTo("Segment_1_1D13")); - Assert.That(allCalculationResults[12].SafetyFactor, Is.EqualTo(1.103).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[12].SafetyFactor, Is.EqualTo(0.947).Within(tolerance3Decimals)); }); }