Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/GeneralStabilityPointStructuresInput.cs =================================================================== diff -u -racbfe5601241d7e7e0470194aab84b9425621d54 -r089f0abe5d625aab250b317711d5ba73fa5e03a1 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/GeneralStabilityPointStructuresInput.cs (.../GeneralStabilityPointStructuresInput.cs) (revision acbfe5601241d7e7e0470194aab84b9425621d54) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Data/GeneralStabilityPointStructuresInput.cs (.../GeneralStabilityPointStructuresInput.cs) (revision 089f0abe5d625aab250b317711d5ba73fa5e03a1) @@ -32,8 +32,10 @@ public class GeneralStabilityPointStructuresInput { private const int numberOfDecimalPlacesN = 2; + private static readonly Range validityRangeN = new Range(new RoundedDouble(numberOfDecimalPlacesN, 1), new RoundedDouble(numberOfDecimalPlacesN, 20)); + private RoundedDouble n; /// @@ -63,6 +65,12 @@ StandardDeviation = (RoundedDouble) 0.05 }; + ModelFactorLongThreshold = new NormalDistribution(2) + { + Mean = (RoundedDouble) 0.9, + StandardDeviation = (RoundedDouble) 0.05 + }; + ModelFactorInflowVolume = new RoundedDouble(2, 1); ModificationFactorWavesSlowlyVaryingPressureComponent = new RoundedDouble(0, 1); ModificationFactorDynamicOrImpulsivePressureComponent = new RoundedDouble(0, 1); @@ -123,6 +131,11 @@ public NormalDistribution ModelFactorLoadEffect { get; } /// + /// Gets the model factor for long threshold. + /// + public NormalDistribution ModelFactorLongThreshold { get; } + + /// /// Gets the model factor for incoming flow volume. /// public RoundedDouble ModelFactorInflowVolume { get; } Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/GeneralStabilityPointStructuresInputTest.cs =================================================================== diff -u -racbfe5601241d7e7e0470194aab84b9425621d54 -r089f0abe5d625aab250b317711d5ba73fa5e03a1 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/GeneralStabilityPointStructuresInputTest.cs (.../GeneralStabilityPointStructuresInputTest.cs) (revision acbfe5601241d7e7e0470194aab84b9425621d54) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/GeneralStabilityPointStructuresInputTest.cs (.../GeneralStabilityPointStructuresInputTest.cs) (revision 089f0abe5d625aab250b317711d5ba73fa5e03a1) @@ -53,6 +53,12 @@ StandardDeviation = (RoundedDouble) 0.05 }; + var modelFactorLongThreshold = new NormalDistribution(2) + { + Mean = (RoundedDouble) 0.9, + StandardDeviation = (RoundedDouble) 0.05 + }; + // Call var inputParameters = new GeneralStabilityPointStructuresInput(); @@ -66,6 +72,7 @@ DistributionAssert.AreEqual(modelFactorStorageVolume, inputParameters.ModelFactorStorageVolume); DistributionAssert.AreEqual(modelFactorCollisionLoad, inputParameters.ModelFactorCollisionLoad); DistributionAssert.AreEqual(modelFactorLoadEffect, inputParameters.ModelFactorLoadEffect); + DistributionAssert.AreEqual(modelFactorLongThreshold, inputParameters.ModelFactorLongThreshold); Assert.AreEqual(2, inputParameters.ModelFactorInflowVolume.NumberOfDecimalPlaces); Assert.AreEqual(1, inputParameters.ModelFactorInflowVolume, inputParameters.ModelFactorInflowVolume.GetAccuracy());