Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs =================================================================== diff -u -re008bbc1767ba7986063a4dc34137d17b41eaa24 -r396f21603d742cdfb0e92817e5fd0b4df1e9f851 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs (.../ClosingStructure.cs) (revision e008bbc1767ba7986063a4dc34137d17b41eaa24) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs (.../ClosingStructure.cs) (revision 396f21603d742cdfb0e92817e5fd0b4df1e9f851) @@ -58,7 +58,7 @@ /// The mean flow width of the closing structure at the bottom protection. /// The standard deviation of the flow width of the closing structure at the bottom protection. /// The probability of the closing structure being open before flooding. - /// The probability of failing to close the closing structure. + /// The probability of failing to close the closing structure. /// The number of identical apertures of the closing structure. /// The probability of failing to repair a failed closure of the closing structure. /// The type of closing structure. @@ -78,7 +78,7 @@ double criticalOvertoppingDischargeMean, double criticalOvertoppingDischargeCoefficientOfVariation, double flowWidthAtBottomProtectionMean, double flowWidthAtBottomProtectionStandardDeviation, double probabilityOpenStructureBeforeFlooding, - double failureProbablityOpenStructure, + double failureProbabilityOpenStructure, int identicalApertures, double failureProbabilityReparation, ClosingStructureType inflowModel @@ -87,51 +87,51 @@ { StorageStructureArea = new VariationCoefficientLogNormalDistribution(2) { - Mean = new RoundedDouble(2, storageStructureAreaMean), - CoefficientOfVariation = new RoundedDouble(2, storageStructureAreaCoefficientOfVariation) + Mean = (RoundedDouble) storageStructureAreaMean, + CoefficientOfVariation = (RoundedDouble) storageStructureAreaCoefficientOfVariation }; AllowedLevelIncreaseStorage = new LogNormalDistribution(2) { - Mean = new RoundedDouble(2, allowedLevelIncreaseStorageMean), - StandardDeviation = new RoundedDouble(2, allowedLevelIncreaseStorageStandardDeviation) + Mean = (RoundedDouble) allowedLevelIncreaseStorageMean, + StandardDeviation = (RoundedDouble) allowedLevelIncreaseStorageStandardDeviation }; WidthFlowApertures = new VariationCoefficientNormalDistribution(2) { - Mean = new RoundedDouble(2, widthFlowAperturesMean), - CoefficientOfVariation = new RoundedDouble(2, widthFlowAperturesCoefficientOfVariation) + Mean = (RoundedDouble) widthFlowAperturesMean, + CoefficientOfVariation = (RoundedDouble) widthFlowAperturesCoefficientOfVariation }; LevelCrestStructureNotClosing = new NormalDistribution(2) { - Mean = new RoundedDouble(2, levelCrestStructureNotClosingMean), - StandardDeviation = new RoundedDouble(2, levelCrestStructureNotClosingStandardDeviation) + Mean = (RoundedDouble) levelCrestStructureNotClosingMean, + StandardDeviation = (RoundedDouble) levelCrestStructureNotClosingStandardDeviation }; InsideWaterLevel = new NormalDistribution(2) { - Mean = new RoundedDouble(2, insideWaterLevelMean), - StandardDeviation = new RoundedDouble(2, insideWaterLevelStandardDeviation) + Mean = (RoundedDouble) insideWaterLevelMean, + StandardDeviation = (RoundedDouble) insideWaterLevelStandardDeviation }; ThresholdHeightOpenWeir = new NormalDistribution(2) { - Mean = new RoundedDouble(2, thresholdHeightOpenWeirMean), - StandardDeviation = new RoundedDouble(2, thresholdHeightOpenWeirStandardDeviation) + Mean = (RoundedDouble) thresholdHeightOpenWeirMean, + StandardDeviation = (RoundedDouble) thresholdHeightOpenWeirStandardDeviation }; AreaFlowApertures = new LogNormalDistribution(2) { - Mean = new RoundedDouble(2, areaFlowAperturesMean), - StandardDeviation = new RoundedDouble(2, areaFlowAperturesStandardDeviation) + Mean = (RoundedDouble) areaFlowAperturesMean, + StandardDeviation = (RoundedDouble) areaFlowAperturesStandardDeviation }; CriticalOvertoppingDischarge = new VariationCoefficientLogNormalDistribution(2) { - Mean = new RoundedDouble(2, criticalOvertoppingDischargeMean), - CoefficientOfVariation = new RoundedDouble(2, criticalOvertoppingDischargeCoefficientOfVariation) + Mean = (RoundedDouble) criticalOvertoppingDischargeMean, + CoefficientOfVariation = (RoundedDouble) criticalOvertoppingDischargeCoefficientOfVariation }; FlowWidthAtBottomProtection = new LogNormalDistribution(2) { - Mean = new RoundedDouble(2, flowWidthAtBottomProtectionMean), - StandardDeviation = new RoundedDouble(2, flowWidthAtBottomProtectionStandardDeviation) + Mean = (RoundedDouble) flowWidthAtBottomProtectionMean, + StandardDeviation = (RoundedDouble) flowWidthAtBottomProtectionStandardDeviation }; ProbabilityOpenStructureBeforeFlooding = new RoundedDouble(2, probabilityOpenStructureBeforeFlooding); - FailureProbablityOpenStructure = new RoundedDouble(2, failureProbablityOpenStructure); + FailureProbabilityOpenStructure = new RoundedDouble(2, failureProbabilityOpenStructure); IdenticalApertures = identicalApertures; FailureProbabilityReparation = new RoundedDouble(2, failureProbabilityReparation); InflowModel = inflowModel; @@ -190,7 +190,7 @@ /// /// Gets the probability of failing to close the closing structure. /// - public RoundedDouble FailureProbablityOpenStructure { get; private set; } + public RoundedDouble FailureProbabilityOpenStructure { get; private set; } /// /// Gets the number of identical apertures of the closing structure.