Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs
===================================================================
diff -u -rd301d40800e81507655f9dbf81a96771069611ff -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs (.../StabilityPointStructuresCalculationConfiguration.cs) (revision d301d40800e81507655f9dbf81a96771069611ff)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs (.../StabilityPointStructuresCalculationConfiguration.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
@@ -80,5 +80,10 @@
/// Gets or sets the inflow model type of the structure.
///
public ConfigurationInflowModelType InflowModelType { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the inside water level of the structure.
+ ///
+ public MeanStandardDeviationStochastConfiguration InsideWaterLevel { get; set; }
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs
===================================================================
diff -u -r0cd1fd16e863360cf896de3a9f3754569d4b5030 -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiers.cs) (revision 0cd1fd16e863360cf896de3a9f3754569d4b5030)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiers.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
@@ -84,5 +84,10 @@
/// flooded culvert structure.
///
public const string InflowModelFloodedCulvertStructure = "verdronkenkoker";
+
+ ///
+ /// The identifier for the inside water level stochast name.
+ ///
+ public const string InsideWaterLevelStochastName = "binnenwaterstand";
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs
===================================================================
diff -u -rd301d40800e81507655f9dbf81a96771069611ff -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs (.../StabilityPointStructuresCalculationConfigurationTest.cs) (revision d301d40800e81507655f9dbf81a96771069611ff)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs (.../StabilityPointStructuresCalculationConfigurationTest.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
@@ -60,7 +60,8 @@
Assert.IsNull(configuration.FailureCollisionEnergy);
Assert.IsNull(configuration.FailureProbabilityRepairClosure);
Assert.IsNull(configuration.FlowVelocityStructureClosable);
- Assert.IsNull(configuration.InflowModelType);
+ Assert.AreEqual((ConfigurationInflowModelType) 0, configuration.InflowModelType);
+ Assert.IsNull(configuration.InsideWaterLevel);
}
[Test]
@@ -78,6 +79,7 @@
double failureProbabilityRepairClosure = random.NextDouble();
var flowVelocityStructureClosable = new MeanVariationCoefficientStochastConfiguration();
var inflowModelType = random.NextEnumValue();
+ var insideWaterLevel = new MeanStandardDeviationStochastConfiguration();
// Call
configuration.AreaFlowApertures = areaFlowApertures;
@@ -89,6 +91,7 @@
configuration.FailureProbabilityRepairClosure = failureProbabilityRepairClosure;
configuration.FlowVelocityStructureClosable = flowVelocityStructureClosable;
configuration.InflowModelType = inflowModelType;
+ configuration.InsideWaterLevel = insideWaterLevel;
// Assert
Assert.AreSame(areaFlowApertures, configuration.AreaFlowApertures);
@@ -100,6 +103,7 @@
Assert.AreEqual(failureProbabilityRepairClosure, configuration.FailureProbabilityRepairClosure);
Assert.AreSame(flowVelocityStructureClosable, configuration.FlowVelocityStructureClosable);
Assert.AreEqual(inflowModelType, configuration.InflowModelType);
+ Assert.AreEqual(insideWaterLevel, configuration.InsideWaterLevel);
}
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs
===================================================================
diff -u -r0cd1fd16e863360cf896de3a9f3754569d4b5030 -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs) (revision 0cd1fd16e863360cf896de3a9f3754569d4b5030)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
@@ -41,6 +41,7 @@
Assert.AreEqual("instroommodel", StabilityPointStructuresConfigurationSchemaIdentifiers.InflowModelTypeElement);
Assert.AreEqual("lagedrempel", StabilityPointStructuresConfigurationSchemaIdentifiers.InflowModelLowSillStructure);
Assert.AreEqual("verdronkenkoker", StabilityPointStructuresConfigurationSchemaIdentifiers.InflowModelFloodedCulvertStructure);
+ Assert.AreEqual("binnenwaterstand", StabilityPointStructuresConfigurationSchemaIdentifiers.InsideWaterLevelStochastName);
}
}
}
\ No newline at end of file