Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs
===================================================================
diff -u -r7d6e4c28a40fb056c182d0691dda2b2e88aeebfd -rd641f7a03b05f5d7e48f9adeffabafdcb48e1c14
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs (.../ClosingStructure.cs) (revision 7d6e4c28a40fb056c182d0691dda2b2e88aeebfd)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Data/ClosingStructure.cs (.../ClosingStructure.cs) (revision d641f7a03b05f5d7e48f9adeffabafdcb48e1c14)
@@ -20,6 +20,8 @@
// All rights reserved.
using System;
+using System.Collections.ObjectModel;
+using System.Linq;
using Ringtoets.Common.Data;
using Ringtoets.Common.Data.Probabilistics;
using BaseConstructionProperties = Ringtoets.Common.Data.StructureBase.ConstructionProperties;
@@ -85,7 +87,7 @@
Mean = constructionProperties.FlowWidthAtBottomProtection.Mean,
StandardDeviation = constructionProperties.FlowWidthAtBottomProtection.StandardDeviation
};
- ProbabilityOpenStructureBeforeFlooding = constructionProperties.ProbabilityOpenStructureBeforeFlooding;
+ ProbabilityOrFrequencyOpenStructureBeforeFlooding = constructionProperties.ProbabilityOrFrequencyOpenStructureBeforeFlooding;
FailureProbabilityOpenStructure = constructionProperties.FailureProbabilityOpenStructure;
IdenticalApertures = constructionProperties.IdenticalApertures;
FailureProbabilityReparation = constructionProperties.FailureProbabilityReparation;
@@ -147,10 +149,13 @@
public LogNormalDistribution FlowWidthAtBottomProtection { get; private set; }
///
- /// Gets the probability of the closing structure being open before flooding.
+ /// Gets the probability or frequency of the closing structure being open before flooding.
/// [1/year]
///
- public double ProbabilityOpenStructureBeforeFlooding { get; private set; }
+ /// Because this property can also be used to denote a frequency, there
+ /// is no guarantee that this property returns a value in the range [0.0, 1.0]
+ /// nor that formal rules of probability apply.
+ public double ProbabilityOrFrequencyOpenStructureBeforeFlooding { get; private set; }
///
/// Gets the probability of failing to close the closing structure.
@@ -250,10 +255,13 @@
public LogNormalDistribution FlowWidthAtBottomProtection { get; private set; }
///
- /// Gets or sets the probability of the closing structure being open before flooding.
+ /// Gets the probability or frequency of the closing structure being open before flooding.
/// [1/year]
///
- public double ProbabilityOpenStructureBeforeFlooding { get; set; }
+ /// Because this property can also be used to denote a frequency, there
+ /// is no guarantee that this property returns a value in the range [0.0, 1.0]
+ /// nor that formal rules of probability apply.
+ public double ProbabilityOrFrequencyOpenStructureBeforeFlooding { get; set; }
///
/// Gets or sets the probability of failing to close the closing structure.